bugfix(sticky keys): release active sticky keys properly
see https://github.com/zmkfirmware/zmk/issues/445
This commit is contained in:
parent
7babe7f185
commit
3bf770a364
6 changed files with 68 additions and 0 deletions
|
|
@ -2,3 +2,7 @@ pressed: usage_page 0x07 keycode 0x08 mods 0x00
|
|||
pressed: usage_page 0x07 keycode 0x04 mods 0x00
|
||||
released: usage_page 0x07 keycode 0x08 mods 0x00
|
||||
released: usage_page 0x07 keycode 0x04 mods 0x00
|
||||
pressed: usage_page 0x07 keycode 0x08 mods 0x00
|
||||
pressed: usage_page 0x07 keycode 0x04 mods 0x00
|
||||
released: usage_page 0x07 keycode 0x08 mods 0x00
|
||||
released: usage_page 0x07 keycode 0x04 mods 0x00
|
||||
|
|
|
|||
|
|
@ -9,5 +9,11 @@
|
|||
ZMK_MOCK_RELEASE(0,0,10)
|
||||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
|
||||
/* repeat test to check if cleanup is done correctly */
|
||||
ZMK_MOCK_PRESS(0,0,10)
|
||||
ZMK_MOCK_RELEASE(0,0,10)
|
||||
ZMK_MOCK_PRESS(1,0,10)
|
||||
ZMK_MOCK_RELEASE(1,0,10)
|
||||
>;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue