Re-enable mouse buttons

This commit is contained in:
Jack Humbert 2017-05-29 13:21:38 -04:00 committed by GitHub
parent 0c351fa98b
commit b6c60333e4

View File

@ -324,9 +324,10 @@ void process_action(keyrecord_t *record, action_t action)
tp_buttons |= (1<<2);
break;
default:
break;
}
mousekey_on(action.key.code);
mousekey_send();
}
} else {
switch (action.key.code) {
case KC_MS_BTN1:
@ -339,10 +340,11 @@ void process_action(keyrecord_t *record, action_t action)
tp_buttons &= ~(1<<2);
break;
default:
break;
}
mousekey_off(action.key.code);
mousekey_send();
}
}
break;
#endif
#ifndef NO_ACTION_LAYER