mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-22 03:19:24 +00:00
update skyloong/gk104/q1 about layer switch.
This commit is contained in:
parent
1742362c0b
commit
99d5cbe7e3
@ -58,7 +58,7 @@ const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
|
||||
|
||||
#if defined(DIP_SWITCH_MAP_ENABLE)
|
||||
const uint16_t PROGMEM dip_switch_map[NUM_DIP_SWITCHES][NUM_DIP_STATES] = {
|
||||
DIP_SWITCH_OFF_ON(TO(0), TO(1)),
|
||||
DIP_SWITCH_OFF_ON(DF(0), DF(1)),
|
||||
};
|
||||
#endif
|
||||
/*
|
||||
|
@ -207,11 +207,11 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
||||
}
|
||||
return true; // continue all further processing of this key
|
||||
|
||||
case TO(0):
|
||||
case DF(0):
|
||||
set_single_persistent_default_layer(0);
|
||||
return true;
|
||||
|
||||
case TO(1):
|
||||
case DF(1):
|
||||
set_single_persistent_default_layer(1);
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user