summaryrefslogtreecommitdiff
path: root/keyboards/handwired/numpad20/numpad20.h
diff options
context:
space:
mode:
authorDanny Nguyen2017-03-09 09:21:25 -0500
committerDanny Nguyen2017-03-09 10:11:39 -0500
commita8f872e728cde990f7b272306480eedc96a7f3f7 (patch)
treef4dc07e0ac5bc01788ad4891e9a4189886f30d07 /keyboards/handwired/numpad20/numpad20.h
parent7c7a77d4bf8f35cd7f59119be0e95b5d28063988 (diff)
Initial commit for handwired numpad
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 000000000..191979be0
--- /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