diff options
Diffstat (limited to 'tmk_core/common/action.c')
-rw-r--r-- | tmk_core/common/action.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index a7432bae5..a3830abbf 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c | |||
@@ -443,6 +443,15 @@ void process_action(keyrecord_t *record, action_t action) { | |||
443 | case KC_MS_BTN5: | 443 | case KC_MS_BTN5: |
444 | register_button(true, MOUSE_BTN5); | 444 | register_button(true, MOUSE_BTN5); |
445 | break; | 445 | break; |
446 | case KC_MS_BTN6: | ||
447 | register_button(true, MOUSE_BTN6); | ||
448 | break; | ||
449 | case KC_MS_BTN7: | ||
450 | register_button(true, MOUSE_BTN7); | ||
451 | break; | ||
452 | case KC_MS_BTN8: | ||
453 | register_button(true, MOUSE_BTN8); | ||
454 | break; | ||
446 | # endif | 455 | # endif |
447 | default: | 456 | default: |
448 | mousekey_send(); | 457 | mousekey_send(); |
@@ -469,6 +478,15 @@ void process_action(keyrecord_t *record, action_t action) { | |||
469 | case KC_MS_BTN5: | 478 | case KC_MS_BTN5: |
470 | register_button(false, MOUSE_BTN5); | 479 | register_button(false, MOUSE_BTN5); |
471 | break; | 480 | break; |
481 | case KC_MS_BTN6: | ||
482 | register_button(false, MOUSE_BTN6); | ||
483 | break; | ||
484 | case KC_MS_BTN7: | ||
485 | register_button(false, MOUSE_BTN7); | ||
486 | break; | ||
487 | case KC_MS_BTN8: | ||
488 | register_button(false, MOUSE_BTN8); | ||
489 | break; | ||
472 | # endif | 490 | # endif |
473 | default: | 491 | default: |
474 | mousekey_send(); | 492 | mousekey_send(); |