diff options
author | Okke Formsma <okke@formsma.nl> | 2021-01-22 17:00:19 +0100 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2021-01-24 23:30:41 -0500 |
commit | 7b7701ae90469b920cd78e2ab7aca0c470140b7a (patch) | |
tree | b4fade597239b5f0df24197faea3413e305a636f /app/tests/modifiers/explicit/kp-lctl-dn-lctl-up | |
parent | 0c30b49063c79be2416453f4544795922efad74f (diff) |
feature(modifiers): add explicit modifiers
this makes LS(LEFT_CONTROL) work as if shift and control were both
pressed explicitly. Previously, the left shift would have been released
as soon as another key was pressed. The implicit behavior is useful in
case of LS(NUMBER_1) when rolling over to other keys.
Also see #361.
Diffstat (limited to 'app/tests/modifiers/explicit/kp-lctl-dn-lctl-up')
-rw-r--r-- | app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/keycode_events.snapshot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/keycode_events.snapshot b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/keycode_events.snapshot index 4232428..545af6e 100644 --- a/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/keycode_events.snapshot +++ b/app/tests/modifiers/explicit/kp-lctl-dn-lctl-up/keycode_events.snapshot @@ -1,8 +1,8 @@ -pressed: usage_page 0x07 keycode 0xe0 mods 0x00 +pressed: usage_page 0x07 keycode 0xe0 implicit_mods 0x00 explicit_mods 0x00 reg: Modifier 0 count 1 reg: Modifiers set to 0x01 mods: Modifiers set to 0x01 -released: usage_page 0x07 keycode 0xe0 mods 0x00 +released: usage_page 0x07 keycode 0xe0 implicit_mods 0x00 explicit_mods 0x00 unreg: Modifier 0 count: 0 unreg: Modifier 0 released unreg: Modifiers set to 0x00 |