summaryrefslogtreecommitdiff
path: root/keyboard/hhkb_qmk/hhkb_qmk.h
diff options
context:
space:
mode:
authorStephan Bösebeck <sb@caluga.de>2016-01-13 22:55:48 +0100
committerStephan Bösebeck <sb@caluga.de>2016-01-13 22:55:48 +0100
commit28964bb04b3d2b6ccd5091218fec63a97fd588c9 (patch)
treeba5a75016cf56ed88c9d77d63eb075386df49923 /keyboard/hhkb_qmk/hhkb_qmk.h
parent5b14d9d84b165be26ac4d9b7dd4f7d9ed7061f1d (diff)
parent46f4494e55a08e3a076bb4a7629f2a7b6a6f7bcb (diff)
downloadqmk_firmware-28964bb04b3d2b6ccd5091218fec63a97fd588c9.tar.gz
qmk_firmware-28964bb04b3d2b6ccd5091218fec63a97fd588c9.zip
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboard/hhkb_qmk/hhkb_qmk.h')
-rw-r--r--keyboard/hhkb_qmk/hhkb_qmk.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/keyboard/hhkb_qmk/hhkb_qmk.h b/keyboard/hhkb_qmk/hhkb_qmk.h
new file mode 100644
index 0000000000..f6bf20f43b
--- /dev/null
+++ b/keyboard/hhkb_qmk/hhkb_qmk.h
@@ -0,0 +1,30 @@
+#ifndef HHKB_QMK_H
+#define HHKB_QMK_H
+
+#include "matrix.h"
+#include "keymap_common.h"
+//#include "backlight.h"
+#include <stddef.h>
+
+#define KEYMAP( \
+ K31, K30, K00, K10, K11, K20, K21, K40, K41, K60, K61, K70, K71, K50, K51, \
+ K32, K01, K02, K13, K12, K23, K22, K42, K43, K62, K63, K73, K72, K52, \
+ K33, K04, K03, K14, K15, K24, K25, K45, K44, K65, K64, K74, K53, \
+ K34, K05, K06, K07, K16, K17, K26, K46, K66, K76, K75, K55, K54, \
+ K35, K36, K37, K57, K56) \
+ \
+{ \
+ { K00, K01, K02, K03, K04, K05, K06, K07 }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17 }, \
+ { K20, K21, K22, K23, K24, K25, K26, KC_NO }, \
+ { K30, K31, K32, K33, K34, K35, K36, K37 }, \
+ { K40, K41, K42, K43, K44, K45, K46, KC_NO }, \
+ { K50, K51, K52, K53, K54, K55, K56, K57 }, \
+ { K60, K61, K62, K63, K64, K65, K66, KC_NO }, \
+ { K70, K71, K72, K73, K74, K75, K76, KC_NO } \
+}
+
+void * matrix_init_user(void);
+void * matrix_scan_user(void);
+
+#endif