From ee2705f8326c3f6f66897581d7ae4b9a78fc1721 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Thu, 8 Dec 2016 22:53:51 +0100 Subject: [PATCH] Clean code --- src/classes/Keyboard.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/classes/Keyboard.cpp b/src/classes/Keyboard.cpp index eed297e..5544788 100644 --- a/src/classes/Keyboard.cpp +++ b/src/classes/Keyboard.cpp @@ -237,15 +237,15 @@ bool Keyboard::getKeyAddress(Key key, KeyAddress &keyAddress) { case Key::backspace: keyAddress.id = 0x2a; break; case Key::tab: keyAddress.id = 0x2b; break; case Key::space: keyAddress.id = 0x2c; break; - case Key::minus: keyAddress.id = 0x2d; break; // * + case Key::minus: keyAddress.id = 0x2d; break; case Key::equal: keyAddress.id = 0x2e; break; case Key::open_bracket: keyAddress.id = 0x2f; break; case Key::close_bracket: keyAddress.id = 0x30; break; - case Key::backslash: keyAddress.id = 0x31; break; // * - case Key::dollar: keyAddress.id = 0x32; break; // * - case Key::semicolon: keyAddress.id = 0x33; break; // * - case Key::quote: keyAddress.id = 0x34; break; // * - case Key::tilde: keyAddress.id = 0x35; break; // * + case Key::backslash: keyAddress.id = 0x31; break; + case Key::dollar: keyAddress.id = 0x32; break; + case Key::semicolon: keyAddress.id = 0x33; break; + case Key::quote: keyAddress.id = 0x34; break; + case Key::tilde: keyAddress.id = 0x35; break; case Key::comma: keyAddress.id = 0x36; break; case Key::period: keyAddress.id = 0x37; break; case Key::slash: keyAddress.id = 0x38; break;