-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make setting or releasing a lock break an active latch
For example, if `Caps_Lock` is on the second level of some key, and `Shift` is latched, pressing the key will lock `Caps` while also breaking the `Shift` latch, ensuring that the next character is properly uppercase. (Prior to this commit, both `Shift` and `Caps` would be active, so the next character would be lowercase.) Signed-off-by: Jules Bertholet <[email protected]>
- Loading branch information
1 parent
09ae46d
commit 1600066
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Changed modifier and group latches so that setting or releasing a lock now breaks them. | ||
This enables implementing a key that, for example, latches `Shift` | ||
when pressed once, but locks `Caps` when pressed twice in succession. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters