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.

This commit is contained in:
László Monda
2017-11-10 00:41:33 +01:00
parent 402697c0a3
commit c06b06ed1b

View File

@@ -173,6 +173,7 @@ void UpdateActiveUsbReports(void)
secondaryRoleSlotId = slotId;
secondaryRoleKeyId = keyId;
secondaryRole = action->keystroke.secondaryRole;
keyState->suppressed = true;
}
} else {
// Trigger secondary role.