From c06b06ed1b457de40c994e1b0bfe56d167419c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Fri, 10 Nov 2017 00:41:33 +0100 Subject: [PATCH] Make the secondary role work properly when a layer is set and when pressing the non-dual role key for long right after keeping the dual role key pressed. --- 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 db2e382..0f419e0 100644 --- a/right/src/usb_report_updater.c +++ b/right/src/usb_report_updater.c @@ -173,6 +173,7 @@ void UpdateActiveUsbReports(void) secondaryRoleSlotId = slotId; secondaryRoleKeyId = keyId; secondaryRole = action->keystroke.secondaryRole; + keyState->suppressed = true; } } else { // Trigger secondary role.