aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Rubin <joshuarubin@users.noreply.github.com>2020-04-02 21:32:36 -0600
committerGitHub <noreply@github.com>2020-04-02 20:32:36 -0700
commitebbaba9001c09f904e29b16f9b0458afdefdae2f (patch)
tree50ac98fb4be8b4cfb926d48852f780aba1265dd1
parent5f35b07102ac7c8296331562f1e8a39d351c9d4a (diff)
downloadqmk_firmware-ebbaba9001c09f904e29b16f9b0458afdefdae2f.tar.gz
qmk_firmware-ebbaba9001c09f904e29b16f9b0458afdefdae2f.zip
add 60_tsangan_hhkb layout to GH60 rev. C (#8617)
* add 60_tsangan_hhkb layout to gh60
-rw-r--r--keyboards/gh60/revc/revc.h14
-rw-r--r--keyboards/gh60/revc/rules.mk2
2 files changed, 15 insertions, 1 deletions
diff --git a/keyboards/gh60/revc/revc.h b/keyboards/gh60/revc/revc.h
index e183f776e..450c59020 100644
--- a/keyboards/gh60/revc/revc.h
+++ b/keyboards/gh60/revc/revc.h
@@ -142,3 +142,17 @@ inline void gh60_wasd_leds_off(void) { setPinInput(F7); }
142 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \ 142 { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \
143 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D } \ 143 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, K4D } \
144} 144}
145
146#define LAYOUT_60_tsangan_hhkb( \
147 K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K49,\
148 K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, \
149 K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2D, \
150 K30, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3C, \
151 K40, K41, K42, K45, K4B, K4C, K4D \
152) { \
153 { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D }, \
154 { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D }, \
155 { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, KC_NO, K2D }, \
156 { K30, KC_NO, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D }, \
157 { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, KC_NO, K4B, K4C, K4D } \
158}
diff --git a/keyboards/gh60/revc/rules.mk b/keyboards/gh60/revc/rules.mk
index fb9ca646f..831de85d0 100644
--- a/keyboards/gh60/revc/rules.mk
+++ b/keyboards/gh60/revc/rules.mk
@@ -28,4 +28,4 @@ NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https:
28# UNICODE_ENABLE = YES # Unicode 28# UNICODE_ENABLE = YES # Unicode
29# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID 29# BLUETOOTH_ENABLE = yes # Enable Bluetooth with the Adafruit EZ-Key HID
30 30
31LAYOUTS = 60_ansi 60_iso 60_ansi_split_bs_rshift 31LAYOUTS = 60_ansi 60_iso 60_ansi_split_bs_rshift 60_tsangan_hhkb