summaryrefslogtreecommitdiff
path: root/keyboards/handwired/numpad20/numpad20.h
diff options
context:
space:
mode:
authorOle Anders <git@swoy.org>2017-03-28 15:55:33 +0200
committerOle Anders <git@swoy.org>2017-03-28 15:55:33 +0200
commit62faa20ef6ddab7dacc74123b2253cf25b5c20f7 (patch)
tree281ae30283f7491b2529465da4897dc2ddd7088c /keyboards/handwired/numpad20/numpad20.h
parentd5ee0194abf5cc9df4086a89ad78cf188352028a (diff)
parent5e4daf1c6db980fad269fe7b013205008bfe701e (diff)
downloadqmk_firmware-62faa20ef6ddab7dacc74123b2253cf25b5c20f7.tar.gz
qmk_firmware-62faa20ef6ddab7dacc74123b2253cf25b5c20f7.zip
Merge remote-tracking branch 'refs/remotes/qmk/master'
Diffstat (limited to 'keyboards/handwired/numpad20/numpad20.h')
-rw-r--r--keyboards/handwired/numpad20/numpad20.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/handwired/numpad20/numpad20.h b/keyboards/handwired/numpad20/numpad20.h
new file mode 100644
index 0000000000..191979be0d
--- /dev/null
+++ b/keyboards/handwired/numpad20/numpad20.h
@@ -0,0 +1,20 @@
+#ifndef NUMPAD20_H
+#define NUMPAD20_H
+
+#include "quantum.h"
+
+#define COMPACT_KEYMAP( \
+ K00, K01, K02, K03, \
+ K10, K11, K12, K13, \
+ K20, K21, K22, K23, \
+ K30, K31, K32, K33, \
+ K40, K41, K42, K43 \
+ ) { \
+ { KC_##K00, KC_##K01, KC_##K02, KC_##K03 }, \
+ { KC_##K10, KC_##K11, KC_##K12, KC_##K13 }, \
+ { KC_##K20, KC_##K21, KC_##K22, KC_##K23 }, \
+ { KC_##K30, KC_##K31, KC_##K32, KC_##K33 }, \
+ { KC_##K40, KC_##K41, KC_##K42, KC_##K43 } \
+}
+
+#endif \ No newline at end of file