Merge pull request #156 from keyboardio/h/masking/handle-release

masking: Let the release event of a masked key through
pull/159/head
Jesse Vincent 7 years ago committed by GitHub
commit 283b96ae2e

@ -58,9 +58,10 @@ void handleKeyswitchEvent(Key mappedKey, byte row, byte col, uint8_t keyState) {
if (KeyboardHardware.isKeyMasked(row, col)) {
if (keyToggledOff(keyState)) {
KeyboardHardware.unMaskKey(row, col);
}
} else {
return;
}
}
for (byte i = 0; Kaleidoscope.eventHandlers[i] != NULL && i < HOOK_MAX; i++) {
Kaleidoscope_::eventHandlerHook handler = Kaleidoscope.eventHandlers[i];

Loading…
Cancel
Save