Skip to content

Commit

Permalink
Add until #173 drops
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Jan 2, 2020
1 parent ef253c3 commit 573f1d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion quantum/process_keycode/process_magic.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ bool process_magic(uint16_t keycode, keyrecord_t *record) {
if (record->event.pressed) {
switch (keycode) {
case MAGIC_SWAP_CONTROL_CAPSLOCK ... MAGIC_TOGGLE_ALT_GUI:
case MAGIC_SWAP_LCTL_LGUI ... MAGIC_EE_HANDS_RIGHT:
case MAGIC_SWAP_LCTL_LGUI ... MAGIC_TOGGLE_CTL_GUI:
/* keymap config */
keymap_config.raw = eeconfig_read_keymap();
switch (keycode) {
Expand Down Expand Up @@ -158,12 +158,14 @@ bool process_magic(uint16_t keycode, keyrecord_t *record) {
clear_keyboard(); // clear first buffer to prevent stuck keys
keymap_config.nkro = !keymap_config.nkro;
break;
#if 0
case MAGIC_EE_HANDS_LEFT:
eeconfig_update_handedness(true);
break;
case MAGIC_EE_HANDS_RIGHT:
eeconfig_update_handedness(false);
break;
#endif
}
eeconfig_update_keymap(keymap_config.raw);
clear_keyboard(); // clear to prevent stuck keys
Expand Down

0 comments on commit 573f1d1

Please sign in to comment.