An open API service indexing awesome lists of open source software.

https://github.com/zeozeozeo/egui-keybind

Hotkey widget for egui!
https://github.com/zeozeozeo/egui-keybind

egui gamedev gui hotkey immediate-gui immediate-mode keybind keybinding keybinds rustlang ui widget widgets

Last synced: 6 months ago
JSON representation

Hotkey widget for egui!

Awesome Lists containing this project

README

        

# egui-keybind, a hotkey library for [egui](https://github.com/emilk/egui)

![docs.rs](https://img.shields.io/docsrs/egui-keybind) ![Downloads on Crates.io](https://img.shields.io/crates/d/egui-keybind)

#### [crates.io](https://crates.io/crates/egui-keybind) | [docs.rs](https://docs.rs/egui-keybind) | [examples](https://github.com/zeozeozeo/egui-keybind/tree/master/examples) | [changelogs](https://github.com/zeozeozeo/egui-keybind/blob/master/CHANGELOG.md)

This library provides a simple [egui](https://github.com/emilk/egui) widget for keybindings (hotkeys).

# Installation with cargo

```
cargo add egui-keybind
```

### [Simple example](https://github.com/zeozeozeo/egui-keybind/blob/master/examples/simple.rs)

![egui-keybind example](https://github.com/zeozeozeo/egui-keybind/blob/master/media/egui-keybind.gif?raw=true)

# Serde

For serde support, enable the `serde` feature.

# License

Public domain or MIT or Boost Software License