summaryrefslogtreecommitdiffstats
path: root/keyboards/do60/do60.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-12-02 02:19:33 +0100
committerDrashna Jaelre <drashna@live.com>2018-12-02 02:19:33 +0100
commit1fd4546fff5457f1ce3be871ae264b7349f0036e (patch)
tree489692a942a11c23e7b1f789b1da91cbee9f0b90 /keyboards/do60/do60.h
parent064d9e21750e8c717aca5f79263ad93b6606e125 (diff)
downloadqmk_firmware-1fd4546fff5457f1ce3be871ae264b7349f0036e.tar.gz
qmk_firmware-1fd4546fff5457f1ce3be871ae264b7349f0036e.tar.xz
Keyboard: Add HHKB layout support to the DO60 (#4526)
* add 60_hhkb support * add qmk configurator support for the new 60_hhkb layout * allow community layout support for the 60_hhkb * fixup readme to adhere to new QMK standards
Diffstat (limited to 'keyboards/do60/do60.h')
-rw-r--r--keyboards/do60/do60.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/keyboards/do60/do60.h b/keyboards/do60/do60.h
index 30615d1d3..8ee902204 100644
--- a/keyboards/do60/do60.h
+++ b/keyboards/do60/do60.h
@@ -39,6 +39,20 @@ inline void setdefaultrgb(void){ rgblight_sethsv(100,100,100); }
{ K40, K41, K42, KC_NO,KC_NO,K45, K46, K47, KC_NO,KC_NO,K4A, K4B, K4C, K4D, K4E } \
}
+#define LAYOUT_60_hhkb( \
+ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E, \
+ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1E, \
+ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2E, \
+ K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, \
+ K41, K42, K46, K4A, K4B \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \
+ { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, KC_NO, K1E }, \
+ { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, KC_NO, K2E }, \
+ { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO, K3D, K3E }, \
+ { KC_NO, K41, K42, KC_NO, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, K4A, K4B, KC_NO, KC_NO, KC_NO } \
+}
+
#define LAYOUT_60_ansi( \
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, \
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1E, \