mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 19:31:30 +11:00
Removed double Key0
This commit is contained in:
parent
b66fbe709a
commit
60e28c4a74
|
@ -32,7 +32,6 @@ struct BitmapInfo {
|
||||||
|
|
||||||
fn update_key_state(window: &mut Window, wparam: u32, bool state) {
|
fn update_key_state(window: &mut Window, wparam: u32, bool state) {
|
||||||
match wparam & 0x1ff {
|
match wparam & 0x1ff {
|
||||||
0x00B => window.keys[Key::Key0] = state,
|
|
||||||
0x00B => window.keys[Key::Key0] = state,
|
0x00B => window.keys[Key::Key0] = state,
|
||||||
0x002 => window.keys[Key::Key1] = state,
|
0x002 => window.keys[Key::Key1] = state,
|
||||||
0x003 => window.keys[Key::Key2] = state,
|
0x003 => window.keys[Key::Key2] = state,
|
||||||
|
|
Loading…
Reference in a new issue