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 Allow for higher USB Polling rate on ATSAM boards (#13755) 2021-07-28 12:00:16 +01:00
chibios Trigger a wakeup after USB Reset on ChibiOS. (#12831) 2021-08-04 07:39:34 +10:00
lufa Avoid LTO conficts on arm_atsam (#13676) 2021-07-24 12:13:06 +01:00
midi
usb_hid
vusb Avoid LTO conficts on arm_atsam (#13676) 2021-07-24 12:13:06 +01:00
adb.c
adb.h
arm_atsam.mk
chibios.mk 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
ibm4704.c
ibm4704.h
lufa.mk 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
m0110.c
m0110.h
midi.mk
news.c
news.h
next_kbd.c
next_kbd.h
ps2.h
ps2_busywait.c
ps2_interrupt.c Arm ps2 mouse interrupt (#6490) 2021-08-06 07:51:24 +10:00
ps2_io.h
ps2_io_avr.c
ps2_io_chibios.c Arm ps2 mouse interrupt (#6490) 2021-08-06 07:51:24 +10:00
ps2_mouse.c [Feature] Swap buttons on PS2 Mouse/Trackball (#9205) 2021-08-06 09:09:58 +10:00
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 Use string literals for SERIAL_NUMBER (#13403) 2021-07-16 19:43:18 +10:00
usb_descriptor.h
usb_descriptor_common.h Use string literals for SERIAL_NUMBER (#13403) 2021-07-16 19:43:18 +10:00
usb_hid.mk
vusb.mk 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
xt.h
xt_interrupt.c