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:
@@ -173,6 +173,7 @@ void UpdateActiveUsbReports(void)
|
|||||||
secondaryRoleSlotId = slotId;
|
secondaryRoleSlotId = slotId;
|
||||||
secondaryRoleKeyId = keyId;
|
secondaryRoleKeyId = keyId;
|
||||||
secondaryRole = action->keystroke.secondaryRole;
|
secondaryRole = action->keystroke.secondaryRole;
|
||||||
|
keyState->suppressed = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// Trigger secondary role.
|
// Trigger secondary role.
|
||||||
|
|||||||
Reference in New Issue
Block a user