mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-26 10:27:52 +06:00
Re-enable mouse buttons
This commit is contained in:
parent
0c351fa98b
commit
b6c60333e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user