summaryrefslogtreecommitdiff
path: root/app/include/dt-bindings/zmk
diff options
context:
space:
mode:
authorMega Mind <68985133+megamind4089@users.noreply.github.com>2020-10-12 00:30:51 +0800
committerMega Mind <68985133+megamind4089@users.noreply.github.com>2020-10-12 23:42:01 +0800
commit5d1c083959967b6f55ce7cff3c83442bc71d23cb (patch)
treec3c52122c73fcc52a63c0a03c79f5a9981788b87 /app/include/dt-bindings/zmk
parentb5e1c8a7addc186d0bd542082482157ffb2d1f5a (diff)
Added toggle and removed a param
Diffstat (limited to 'app/include/dt-bindings/zmk')
-rw-r--r--app/include/dt-bindings/zmk/ext_power.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/app/include/dt-bindings/zmk/ext_power.h b/app/include/dt-bindings/zmk/ext_power.h
index a72b657..2a3e846 100644
--- a/app/include/dt-bindings/zmk/ext_power.h
+++ b/app/include/dt-bindings/zmk/ext_power.h
@@ -6,11 +6,8 @@
#define EXT_POWER_OFF_CMD 0
#define EXT_POWER_ON_CMD 1
+#define EXT_POWER_TOGGLE_CMD 2
-/*
- * Note: Some future commands might include additional parameters, so we
- * defines these aliases up front.
- */
-
-#define EP_ON EXT_POWER_ON_CMD 0
-#define EP_OFF EXT_POWER_OFF_CMD 0
+#define EP_ON EXT_POWER_ON_CMD
+#define EP_OFF EXT_POWER_OFF_CMD
+#define EP_TOG EXT_POWER_TOGGLE_CMD