d207c3c30f
feat(behaviors): Add `&to` behavior to switch to a layer.
18 lines
685 B
Text
18 lines
685 B
Text
kp_pressed: usage_page 0x07 keycode 0x16 mods 0x00
|
|
kp_released: usage_page 0x07 keycode 0x16 mods 0x00
|
|
to_pressed: position 1 layer 1
|
|
layer_changed: layer 1 state 1
|
|
to_released: position 1 layer 1
|
|
kp_pressed: usage_page 0x07 keycode 0x0e mods 0x00
|
|
kp_released: usage_page 0x07 keycode 0x0e mods 0x00
|
|
to_pressed: position 0 layer 0
|
|
layer_changed: layer 1 state 0
|
|
layer_changed: layer 0 state 1
|
|
to_released: position 0 layer 0
|
|
kp_pressed: usage_page 0x07 keycode 0x16 mods 0x00
|
|
kp_released: usage_page 0x07 keycode 0x16 mods 0x00
|
|
to_pressed: position 0 layer 0
|
|
to_released: position 0 layer 0
|
|
to_pressed: position 1 layer 1
|
|
layer_changed: layer 1 state 1
|
|
to_released: position 1 layer 1
|