mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 01:06:11 +00:00
Clean code
This commit is contained in:
parent
8019e68f74
commit
ee2705f832
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user