diff --git a/config.h b/config.h index 0f8f8e5..3bb9c3c 100644 --- a/config.h +++ b/config.h @@ -24,7 +24,7 @@ along with this program. If not, see . // #define MASTER_RIGHT // #define EE_HANDS -//#define TAPPING_FORCE_HOLD +// #define TAPPING_FORCE_HOLD #define TAPPING_TERM 200 #define TAPPING_TOGGLE 2 diff --git a/keymap.c b/keymap.c index 26da021..03a38d6 100644 --- a/keymap.c +++ b/keymap.c @@ -38,7 +38,7 @@ enum { TD_BSLS }; -bool isWindows = true; +bool isWindows = false; // Change to make default config Windows void dance_ctn_finished (qk_tap_dance_state_t *state, void *user_data) { if (state->count == 1) { @@ -283,46 +283,33 @@ void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) { for (uint8_t i = led_min; i <= led_max; i++) { switch(get_highest_layer(layer_state|default_layer_state)) { case 1: - rgb_matrix_set_color(i, RGB_GREEN); + if((i == 6) || (i >= 13 && i <= 14) || (i >= 40 && i <= 41) || (i == 33)){ + rgb_matrix_set_color(i, RGB_CHARTREUSE); + } break; case 2: - rgb_matrix_set_color(i, RGB_RED); + if((i == 6) || (i >= 13 && i <= 14) || (i >= 40 && i <= 41) || (i == 33)){ + rgb_matrix_set_color(i, RGB_ORANGE); + } break; case 3: - rgb_matrix_set_color(i, RGB_BLUE); + if((i == 6) || (i >= 13 && i <= 14) || (i >= 40 && i <= 41) || (i == 33)){ + rgb_matrix_set_color(i, RGB_CYAN); + } + break; + case 4: + if((i == 6) || (i >= 13 && i <= 14) || (i >= 40 && i <= 41) || (i == 33)){ + rgb_matrix_set_color(i, RGB_AZURE); + } break; default: - if (isWindows == false){ - rgb_matrix_set_color(26, RGB_GREEN); + if (isWindows == true){ // Change to false if main config is Mac + rgb_matrix_set_color(26, RGB_WHITE); } if (host_keyboard_leds() & (1<