mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 09:16:11 +00:00
Handle not handled switch(key) values
This commit is contained in:
parent
87a799e174
commit
ea1fe0dfc3
@ -215,6 +215,7 @@ bool Keyboard::getKeyAddress(Key key, KeyAddress &keyAddress) {
|
|||||||
case Key::shift_right: keyAddress.id = 0xe5; break;
|
case Key::shift_right: keyAddress.id = 0xe5; break;
|
||||||
case Key::alt_right: keyAddress.id = 0xe6; break;
|
case Key::alt_right: keyAddress.id = 0xe6; break;
|
||||||
case Key::win_right: keyAddress.id = 0xe7; break;
|
case Key::win_right: keyAddress.id = 0xe7; break;
|
||||||
|
default: break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user