mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 11:21:30 +11:00
inputcallback: add a callback for key events (#271)
Add a callback for key events. This includes all events such as Shift, not just text events. An empty default handler is provided for backwards compatibility. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
8b9445eea4
commit
ccb2ab474e