Signed-off-by: Gergely Nagy <algernon@keyboard.io>
wip/rcm-stm32
Gergely Nagy 3 years ago
parent fe91906163
commit 1fafd8b5bb
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -57,23 +57,22 @@ class BootKeyboardWrapper {
} }
bool isKeyPressed(uint8_t code) { bool isKeyPressed(uint8_t code) {
//return BootKeyboard.isKeyPressed(code); return RCMKeyboard.isKeyPressed(code);
return 0; }
bool wasKeyPressed(uint8_t code) {
return RCMKeyboard.wasKeyPressed(code);
} }
bool isModifierActive(uint8_t code) { bool isModifierActive(uint8_t code) {
//return BootKeyboard.isModifierActive(code); return RCMKeyboard.isModifierActive(code);
return 0;
} }
bool wasModifierActive(uint8_t code) { bool wasModifierActive(uint8_t code) {
//return BootKeyboard.wasModifierActive(code); return RCMKeyboard.wasModifierActive(code);
return 0;
} }
bool isAnyModifierActive() { bool isAnyModifierActive() {
//return BootKeyboard.isAnyModifierActive(); return RCMKeyboard.isAnyModifierActive();
return 0;
} }
bool wasAnyModifierActive() { bool wasAnyModifierActive() {
//return BootKeyboard.wasAnyModifierActive(); return RCMKeyboard.wasAnyModifierActive();
return 0; return 0;
} }

Loading…
Cancel
Save