diff options
Diffstat (limited to 'users/drashna/drashna.h')
| -rw-r--r-- | users/drashna/drashna.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/users/drashna/drashna.h b/users/drashna/drashna.h index 5ef25333b..87a72f528 100644 --- a/users/drashna/drashna.h +++ b/users/drashna/drashna.h | |||
| @@ -27,12 +27,8 @@ enum userspace_layers { | |||
| 27 | _DVORAK, | 27 | _DVORAK, |
| 28 | _WORKMAN, | 28 | _WORKMAN, |
| 29 | _MODS, | 29 | _MODS, |
| 30 | _NAV, | ||
| 31 | _COVECUBE, | ||
| 32 | _SYMB, | ||
| 33 | _GAMEPAD, | 30 | _GAMEPAD, |
| 34 | _DIABLO, | 31 | _DIABLO, |
| 35 | _MOUS, | ||
| 36 | _MACROS, | 32 | _MACROS, |
| 37 | _MEDIA, | 33 | _MEDIA, |
| 38 | _LOWER, | 34 | _LOWER, |
| @@ -49,7 +45,6 @@ enum userspace_layers { | |||
| 49 | // RGB color codes are no longer located here anymore. Instead, you will want to | 45 | // RGB color codes are no longer located here anymore. Instead, you will want to |
| 50 | // head to https://github.com/qmk/qmk_firmware/blob/master/quantum/rgblight_list.h | 46 | // head to https://github.com/qmk/qmk_firmware/blob/master/quantum/rgblight_list.h |
| 51 | 47 | ||
| 52 | extern bool rgb_layer_change; | ||
| 53 | extern bool clicky_enable; | 48 | extern bool clicky_enable; |
| 54 | 49 | ||
| 55 | #ifdef RGBLIGHT_ENABLE | 50 | #ifdef RGBLIGHT_ENABLE |
| @@ -59,10 +54,11 @@ void rgblight_sethsv_default_helper(uint8_t index); | |||
| 59 | #define EECONFIG_USERSPACE (uint8_t *)20 | 54 | #define EECONFIG_USERSPACE (uint8_t *)20 |
| 60 | 55 | ||
| 61 | typedef union { | 56 | typedef union { |
| 62 | uint32_t raw; | 57 | uint8_t raw; |
| 63 | struct { | 58 | struct { |
| 64 | bool clicky_enable :1; | 59 | bool clicky_enable :1; |
| 65 | bool is_overwatch :1; | 60 | bool rgb_layer_change :1; |
| 61 | bool is_overwatch :1; | ||
| 66 | }; | 62 | }; |
| 67 | } userspace_config_t; | 63 | } userspace_config_t; |
| 68 | 64 | ||
| @@ -166,10 +162,10 @@ enum { | |||
| 166 | #define LAYOUT KEYMAP | 162 | #define LAYOUT KEYMAP |
| 167 | #endif | 163 | #endif |
| 168 | 164 | ||
| 169 | #define LAYOUT_ergodox_wrapper(...) LAYOUT_ergodox(__VA_ARGS__) | 165 | #define LAYOUT_ergodox_wrapper(...) LAYOUT_ergodox(__VA_ARGS__) |
| 170 | #define LAYOUT_ergodox_pretty_wrapper(...) LAYOUT_ergodox_pretty(__VA_ARGS__) | 166 | #define LAYOUT_ergodox_pretty_wrapper(...) LAYOUT_ergodox_pretty(__VA_ARGS__) |
| 171 | #define KEYMAP_wrapper(...) LAYOUT(__VA_ARGS__) | 167 | #define KEYMAP_wrapper(...) LAYOUT(__VA_ARGS__) |
| 172 | #define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__) | 168 | #define LAYOUT_wrapper(...) LAYOUT(__VA_ARGS__) |
| 173 | 169 | ||
| 174 | 170 | ||
| 175 | // Blocks for each of the four major keyboard layouts | 171 | // Blocks for each of the four major keyboard layouts |
| @@ -236,6 +232,8 @@ enum { | |||
| 236 | 232 | ||
| 237 | #define ________________NUMBER_LEFT________________ KC_1, KC_2, KC_3, KC_4, KC_5 | 233 | #define ________________NUMBER_LEFT________________ KC_1, KC_2, KC_3, KC_4, KC_5 |
| 238 | #define ________________NUMBER_RIGHT_______________ KC_6, KC_7, KC_8, KC_9, KC_0 | 234 | #define ________________NUMBER_RIGHT_______________ KC_6, KC_7, KC_8, KC_9, KC_0 |
| 235 | #define _________________FUNC_LEFT_________________ KC_F1, KC_F2, KC_F3, KC_F4, KC_F5 | ||
| 236 | #define _________________FUNC_RIGHT________________ KC_F6, KC_F7, KC_F8, KC_F9, KC_F10 | ||
| 239 | 237 | ||
| 240 | // Since we have 4 default layouts (QWERTY, DVORAK, COLEMAK and WORKMAN), | 238 | // Since we have 4 default layouts (QWERTY, DVORAK, COLEMAK and WORKMAN), |
| 241 | // this allows us to quickly modify the bottom row for all of the layouts | 239 | // this allows us to quickly modify the bottom row for all of the layouts |
| @@ -245,9 +243,9 @@ enum { | |||
| 245 | #define ___________ERGODOX_BOTTOM_RIGHT____________ KC_LEFT, KC_DOWN, KC_UP, KC_RGHT | 243 | #define ___________ERGODOX_BOTTOM_RIGHT____________ KC_LEFT, KC_DOWN, KC_UP, KC_RGHT |
| 246 | 244 | ||
| 247 | 245 | ||
| 248 | #define __________________ERGODOX_THUMB_CLUSTER_____________________ ALT_T(KC_APP), KC_LGUI, KC_RGUI, CTL_T(KC_ESCAPE), \ | 246 | #define __________________ERGODOX_THUMB_CLUSTER_____________________ ALT_T(KC_APP), KC_LGUI, KC_RGUI, CTL_T(KC_ESCAPE), \ |
| 249 | KC_HOME, KC_PGUP, \ | 247 | KC_HOME, KC_PGUP, \ |
| 250 | KC_SPACE,KC_BSPC, KC_END, KC_PGDN, KC_DEL, KC_ENTER | 248 | LT(_LOWER, KC_SPACE),KC_BSPC, KC_END, KC_PGDN, KC_DEL, LT(_RAISE, KC_ENTER) |
| 251 | 249 | ||
| 252 | 250 | ||
| 253 | #endif // !USERSPACE | 251 | #endif // !USERSPACE |
