summaryrefslogtreecommitdiff
path: root/app/boards/shields/romac/romac.keymap
diff options
context:
space:
mode:
authorNick <nick.win999@gmail.com>2020-09-15 14:41:59 -0500
committerNick <nick.win999@gmail.com>2020-09-15 14:41:59 -0500
commit18d21b0362c5c09902836ed4791bd13e1efd9a9a (patch)
tree3f78a0ef43fc23e93195e1205a31f77154af7e76 /app/boards/shields/romac/romac.keymap
parent81bc157f539235ad032fde78b6f6cec7a16d2c39 (diff)
parentc0806d27f1d048db335ecc854eab61b59e23ea7a (diff)
Merge remote-tracking branch 'upstream/main' into underglow/state-persistence
Diffstat (limited to 'app/boards/shields/romac/romac.keymap')
-rw-r--r--app/boards/shields/romac/romac.keymap47
1 files changed, 47 insertions, 0 deletions
diff --git a/app/boards/shields/romac/romac.keymap b/app/boards/shields/romac/romac.keymap
new file mode 100644
index 0000000..97ea9c5
--- /dev/null
+++ b/app/boards/shields/romac/romac.keymap
@@ -0,0 +1,47 @@
+/*
+ * Copyright (c) 2020 Pete Johanson, Richard Jones
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
+#include <behaviors.dtsi>
+#include <dt-bindings/zmk/keys.h>
+#include <dt-bindings/zmk/bt.h>
+
+/ {
+ keymap {
+ compatible = "zmk,keymap";
+
+ default_layer {
+// -------------------
+// | 7 | 8 | 9 |
+// | 4 | 5 | 6 |
+// | 1 | 2 | 3 |
+// | MO(1) | 0 | . |
+// ----------------------
+ bindings = <
+ &kp NUM_7 &kp NUM_8 &kp NUM_9
+ &kp NUM_4 &kp NUM_5 &kp NUM_6
+ &kp NUM_1 &kp NUM_2 &kp NUM_3
+ &mo 1 &kp NUM_0 &kp DOT
+ >;
+ };
+
+ nav_layer {
+// -----------------------
+// | BTNXT | HOME | PGUP |
+// | BTPRV | END | PGDN |
+// | BTCLR | _ | _ |
+// | _ | _ | RET |
+// -----------------------
+ bindings = <
+ &bt BT_NXT &kp HOME &kp PGUP
+ &bt BT_PRV &kp END &kp PGDN
+ &bt BT_CLR &trans &trans
+ &trans &trans &kp RET
+ >;
+ };
+ };
+};
+
+