Modules
Structs
Enums
Works only on windows.
Whether to propagate the event for applications down the callstack.
Whether given button is now Pressed or Released.
Send in some version of the callbacks.
Functions
Returns whether given key sequence is currently pressed down, this may be a single key.
Same as
bind_any_key
but for mouse buttons.Install any key handler that will be invoked on any key presses.
Same as
bind_key
but for mouse buttons.Install any key handler that will be invoked on specified key presses.
Returns the state, it has to be set beforehand with the set otherwise will be returned empty.
Allows for registering an action that will be triggered when sequence of buttons is pressed.
callback will be invoked whenever last key of the sequence is pressed.
Same as
remove_any_key_bind
but for mouse buttons.Removes global key handler.
Same as
remove_key_bind
but for mouse buttons.Removes specific key bind.
Allows storing some kind of state within the library,
Generally not that useful but allows for some more complicated logic using yaml load.
Unregisters hotkey, a original sequence has to be passed as parameter..