mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-04-26 17:50:45 +02:00
feat(behavior): Add key toggle
This commit is contained in:
committed by
Pete Johanson
parent
c5922fae56
commit
0d5bb100ba
@@ -0,0 +1 @@
|
||||
s/.*hid_listener_keycode_//p
|
||||
@@ -0,0 +1,2 @@
|
||||
pressed: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00
|
||||
released: usage_page 0x07 keycode 0x05 implicit_mods 0x00 explicit_mods 0x00
|
||||
@@ -0,0 +1,10 @@
|
||||
#include "../behavior_keymap.dtsi"
|
||||
|
||||
&kscan {
|
||||
events = <
|
||||
ZMK_MOCK_PRESS(0,0,10)
|
||||
ZMK_MOCK_RELEASE(0,0,10)
|
||||
ZMK_MOCK_PRESS(0,0,10)
|
||||
ZMK_MOCK_RELEASE(0,0,10)
|
||||
>;
|
||||
};
|
||||
Reference in New Issue
Block a user