-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
overload() and timeout() rely on being able to store and execute descriptors without tying them to specific key states. To achieve idempotence, oneshot() currently neutralizes the upstroke of the activating key if the layer in question is already active. This can yield an activation asymmetry in the rare event that the oneshot descriptor is not associated with a physical key and is activated while the associated layer is already active. To fix this, we activate the layer for each oneshot depression and keep track of the oneshot activation depth.
- Loading branch information
Showing
4 changed files
with
24 additions
and
15 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
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
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
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,13 @@ | ||
control down | ||
7 down | ||
7 up | ||
control up | ||
x down | ||
x up | ||
|
||
control down | ||
meta down | ||
meta up | ||
x down | ||
x up | ||
control up |