48 lines
1.0 KiB
C
48 lines
1.0 KiB
C
#pragma once
|
|
#include QMK_KEYBOARD_H
|
|
|
|
#include "version.h"
|
|
#include "eeprom.h"
|
|
|
|
#include "rgb_stuff.h"
|
|
|
|
enum userspace_layers {
|
|
_QWERTY = 0,
|
|
_LOWER,
|
|
_RAISE,
|
|
_NAV,
|
|
_ADJUST,
|
|
_WoW
|
|
};
|
|
|
|
enum custom_keycodes {
|
|
KC_CCCV = SAFE_RANGE,
|
|
OE,
|
|
AA,
|
|
AE,
|
|
oe,
|
|
aa,
|
|
ae
|
|
};
|
|
|
|
bool process_record_user_rgb_light(uint16_t keycode, keyrecord_t *record);
|
|
void keyboard_post_init_rgb_light(void);
|
|
void matrix_scan_rgb_light(void);
|
|
layer_state_t layer_state_set_rgb_light(layer_state_t state);
|
|
layer_state_t default_layer_state_set_rgb_light(layer_state_t state);
|
|
void rgblight_sethsv_default_helper(uint8_t index);
|
|
|
|
// clang-format off
|
|
typedef union {
|
|
uint32_t raw;
|
|
struct {
|
|
bool rgb_layer_change :1;
|
|
bool is_overwatch :1;
|
|
bool nuke_switch :1;
|
|
bool swapped_numbers :1;
|
|
bool rgb_matrix_idle_anim :1;
|
|
};
|
|
} userspace_config_t;
|
|
// clang-format on
|
|
|
|
extern userspace_config_t userspace_config; |