Fix oneshot tap bug (#478)
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.master
parent
41bcceef3c
commit
c9e4da2c6f
4 changed files with 24 additions and 15 deletions
@ -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 |
||||
Loading…
Reference in new issue