Skip to content

Latest commit

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Keybind

Wrapper around device_query providing a nicer API, allowing you to trigger your logic on specific keybind.

Full Documentation can be read here.

use keybind::{Keybind,Keycode};fnmain(){letmut keybind = Keybind::new(&[Keycode::LControl,Keycode::G]);
keybind.on_trigger(|| {println!("This will be printed when you press CTRL+G");});
keybind.wait();}

About

Trigger logic on specific keybind.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages