Removed double Key0

This commit is contained in:
Daniel Collin 2015-12-08 18:53:26 +01:00
parent b66fbe709a
commit 60e28c4a74

View file

@ -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,