diff options
Diffstat (limited to 'layouts/community/split_3x6_3/drashna/keymap.c')
| -rw-r--r-- | layouts/community/split_3x6_3/drashna/keymap.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/layouts/community/split_3x6_3/drashna/keymap.c b/layouts/community/split_3x6_3/drashna/keymap.c index 6e71527a4..29e41e242 100644 --- a/layouts/community/split_3x6_3/drashna/keymap.c +++ b/layouts/community/split_3x6_3/drashna/keymap.c | |||
| @@ -26,6 +26,12 @@ enum crkbd_keycodes { RGBRST = NEW_SAFE_RANGE }; | |||
| 26 | * of use. K## is a placeholder to pass through the individual keycodes | 26 | * of use. K## is a placeholder to pass through the individual keycodes |
| 27 | */ | 27 | */ |
| 28 | 28 | ||
| 29 | #ifdef CONVERT_TO_PROTON_C | ||
| 30 | # define MID_TMB ET_RAIS | ||
| 31 | #else | ||
| 32 | # define MID_TMB KC_ENT | ||
| 33 | #endif | ||
| 34 | |||
| 29 | // clang-format off | 35 | // clang-format off |
| 30 | #define LAYOUT_split_3x6_3_wrapper(...) LAYOUT_split_3x6_3(__VA_ARGS__) | 36 | #define LAYOUT_split_3x6_3_wrapper(...) LAYOUT_split_3x6_3(__VA_ARGS__) |
| 31 | #define LAYOUT_split_3x6_3_base( \ | 37 | #define LAYOUT_split_3x6_3_base( \ |
| @@ -37,7 +43,7 @@ enum crkbd_keycodes { RGBRST = NEW_SAFE_RANGE }; | |||
| 37 | KC_ESC, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, KC_MINS, \ | 43 | KC_ESC, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, KC_MINS, \ |
| 38 | ALT_T(KC_TAB), K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, RALT_T(K1B), \ | 44 | ALT_T(KC_TAB), K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, RALT_T(K1B), \ |
| 39 | OS_LSFT, CTL_T(K21), K22, K23, K24, K25, K26, K27, K28, K29, RCTL_T(K2A), OS_RSFT, \ | 45 | OS_LSFT, CTL_T(K21), K22, K23, K24, K25, K26, K27, K28, K29, RCTL_T(K2A), OS_RSFT, \ |
| 40 | OS_LGUI, KC_SPC, BK_LWER, DL_RAIS, KC_ENT, OS_RGUI \ | 46 | OS_LGUI, KC_SPC, BK_LWER, DL_RAIS, MID_TMB, OS_RGUI \ |
| 41 | ) | 47 | ) |
| 42 | #define LAYOUT_base_wrapper(...) LAYOUT_split_3x6_3_base(__VA_ARGS__) | 48 | #define LAYOUT_base_wrapper(...) LAYOUT_split_3x6_3_base(__VA_ARGS__) |
| 43 | 49 | ||
| @@ -104,12 +110,6 @@ uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) { | |||
| 104 | } | 110 | } |
| 105 | #endif | 111 | #endif |
| 106 | 112 | ||
| 107 | void matrix_slave_scan_user(void) { | ||
| 108 | #ifdef RGB_MATRIX_ENABLE | ||
| 109 | rgb_matrix_task(); | ||
| 110 | #endif | ||
| 111 | } | ||
| 112 | |||
| 113 | #ifdef RGB_MATRIX_ENABLE | 113 | #ifdef RGB_MATRIX_ENABLE |
| 114 | void suspend_power_down_keymap(void) { rgb_matrix_set_suspend_state(true); } | 114 | void suspend_power_down_keymap(void) { rgb_matrix_set_suspend_state(true); } |
| 115 | 115 | ||
