qmk_firmware/tmk_core/protocol
Juan Pablo Kutianski 07553b41f0
[Feature] Swap buttons on PS2 Mouse/Trackball (#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
https://github.com/qmk/qmk_firmware/pull/9205#discussion_r430783182

* Solve comments https://github.com/qmk/qmk_firmware/pull/9205#discussion_r430783182 & https://github.com/qmk/qmk_firmware/pull/9205#discussion_r430783884

* 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 https://github.com/qmk/qmk_firmware/pull/9205#discussion_r430783884

* 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>
2021-08-06 09:09:58 +10:00
..
arm_atsam
chibios
lufa
midi Move API_SYSEX_MAX_SIZE out of config_common.h (#12302) 2021-03-25 22:30:42 +11:00
usb_hid
vusb
adb.c
adb.h
arm_atsam.mk
chibios.mk
ibm4704.c
ibm4704.h
lufa.mk
m0110.c
m0110.h
midi.mk
news.c
news.h
next_kbd.c
next_kbd.h
ps2.h
ps2_busywait.c
ps2_interrupt.c
ps2_io.h
ps2_io_avr.c
ps2_io_chibios.c
ps2_mouse.c
ps2_mouse.h
ps2_usart.c
serial.h
serial_mouse.h
serial_mouse_microsoft.c
serial_mouse_mousesystems.c
serial_soft.c
serial_uart.c
usb_descriptor.c
usb_descriptor.h
usb_descriptor_common.h
usb_hid.mk
vusb.mk
xt.h
xt_interrupt.c