|
|
@ -141,8 +141,7 @@ EventHandlerResult SpaceCadet::onKeyswitchEvent(Key &mapped_key, KeyAddr key_add
|
|
|
|
//Only activate this as part of the mapping if there isn't already a
|
|
|
|
//Only activate this as part of the mapping if there isn't already a
|
|
|
|
//key waiting for timeout. This allows us to return OK later and for
|
|
|
|
//key waiting for timeout. This allows us to return OK later and for
|
|
|
|
//this loop to inject all the other flagged keys
|
|
|
|
//this loop to inject all the other flagged keys
|
|
|
|
if (!other_mapped_key_flagged)
|
|
|
|
if (!other_mapped_key_flagged) {
|
|
|
|
{
|
|
|
|
|
|
|
|
//The keypress was valid and a match. Mark it as flagged and reset the counter
|
|
|
|
//The keypress was valid and a match. Mark it as flagged and reset the counter
|
|
|
|
map[i].flagged = true;
|
|
|
|
map[i].flagged = true;
|
|
|
|
map[i].start_time = Runtime.millisAtCycleStart();
|
|
|
|
map[i].start_time = Runtime.millisAtCycleStart();
|
|
|
|