From 9d0f41bf5e9e2e9a3570e7ec47d068a794a28cd4 Mon Sep 17 00:00:00 2001 From: Eric Tang Date: Sun, 2 Sep 2018 00:02:40 -0500 Subject: [PATCH] Send primary role modifiers consistently --- right/src/usb_report_updater.c | 1 + 1 file changed, 1 insertion(+) diff --git a/right/src/usb_report_updater.c b/right/src/usb_report_updater.c index 4452199..c16baad 100644 --- a/right/src/usb_report_updater.c +++ b/right/src/usb_report_updater.c @@ -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;