From: Jack Humbert Date: Mon, 29 May 2017 17:21:38 +0000 (-0400) Subject: Re-enable mouse buttons X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b6c60333e48e3ed77d5e8a21a139ce9955977559;p=qmk_firmware.git Re-enable mouse buttons --- diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index f73b0fe80..cffc0b9eb 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c @@ -324,9 +324,10 @@ void process_action(keyrecord_t *record, action_t action) tp_buttons |= (1<<2); break; default: - mousekey_on(action.key.code); - mousekey_send(); + break; } + mousekey_on(action.key.code); + mousekey_send(); } else { switch (action.key.code) { case KC_MS_BTN1: @@ -339,9 +340,10 @@ void process_action(keyrecord_t *record, action_t action) tp_buttons &= ~(1<<2); break; default: - mousekey_off(action.key.code); - mousekey_send(); + break; } + mousekey_off(action.key.code); + mousekey_send(); } break; #endif