mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-10 05:59:44 +00:00
Fix #1566 - NKRO reseting issue
This commit is contained in:
parent
d9c6e7487b
commit
34580baccf
1 changed files with 1 additions and 2 deletions
|
@ -90,7 +90,6 @@ uint16_t keycode_config(uint16_t keycode) {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t mod_config(uint8_t mod) {
|
uint8_t mod_config(uint8_t mod) {
|
||||||
keymap_config.raw = eeconfig_read_keymap();
|
|
||||||
if (keymap_config.swap_lalt_lgui) {
|
if (keymap_config.swap_lalt_lgui) {
|
||||||
if ((mod & MOD_RGUI) == MOD_LGUI) {
|
if ((mod & MOD_RGUI) == MOD_LGUI) {
|
||||||
mod &= ~MOD_LGUI;
|
mod &= ~MOD_LGUI;
|
||||||
|
@ -115,4 +114,4 @@ uint8_t mod_config(uint8_t mod) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return mod;
|
return mod;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue