Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhumbert committed May 30, 2017
2 parents 7eccbfe + 732a115 commit 3a1a7d6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tmk_core/common/action.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 3a1a7d6

Please sign in to comment.