Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Swap buttons on PS2 Mouse/Trackball (qmk#9205)
* [Feature Request] Swap buttons on PS2 Mouse/Trackball * [Feature Request] Swap buttons on PS2 Mouse/Trackball * Added id: to the doc * Missing space * Solve comment qmk#9205 (comment) * Solve comments qmk#9205 (comment) & qmk#9205 (comment) * Format code more according to https://docs.qmk.fm/#/coding_conventions_c * change logic to LUT * WIP: Clean up * WIP: Solution with xor operators to mask the change * delete #endif & added the missed xor operator (ahhh) * Variable (mouse_report->buttons): avoid setting twice qmk#9205 (comment) * Update tmk_core/protocol/ps2_mouse.c Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: juank <juank@fktech.net> Co-authored-by: Nick Brassel <nick@tzarc.org>
- Loading branch information