diff options
Diffstat (limited to 'users/curry/curry.h')
| -rw-r--r-- | users/curry/curry.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/users/curry/curry.h b/users/curry/curry.h new file mode 100644 index 000000000..985453c49 --- /dev/null +++ b/users/curry/curry.h | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include QMK_KEYBOARD_H | ||
| 4 | |||
| 5 | #include "version.h" | ||
| 6 | #include "eeprom.h" | ||
| 7 | #include "wrappers.h" | ||
| 8 | #include "process_records.h" | ||
| 9 | |||
| 10 | #ifdef TAP_DANCE_ENABLE | ||
| 11 | # include "tap_dances.h" | ||
| 12 | #endif // TAP_DANCE_ENABLE | ||
| 13 | #if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE) | ||
| 14 | # include "rgb_stuff.h" | ||
| 15 | #endif | ||
| 16 | #if defined(KEYBOARD_lily58_rev1) & defined(PROTOCOL_LUFA) | ||
| 17 | # include "lufa.h" | ||
| 18 | # include "split_util.h" | ||
| 19 | #endif | ||
| 20 | |||
| 21 | /* Define layer names */ | ||
| 22 | enum userspace_layers { | ||
| 23 | _QWERTY = 0, | ||
| 24 | _NUMLOCK = 0, | ||
| 25 | _COLEMAK, | ||
| 26 | _DVORAK, | ||
| 27 | _MODS, | ||
| 28 | _LOWER, | ||
| 29 | _RAISE, | ||
| 30 | _ADJUST, | ||
| 31 | }; | ||
| 32 | |||
| 33 | void matrix_init_keymap(void); | ||
| 34 | void shutdown_keymap(void); | ||
| 35 | void suspend_power_down_keymap(void); | ||
| 36 | void suspend_wakeup_init_keymap(void); | ||
| 37 | void matrix_scan_keymap(void); | ||
| 38 | layer_state_t layer_state_set_keymap(layer_state_t state); | ||
| 39 | layer_state_t default_layer_state_set_keymap(layer_state_t state); | ||
| 40 | void led_set_keymap(uint8_t usb_led); | ||
| 41 | void eeconfig_init_keymap(void); | ||
| 42 | |||
| 43 | // clang-format off | ||
| 44 | typedef union { | ||
| 45 | uint32_t raw; | ||
| 46 | struct { | ||
| 47 | bool rgb_layer_change :1; | ||
| 48 | bool is_overwatch :1; | ||
| 49 | bool nuke_switch :1; | ||
| 50 | uint8_t unicode_mod :4; | ||
| 51 | bool swapped_numbers :1; | ||
| 52 | bool rgb_matrix_idle_anim :1; | ||
| 53 | }; | ||
| 54 | } userspace_config_t; | ||
| 55 | // clang-format on | ||
| 56 | |||
| 57 | extern userspace_config_t userspace_config; | ||
