|
|
|
@ -93,7 +93,7 @@ Key Leader::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_sta
|
|
|
|
|
if (key_state & INJECTED)
|
|
|
|
|
return mapped_key;
|
|
|
|
|
|
|
|
|
|
if (!key_is_pressed(key_state) && !key_was_pressed(key_state)) {
|
|
|
|
|
if (!keyIsPressed(key_state) && !keyWasPressed(key_state)) {
|
|
|
|
|
if (isLeader(mapped_key))
|
|
|
|
|
return Key_NoKey;
|
|
|
|
|
return mapped_key;
|
|
|
|
@ -132,7 +132,7 @@ Key Leader::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_sta
|
|
|
|
|
|
|
|
|
|
if (action_index >= 0)
|
|
|
|
|
return Key_NoKey;
|
|
|
|
|
} else if (key_is_pressed(key_state)) {
|
|
|
|
|
} else if (keyIsPressed(key_state)) {
|
|
|
|
|
// held, no need for anything here.
|
|
|
|
|
return Key_NoKey;
|
|
|
|
|
}
|
|
|
|
|