aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/amj40/amj40.h
diff options
context:
space:
mode:
authorGravatar Fabian Topfstedt <topfstedt@schneevonmorgen.com>2017-07-26 12:46:04 +0200
committerGravatar Fabian Topfstedt <topfstedt@schneevonmorgen.com>2017-07-26 12:46:04 +0200
commit4a1f701d9f3569061d0613599fced54be32b5a54 (patch)
tree720e2225694e4417568aab539b9c3191b2a3603f /keyboards/amj40/amj40.h
parentde9331c50cb8ec769f7f4fb2eb7a73a435fc4db2 (diff)
downloadqmk_firmware-4a1f701d9f3569061d0613599fced54be32b5a54.tar.gz
included amj40 implementation of nhou7 from https://github.com/nhou7/qmk_firmware_amj40
Diffstat (limited to 'keyboards/amj40/amj40.h')
-rwxr-xr-xkeyboards/amj40/amj40.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/keyboards/amj40/amj40.h b/keyboards/amj40/amj40.h
new file mode 100755
index 000000000..ab629cba7
--- /dev/null
+++ b/keyboards/amj40/amj40.h
@@ -0,0 +1,38 @@
+#ifndef AMJ40_H
+#define AMJ40_H
+
+#include "quantum.h"
+
+// readability
+#define XXX KC_NO
+
+/* AMJ40 ver2.0 layout1 ι…εˆ—δΈ€
+ * ,-----------------------------------------------------------.
+ * | 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 0A | 0B |
+ * |-----------------------------------------------------------|
+ * | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 1B |
+ * |-----------------------------------------------------------|
+ * | 20 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 2A | 2B |
+ * |-----------------------------------------------------------|
+ * | 30 | 31 | 32 | 34 | 35 | 39 | 3A | 3B |
+ * `-----------------------------------------------------------'
+ */
+#define KEYMAP( \
+ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, \
+ k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1b, \
+ k20, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, \
+ k30, k31, k32, k34, k35, k39, k3a, k3b \
+) { \
+ {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b}, \
+ {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, XXX, k1b}, \
+ {k20, XXX, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b}, \
+ {k30, k31, k32, XXX, k34, k35, XXX, XXX, XXX, k39, k3a, k3b} \
+}
+
+
+
+
+void matrix_init_user(void);
+void matrix_scan_user(void);
+
+#endif