updated userspace
This commit is contained in:
parent
8cb2fbedb2
commit
c34399921c
@ -197,7 +197,7 @@ __attribute__((weak)) layer_state_t default_layer_state_set_keymap(layer_state_t
|
||||
layer_state_t default_layer_state_set_user(layer_state_t state) {
|
||||
state = default_layer_state_set_keymap(state);
|
||||
//#if 0
|
||||
# if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE)
|
||||
# if (defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE))
|
||||
state = layer_state_set_rgb_light(state);
|
||||
# endif // RGBLIGHT_ENABLE
|
||||
//#endif
|
||||
|
@ -21,6 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include "version.h"
|
||||
#include "eeprom.h"
|
||||
#include "wrappers.h"
|
||||
#include "process_records.h"
|
||||
|
||||
enum userspace_layers {
|
||||
_QWERTY = 0,
|
||||
@ -38,23 +39,6 @@ enum userspace_layers {
|
||||
_ADJUST,
|
||||
};
|
||||
|
||||
#if !defined(DROP_ALT)
|
||||
|
||||
#include "process_records.h"
|
||||
#ifdef TAP_DANCE_ENABLE
|
||||
# include "tap_dances.h"
|
||||
#endif // TAP_DANCE_ENABLE
|
||||
#if defined(RGBLIGHT_ENABLE)
|
||||
# include "rgb_stuff.h"
|
||||
#endif
|
||||
#if defined(RGB_MATRIX_ENABLE)
|
||||
# include "rgb_matrix_stuff.h"
|
||||
#endif
|
||||
#if defined(OLED_DRIVER_ENABLE)
|
||||
# include "oled_stuff.h"
|
||||
#endif
|
||||
/* Define layer names */
|
||||
|
||||
bool mod_key_press_timer(uint16_t code, uint16_t mod_code, bool pressed);
|
||||
bool mod_key_press(uint16_t code, uint16_t mod_code, bool pressed, uint16_t this_timer);
|
||||
void matrix_init_keymap(void);
|
||||
@ -81,6 +65,24 @@ enum userspace_layers {
|
||||
|
||||
extern userspace_config_t userspace_config;
|
||||
|
||||
#if !defined(DROP_ALT)
|
||||
|
||||
#ifdef TAP_DANCE_ENABLE
|
||||
# include "tap_dances.h"
|
||||
#endif // TAP_DANCE_ENABLE
|
||||
#if defined(RGBLIGHT_ENABLE)
|
||||
# include "rgb_stuff.h"
|
||||
#endif
|
||||
#if defined(RGB_MATRIX_ENABLE)
|
||||
# include "rgb_matrix_stuff.h"
|
||||
#endif
|
||||
#if defined(OLED_DRIVER_ENABLE)
|
||||
# include "oled_stuff.h"
|
||||
#endif
|
||||
/* Define layer names */
|
||||
|
||||
|
||||
|
||||
/*
|
||||
Custom Keycodes for Diablo 3 layer
|
||||
But since TD() doesn't work when tap dance is disabled
|
||||
|
@ -1,6 +1,8 @@
|
||||
SRC += drashna.c
|
||||
SRC += process_records.c
|
||||
|
||||
ifneq ($(strip $(DROP_ALT)), yes)
|
||||
SRC += drashna.c \
|
||||
process_records.c
|
||||
|
||||
|
||||
ifneq ($(PLATFORM),CHIBIOS)
|
||||
LTO_ENABLE = yes
|
||||
|
Loading…
Reference in New Issue
Block a user