summaryrefslogtreecommitdiffstats
path: root/keyboards/do60/do60.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-06-22 11:48:52 -0700
committerDrashna Jaelre <drashna@live.com>2018-06-22 11:48:52 -0700
commitde0727b835e2ea274591d8223940b254887b7c72 (patch)
treeeb3e8a37c648f3ddb1263862adc47dadaca8bbe5 /keyboards/do60/do60.h
parent91b4acc003c9c65134a42f71def84ea39fe4828b (diff)
Add LAYOUT_60_ansi to DO60 (#3220)
* add LAYOUT_60_ansi layout * - Add LAYOUT_60_ansi layout - Use QMK_KEYBOARD_H
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 d6847edc33..355278a140 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_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, \
+ 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, \
+ K40, K41, K42, K46, K4A, K4B, K4C, K4E \
+) { \
+ { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, KC_NO, 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, KC_NO }, \
+ { K40, K41, K42, KC_NO, KC_NO, KC_NO, K46, KC_NO, KC_NO, KC_NO, K4A, K4B, K4C, KC_NO, K4E } \
+}
+
#define LAYOUT_chiwi60_default( \
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, \