summaryrefslogtreecommitdiff
path: root/app/include/zmk/matrix.h
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-25 14:39:08 -0400
committerGitHub <noreply@github.com>2020-06-25 14:39:08 -0400
commitc457d9880d31bf638272495be1891adf172bcaee (patch)
tree51d57bfea704c616ef9357bfba9bffcaf113d062 /app/include/zmk/matrix.h
parentb1cab32c66d19d453b89fcec6f4211367e45827a (diff)
parentf2f9d4502122a332aa6f35ac87d9f6b5e3ff7335 (diff)
Merge pull request #32 from petejohanson/core/refactor-keymap-to-behaviors
Refactor keymap to behaviors
Diffstat (limited to 'app/include/zmk/matrix.h')
-rw-r--r--app/include/zmk/matrix.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/include/zmk/matrix.h b/app/include/zmk/matrix.h
index 5397cfb..9fe1a85 100644
--- a/app/include/zmk/matrix.h
+++ b/app/include/zmk/matrix.h
@@ -1,5 +1,7 @@
#pragma once
+#include <devicetree.h>
+
#define ZMK_MATRIX_NODE_ID DT_CHOSEN(zmk_kscan)
#if DT_NODE_HAS_PROP(ZMK_MATRIX_NODE_ID,row_gpios)