forked from mirrors/qmk_userspace
Add a toggle key for GUI On/Off in Magic feature (#13830)
This commit is contained in:
parent
3b28178deb
commit
4c4f632378
3 changed files with 8 additions and 0 deletions
|
@ -164,6 +164,9 @@ bool process_magic(uint16_t keycode, keyrecord_t *record) {
|
|||
case MAGIC_EE_HANDS_RIGHT:
|
||||
eeconfig_update_handedness(false);
|
||||
break;
|
||||
case MAGIC_TOGGLE_GUI:
|
||||
keymap_config.no_gui = !keymap_config.no_gui;
|
||||
break;
|
||||
}
|
||||
|
||||
eeconfig_update_keymap(keymap_config.raw);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue