forked from kofal.net/zmk
initial implementation for modifiers
https://github.com/zmkfirmware/zmk/issues/86
This commit is contained in:
committed by
Pete Johanson
parent
a9e729b427
commit
4f258efbf1
@@ -68,7 +68,7 @@ In this case, the `A` is actually a define for the raw HID keycode, to make keym
|
||||
For example of a binding that uses two parameters, you can see how "mod-tap" (`mt`) is bound:
|
||||
|
||||
```
|
||||
&mt MOD_LSFT D
|
||||
&mt LSFT D
|
||||
```
|
||||
|
||||
Here, the first parameter is the set of modifiers that should be used for the "hold" behavior, and the second
|
||||
@@ -92,7 +92,7 @@ The top two lines of most keymaps should include:
|
||||
|
||||
The first defines the nodes for all the available behaviors in ZMK, which will be referenced in the behavior bindings. This is how bindings like `&kp` can reference the key press behavior defined with an anchor name of `kp`.
|
||||
|
||||
The second include brings in the defines for all the keycodes (e.g. `A`, `NUM_1`, `M_PLAY`) and the modifiers (e.g. `MOD_LSFT`) used for various behavior bindings.
|
||||
The second include brings in the defines for all the keycodes (e.g. `A`, `NUM_1`, `M_PLAY`) and the modifiers (e.g. `LSFT`) used for various behavior bindings.
|
||||
|
||||
### Root devicetree Node
|
||||
|
||||
|
||||
Reference in New Issue
Block a user