aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNick Coutsos <[email protected]>2021-12-20 17:59:45 -0500
committerNick Coutsos <[email protected]>2021-12-20 17:59:45 -0500
commitf6a19b0994411410fb22fd981859789cef8a6c74 (patch)
tree6a121a75a82d2002c8b7940defa8f83ef0098f69
parentc9008316b5e0f73581a35348ea421ea485a4f0cf (diff)
downloadkeymap-editor-f6a19b0994411410fb22fd981859789cef8a6c74.tar.gz
keymap-editor-f6a19b0994411410fb22fd981859789cef8a6c74.zip
Fill out more behaviour definitions
-rw-r--r--api/services/zmk/data/zmk-behaviors.json13
1 files changed, 12 insertions, 1 deletions
diff --git a/api/services/zmk/data/zmk-behaviors.json b/api/services/zmk/data/zmk-behaviors.json
index ad7c309..6630498 100644
--- a/api/services/zmk/data/zmk-behaviors.json
+++ b/api/services/zmk/data/zmk-behaviors.json
@@ -26,7 +26,8 @@
{
"code": "&kp",
"name": "Key Press",
- "params": ["code"]
+ "params": ["code"],
+ "includes": ["#include <dt-bindings/zmk/keys.h>"]
},
{
"code": "&lt",
@@ -60,6 +61,16 @@
}]
},
{
+ "code": "&sk",
+ "name": "Sticky Key",
+ "params": ["code"]
+ },
+ {
+ "code": "&sl",
+ "name": "Sticky Layer",
+ "params": ["layer"]
+ },
+ {
"code": "&tog",
"name": "Toggle Layer",
"params": ["layer"]