Merge pull request #224 from algernon/f/getKeyboardLEDs

Add kaleidoscope::hid::getKeyboardLEDs()
pull/241/head
Jesse Vincent 7 years ago committed by GitHub
commit 3f1c80366a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -92,6 +92,10 @@ boolean wasModifierKeyActive(Key mappedKey) {
return Keyboard.wasModifierActive(mappedKey.keyCode);
}
uint8_t getKeyboardLEDs() {
return Keyboard.getLEDs();
}
void sendKeyboardReport() {
Keyboard.sendReport();

@ -20,6 +20,8 @@ void sendKeyboardReport();
boolean isModifierKeyActive(Key mappedKey);
boolean wasModifierKeyActive(Key mappedKey);
uint8_t getKeyboardLEDs();
void initializeConsumerControl();
void pressConsumerControl(Key mappedKey);

Loading…
Cancel
Save