rust_minifb/src
Sean Cross 8b9445eea4
key_handler: add a callback for key events (#243)
* key_handler: add a callback for key events

Add a callback for key events. This includes complete events such as
Shift, not just text events.

A default handler is provided for backwards compatibility.

Signed-off-by: Sean Cross <sean@xobs.io>

* fix: EventQueue::dispatch blocks until some events are available (#265)

use non blocking alternative as documented in EventQueue

Co-authored-by: vemoo <berublan@gmail.com>
2022-01-26 08:23:38 +01:00
..
native macOS: Fix segmentation fault when resizing window (#269) 2021-12-12 23:06:17 +01:00
os Revert bump of xkbcommon-sys (#268) 2021-12-07 07:24:30 +01:00
buffer_helper.rs Moved codebase to edition 2018 (#127) 2019-12-30 19:34:27 +01:00
error.rs Minor update to error.rs (#258) 2021-09-13 10:04:28 +02:00
key.rs rustfmt pass 2019-11-27 08:03:33 +01:00
key_handler.rs key_handler: add a callback for key events (#243) 2022-01-26 08:23:38 +01:00
lib.rs key_handler: add a callback for key events (#243) 2022-01-26 08:23:38 +01:00
mouse_handler.rs Moved codebase to edition 2018 (#127) 2019-12-30 19:34:27 +01:00
rate.rs Remove usage of the time crate (#183) 2020-05-21 09:42:43 +02:00
window_flags.rs Moved codebase to edition 2018 (#127) 2019-12-30 19:34:27 +01:00