|
|
@ -56,11 +56,9 @@ void handle_key_event(byte row, byte col) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (mappedKey.flags & SYNTHETIC_KEY) {
|
|
|
|
if (mappedKey.flags & SYNTHETIC_KEY) {
|
|
|
|
handle_synthetic_key_event(switchState, mappedKey);
|
|
|
|
handle_synthetic_key_event(switchState, mappedKey);
|
|
|
|
} else {
|
|
|
|
} else if (key_is_pressed(switchState)) {
|
|
|
|
if (key_is_pressed(switchState)) {
|
|
|
|
|
|
|
|
press_key(mappedKey);
|
|
|
|
press_key(mappedKey);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void press_key(Key mappedKey) {
|
|
|
|
void press_key(Key mappedKey) {
|
|
|
|