egui_hotkey

Crates.ioegui_hotkey
lib.rsegui_hotkey
version0.2.0
sourcesrc
created_at2022-05-23 12:36:45.676753
updated_at2022-08-21 01:53:43.878775
descriptionSimple hotkey library for egui
homepage
repositoryhttps://github.com/sy1ntexx/egui_hotkey
max_upload_size
id591774
size63,412
sy1ntexx (sy1ntexx)

documentation

README

egui_hotkey

Simple hotkey library for egui

Installation

[dependencies]
egui_hotkey = "0.2.0"

Example

use egui::Key;

let mut key = Key::N;
if Hotkey::new(&mut key).ui(ui).changed() {
    println!("Rebinded!");
}

Features

serde - Implementes serde::Serialize, serde::Deserialize for BindVariant & Binding.

Commit count: 0

cargo fmt