/* Copyright 2017 @TurboMech /u/TurboMech <discord> @A9entOran9e#6134
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//#include "action_layer.h"
//#include "rgblight.h"
void
void
bool
uint32_t
void
//#define default_layer _QWERTY (0)
//extern keymap_config_t keymap_config;
extern rgblight_config_t rgblight_config;
//#ifdef RGBLIGHT_ENABLE
/*change the rgblight_setrgb(#, #, #) to what you want CAPS lock - currenlty red*/
//#define rgblight_set_caps rgblight_setrgb(255, 0, 0)
//#define rgblight_base rgblight_mode(RGB_current_mode)
//#endif
//
//bool rgb_layer_change = true;
//bool RGB_INIT = false;
//bool TOG_STATUS = false;
bool rgb_layer_change = true;
int RGB_current_mode;
/*void matrix_init_user(void) {
#ifdef RGBLIGHT_ENABLE
rgblight_enable();
if (true) {
eeconfig_read_rgblight();
rgblight_get_mode();
eeconfig_update_rgblight_default();
// eeconfig_debug_rgblight();
//rgblight_init();
}
#endif
}
*/
/*void matrix_init_user(void) {
#ifdef RGBLIGHT_ENABLE
eeconfig_read_rgblight();
eeconfig_update_rgblight_default();
//rgblight_init();
//rgblight_mode(RGB_current_mode);
//rgblight_mode(RGB_current_mode);
//RGB_current_mode = rgblight_config.mode;
#endif
}*/
void
//Setting ADJUST layer RGB back to default
/*void update_tri_layer_RGB(uint8_t layer1, uint8_t layer2, uint8_t layer3) {
if (IS_LAYER_ON(layer1) && IS_LAYER_ON(layer2)) {
rgblight_mode(RGB_current_mode);
layer_on(layer1);
} else {
layer_off(layer2);
}
}*/
void
static bool is_capslocked = false;
void
//rgblight_set();
//static uint8_t is_capslocked = false;
bool
uint32_t
!!** possible for later
void ;
void