From 60e28c4a741c26a25e3490509b70aaee73dc0045 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Tue, 8 Dec 2015 18:53:26 +0100 Subject: [PATCH] Removed double Key0 --- src/windows.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/windows.rs b/src/windows.rs index 8ecce9d..2b555fd 100644 --- a/src/windows.rs +++ b/src/windows.rs @@ -32,7 +32,6 @@ struct BitmapInfo { fn update_key_state(window: &mut Window, wparam: u32, bool state) { match wparam & 0x1ff { - 0x00B => window.keys[Key::Key0] = state, 0x00B => window.keys[Key::Key0] = state, 0x002 => window.keys[Key::Key1] = state, 0x003 => window.keys[Key::Key2] = state,