1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00

Clean code

This commit is contained in:
MatMoul 2016-12-08 22:53:51 +01:00
parent 8019e68f74
commit ee2705f832

View File

@ -237,15 +237,15 @@ bool Keyboard::getKeyAddress(Key key, KeyAddress &keyAddress) {
case Key::backspace: keyAddress.id = 0x2a; break; case Key::backspace: keyAddress.id = 0x2a; break;
case Key::tab: keyAddress.id = 0x2b; break; case Key::tab: keyAddress.id = 0x2b; break;
case Key::space: keyAddress.id = 0x2c; 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::equal: keyAddress.id = 0x2e; break;
case Key::open_bracket: keyAddress.id = 0x2f; break; case Key::open_bracket: keyAddress.id = 0x2f; break;
case Key::close_bracket: keyAddress.id = 0x30; break; case Key::close_bracket: keyAddress.id = 0x30; break;
case Key::backslash: keyAddress.id = 0x31; break; // * case Key::backslash: keyAddress.id = 0x31; break;
case Key::dollar: keyAddress.id = 0x32; break; // * case Key::dollar: keyAddress.id = 0x32; break;
case Key::semicolon: keyAddress.id = 0x33; break; // * case Key::semicolon: keyAddress.id = 0x33; break;
case Key::quote: keyAddress.id = 0x34; break; // * case Key::quote: keyAddress.id = 0x34; break;
case Key::tilde: keyAddress.id = 0x35; break; // * case Key::tilde: keyAddress.id = 0x35; break;
case Key::comma: keyAddress.id = 0x36; break; case Key::comma: keyAddress.id = 0x36; break;
case Key::period: keyAddress.id = 0x37; break; case Key::period: keyAddress.id = 0x37; break;
case Key::slash: keyAddress.id = 0x38; break; case Key::slash: keyAddress.id = 0x38; break;