diff options
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index ec80fa557..16922dd01 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -544,7 +544,7 @@ bool process_record_quantum(keyrecord_t *record) { | |||
| 544 | # endif | 544 | # endif |
| 545 | #endif | 545 | #endif |
| 546 | case MAGIC_SWAP_CONTROL_CAPSLOCK ... MAGIC_TOGGLE_ALT_GUI: | 546 | case MAGIC_SWAP_CONTROL_CAPSLOCK ... MAGIC_TOGGLE_ALT_GUI: |
| 547 | case MAGIC_SWAP_LCTL_LGUI ... MAGIC_TOGGLE_CTL_GUI: | 547 | case MAGIC_SWAP_LCTL_LGUI ... MAGIC_EE_HANDS_RIGHT: |
| 548 | if (record->event.pressed) { | 548 | if (record->event.pressed) { |
| 549 | // MAGIC actions (BOOTMAGIC without the boot) | 549 | // MAGIC actions (BOOTMAGIC without the boot) |
| 550 | if (!eeconfig_is_enabled()) { | 550 | if (!eeconfig_is_enabled()) { |
| @@ -662,6 +662,12 @@ bool process_record_quantum(keyrecord_t *record) { | |||
| 662 | case MAGIC_TOGGLE_NKRO: | 662 | case MAGIC_TOGGLE_NKRO: |
| 663 | keymap_config.nkro = !keymap_config.nkro; | 663 | keymap_config.nkro = !keymap_config.nkro; |
| 664 | break; | 664 | break; |
| 665 | case MAGIC_EE_HANDS_LEFT: | ||
| 666 | eeconfig_update_handedness(true); | ||
| 667 | break; | ||
| 668 | case MAGIC_EE_HANDS_RIGHT: | ||
| 669 | eeconfig_update_handedness(false); | ||
| 670 | break; | ||
| 665 | default: | 671 | default: |
| 666 | break; | 672 | break; |
| 667 | } | 673 | } |
