summaryrefslogtreecommitdiff
path: root/keyboards/ergodone/ergodone.h
diff options
context:
space:
mode:
authorDrashna Jaelre2018-04-21 14:00:43 -0700
committerJack Humbert2018-04-21 17:00:43 -0400
commit7cb3c0e4668c7bb8858fab08f3b7df93baf5bd95 (patch)
tree5449e5ac125b590938264b48cf596962c1038845 /keyboards/ergodone/ergodone.h
parent3c224bffc87b90b4c676a229c8beb902c7107ea8 (diff)
Add pretty layout to all ergodox clones (#2686)
* Add pretty layout to all ergodox clones * Info.json cleanup for EZ * Add info.json for ergodone * info.json cleanup
Diffstat (limited to 'keyboards/ergodone/ergodone.h')
-rw-r--r--keyboards/ergodone/ergodone.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/ergodone/ergodone.h b/keyboards/ergodone/ergodone.h
index 0826e9521..c63afe838 100644
--- a/keyboards/ergodone/ergodone.h
+++ b/keyboards/ergodone/ergodone.h
@@ -99,6 +99,28 @@ inline void ergodox_led_all_set(uint8_t n) {}
{ KC_NO, k51, k52, k53, k54, k55, k56, k57, k58, k59, k5A, k5B, k5C, KC_NO } \
}
+#define KEYMAP_PRETTY( \
+ /* left hand, spatial positions */ /* right hand, spatial positions */ \
+ L00,L01,L02,L03,L04,L05,L06, R00,R01,R02,R03,R04,R05,R06, \
+ L10,L11,L12,L13,L14,L15,L16, R10,R11,R12,R13,R14,R15,R16, \
+ L20,L21,L22,L23,L24,L25, R21,R22,R23,R24,R25,R26, \
+ L30,L31,L32,L33,L34,L35,L36, R30,R31,R32,R33,R34,R35,R36, \
+ L40,L41,L42,L43,L44, R42,R43,R44,R45,R46, \
+ L55,L56, R50,R51, \
+ L54, R52, \
+ L53,L52,L51, R55,R54,R53 ) \
+ \
+ /* matrix positions */ \
+ { \
+ { L00,L01,L02,L03,L04,L05,L06, R00,R01,R02,R03,R04,R05,R06 }, \
+ { L10,L11,L12,L13,L14,L15,L16, R10,R11,R12,R13,R14,R15,R16 }, \
+ { L20,L21,L22,L23,L24,L25,KC_NO, KC_NO,R21,R22,R23,R24,R25,R26 }, \
+ { L30,L31,L32,L33,L34,L35,L36, R30,R31,R32,R33,R34,R35,R36 }, \
+ { L40,L41,L42,L43,L44,KC_NO,KC_NO, KC_NO,KC_NO,R42,R43,R44,R45,R46 }, \
+ { KC_NO,L51,L52,L53,L54,L55,L56, R50,R51,R52,R53,R54,R55,KC_NO } \
+ }
+
#define LAYOUT_ergodox KEYMAP
+#define LAYOUT_ergodox_pretty KEYMAP_PRETTY
#endif