summaryrefslogtreecommitdiff
path: root/boards
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-05-05 16:09:05 -0400
committerPete Johanson <peter@peterjohanson.com>2020-05-05 16:09:05 -0400
commita63a773983e8e575778ba2e3b326b3f2e63ce26e (patch)
treea61249a25554e95062334b72e3f5e6706dcaa1e9 /boards
parentfe961d54a351a793c9037f78a42ae07eddec7d69 (diff)
Get *basic* USB report sending working.
Diffstat (limited to 'boards')
-rw-r--r--boards/shields/petejohanson_handwire/petejohanson_handwire.overlay12
1 files changed, 7 insertions, 5 deletions
diff --git a/boards/shields/petejohanson_handwire/petejohanson_handwire.overlay b/boards/shields/petejohanson_handwire/petejohanson_handwire.overlay
index 222762e..3a777a6 100644
--- a/boards/shields/petejohanson_handwire/petejohanson_handwire.overlay
+++ b/boards/shields/petejohanson_handwire/petejohanson_handwire.overlay
@@ -1,3 +1,4 @@
+#include <dt-bindings/zmk/keys.h>
/ {
chosen {
@@ -9,17 +10,17 @@
default: layer_0 {
label = "Default";
- keys = <10 2 3 8>;
+ keys = <KC_A KC_B KC_C KC_D>;
};
lower: layer_1 {
- label = "Default";
- keys = <9 2 3 5>;
+ label = "Lower";
+ keys = <KC_D KC_C KC_B KC_A>;
};
raise: layer_2 {
- label = "Default";
- keys = <8 1 2 3>;
+ label = "Raise";
+ keys = <KC_C KC_D KC_A KC_B>;
};
};
@@ -34,6 +35,7 @@
compatible = "gpio-kscan";
label = "Handwired GPIO KSCAN matrix";
+ diode-direction = "row2col";
row-gpios = <&arduino_header 8 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,
<&arduino_header 10 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
col-gpios = <&arduino_header 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>,