void matrix_scan_user(void) { #ifdef KEYBOARD_gh60 if (IS_LAYER_ON(_GAME)) { gh60_wasd_leds_on(); } else { gh60_wasd_leds_off(); } #endif }
void matrix_scan_user(void) { // Layer LED indicators // ESC led on when in function layer, WASD cluster leds enabled when on arrow cluster uint32_t layer = layer_state; if (layer & (1<<1)) { gh60_wasd_leds_on(); } else { gh60_wasd_leds_off(); } if (layer & (1<<2)) { gh60_esc_led_on(); } else { gh60_esc_led_off(); } };
void matrix_scan_user(void) { uint32_t layer = layer_state; if (layer & (1<<1)) { gh60_fn_led_on(); } else { gh60_fn_led_off(); } if (layer & (1<<2)) { gh60_wasd_leds_on(); } else { gh60_wasd_leds_off(); } if (layer & (1<<3)) { gh60_esc_led_on(); } else { gh60_esc_led_off(); } };
void matrix_scan_user(void) { //Layer LED indicators uint32_t layer = layer_state; if (layer & (1<<1)) { gh60_wasd_leds_on(); gh60_fn_led_on(); } else { gh60_wasd_leds_off(); gh60_fn_led_off(); } if (layer & (1<<2)) { gh60_poker_leds_on(); gh60_esc_led_on(); } else { gh60_poker_leds_off(); gh60_esc_led_off(); } };