aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/numpad20/numpad20.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-03-15 11:12:52 -0400
committerGitHub <noreply@github.com>2017-03-15 11:12:52 -0400
commit71d6d7b22c9a72e281b9efd7a9476f6fb2964099 (patch)
tree634933daef9e3539e3301bf788de902faafd64fc /keyboards/handwired/numpad20/numpad20.h
parent8c184847f74641ac1eef6a29700c4ee4cab42f6c (diff)
parenta8f872e728cde990f7b272306480eedc96a7f3f7 (diff)
downloadfirmware-71d6d7b22c9a72e281b9efd7a9476f6fb2964099.tar.gz
firmware-71d6d7b22c9a72e281b9efd7a9476f6fb2964099.tar.bz2
firmware-71d6d7b22c9a72e281b9efd7a9476f6fb2964099.zip
Merge pull request #1147 from nooges/numpad20
Add handwired 20-key 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