Send primary role modifiers consistently

This commit is contained in:
Eric Tang
2018-09-02 00:02:40 -05:00
parent 47a3a8ad80
commit 9d0f41bf5e

View File

@@ -411,6 +411,7 @@ static void updateActiveUsbReports(void)
if (keyState->previous && secondaryRoleSlotId == slotId && secondaryRoleKeyId == keyId) {
// Trigger primary role.
if (secondaryRoleState == SecondaryRoleState_Pressed) {
keyState->previous = false;
applyKeyAction(keyState, action);
}
secondaryRoleState = SecondaryRoleState_Released;