aboutsummaryrefslogtreecommitdiff
path: root/layouts/community/split_3x6_3/drashna/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/split_3x6_3/drashna/keymap.c')
-rw-r--r--layouts/community/split_3x6_3/drashna/keymap.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/layouts/community/split_3x6_3/drashna/keymap.c b/layouts/community/split_3x6_3/drashna/keymap.c
index 513cc7f7d..65e05f64b 100644
--- a/layouts/community/split_3x6_3/drashna/keymap.c
+++ b/layouts/community/split_3x6_3/drashna/keymap.c
@@ -27,14 +27,15 @@ enum crkbd_keycodes { RGBRST = NEW_SAFE_RANGE };
27 */ 27 */
28 28
29// clang-format off 29// clang-format off
30#define LAYOUT_split_3x6_3_wrapper(...) LAYOUT_split_3x6_3(__VA_ARGS__)
30#define LAYOUT_split_3x6_3_base( \ 31#define LAYOUT_split_3x6_3_base( \
31 K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \ 32 K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \
32 K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \ 33 K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
33 K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \ 34 K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \
34 ) \ 35 ) \
35 LAYOUT_split_3x6_3_wrapper( \ 36 LAYOUT_split_3x6_3_wrapper( \
36 KC_ESC, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, KC_MINS, \ 37 KC_ESC, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, KC_MINS, \
37 ALT_T(KC_TAB), K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, RALT_T(KC_QUOT), \ 38 ALT_T(KC_TAB), K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, RALT_T(K1B), \
38 OS_LSFT, CTL_T(K21), K22, K23, K24, K25, K26, K27, K28, K29, RCTL_T(K2A), OS_RSFT, \ 39 OS_LSFT, CTL_T(K21), K22, K23, K24, K25, K26, K27, K28, K29, RCTL_T(K2A), OS_RSFT, \
39 RGB_MOD, KC_SPC, BK_LWER, DL_RAIS, KC_ENT, OS_RGUI \ 40 RGB_MOD, KC_SPC, BK_LWER, DL_RAIS, KC_ENT, OS_RGUI \
40 ) 41 )
@@ -121,11 +122,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
121 122
122#ifdef OLED_DRIVER_ENABLE 123#ifdef OLED_DRIVER_ENABLE
123oled_rotation_t oled_init_user(oled_rotation_t rotation) { 124oled_rotation_t oled_init_user(oled_rotation_t rotation) {
124 if (is_keyboard_master()) { 125 return OLED_ROTATION_270;
125 return OLED_ROTATION_270;
126 } else {
127 return rotation;
128 }
129} 126}
130#endif 127#endif
131 128