Re-enable mouse buttons
parent
0c351fa98b
commit
b6c60333e4
|
@ -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:
|
||||||
|
break;
|
||||||
|
}
|
||||||
mousekey_on(action.key.code);
|
mousekey_on(action.key.code);
|
||||||
mousekey_send();
|
mousekey_send();
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
switch (action.key.code) {
|
switch (action.key.code) {
|
||||||
case KC_MS_BTN1:
|
case KC_MS_BTN1:
|
||||||
|
@ -339,10 +340,11 @@ void process_action(keyrecord_t *record, action_t action)
|
||||||
tp_buttons &= ~(1<<2);
|
tp_buttons &= ~(1<<2);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
mousekey_off(action.key.code);
|
mousekey_off(action.key.code);
|
||||||
mousekey_send();
|
mousekey_send();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifndef NO_ACTION_LAYER
|
#ifndef NO_ACTION_LAYER
|
||||||
|
|
Loading…
Reference in New Issue