mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-24 08:01:27 +00:00
Update レイヤーインジケータ関連変数を、#ifdefブロック内へ移動。
This commit is contained in:
parent
81425ee684
commit
4b13ea7f16
@ -188,9 +188,6 @@ static uint16_t raise_pressed_time = 0;
|
||||
// static bool alt_ime_pressed = false;
|
||||
// static uint16_t alt_ime_pressed_time = 0;
|
||||
|
||||
// デフォルトレイヤー格納用
|
||||
static uint16_t current_default_layer = 0;
|
||||
|
||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||
|
||||
switch (keycode) {
|
||||
@ -333,6 +330,9 @@ switch (keycode) {
|
||||
#define JONES_LED_INDICATOR_CHANGE_COUNT 1
|
||||
#define JONES_LED_DIMMER_LEVEL 200
|
||||
|
||||
// デフォルトレイヤー格納用
|
||||
static uint16_t current_default_layer = 0;
|
||||
|
||||
// 1st LED
|
||||
const rgblight_segment_t PROGMEM my_mac_layer[] = RGBLIGHT_LAYER_SEGMENTS(
|
||||
{JONES_LED_INDICATOR_INDEX , JONES_LED_INDICATOR_COUNT, HSV_WHITE - JONES_LED_DIMMER_LEVEL}
|
||||
|
Loading…
Reference in New Issue
Block a user