Merge pull request #1344 from qmk/jackhumbert-patch-1
Re-enable mouse buttons from #1327
This commit is contained in:
commit
732a115b32
1 changed files with 6 additions and 4 deletions
|
@ -324,9 +324,10 @@ void process_action(keyrecord_t *record, action_t action)
|
||||||
tp_buttons |= (1<<2);
|
tp_buttons |= (1<<2);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
mousekey_on(action.key.code);
|
break;
|
||||||
mousekey_send();
|
|
||||||
}
|
}
|
||||||
|
mousekey_on(action.key.code);
|
||||||
|
mousekey_send();
|
||||||
} else {
|
} else {
|
||||||
switch (action.key.code) {
|
switch (action.key.code) {
|
||||||
case KC_MS_BTN1:
|
case KC_MS_BTN1:
|
||||||
|
@ -339,9 +340,10 @@ void process_action(keyrecord_t *record, action_t action)
|
||||||
tp_buttons &= ~(1<<2);
|
tp_buttons &= ~(1<<2);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
mousekey_off(action.key.code);
|
break;
|
||||||
mousekey_send();
|
|
||||||
}
|
}
|
||||||
|
mousekey_off(action.key.code);
|
||||||
|
mousekey_send();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue