diff --git a/src/kaleidoscope/hid.cpp b/src/kaleidoscope/hid.cpp index 3edc6ab..981bf0d 100644 --- a/src/kaleidoscope/hid.cpp +++ b/src/kaleidoscope/hid.cpp @@ -140,6 +140,14 @@ boolean wasModifierKeyActive(Key mappedKey) { return Keyboard.wasModifierActive(mappedKey.keyCode); } +uint8_t getKeyswitchStateAtPosition(byte row, byte col) { + return KeyboardHardware.getKeyswitchStateAtPosition(row, col); +} + +uint8_t getKeyswitchStateAtPosition(uint8_t keyIndex) { + return KeyboardHardware.getKeyswitchStateAtPosition(keyIndex); +} + uint8_t getKeyboardLEDs() { WITH_BOOTKEYBOARD_PROTOCOL { return BootKeyboard.getLeds();