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 Move API_SYSEX_MAX_SIZE out of config_common.h (#12302) 2021-03-25 22:30:42 +11:00
usb_hid Remove DESCRIPTION (#9732) 2020-07-16 15:49:18 +10:00
vusb Avoid LTO conficts on arm_atsam (#13676) 2021-07-24 12:13:06 +01:00
adb.c Update ADB impelemtation in TMK Core (#11168) 2020-12-29 19:18:16 -08:00
adb.h Update ADB impelemtation in TMK Core (#11168) 2020-12-29 19:18:16 -08:00
arm_atsam.mk 2020 November 28 Breaking Changes Update (#11053) 2020-11-28 12:02:18 -08:00
chibios.mk 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
ibm4704.c Initial vusb console support (#8559) 2020-05-03 01:25:39 +01:00
ibm4704.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 2020-12-26 15:56:11 +11:00
lufa.mk 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
m0110.c Remove legacy print backward compatiblitly (#11805) 2021-02-06 16:56:13 +00:00
m0110.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 2020-12-26 15:56:11 +11:00
midi.mk
news.c clang-format changes 2019-08-30 15:01:52 -07:00
news.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 2020-12-26 15:56:11 +11:00
next_kbd.c clang-format changes 2019-08-30 15:01:52 -07:00
next_kbd.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 2020-12-26 15:56:11 +11:00
ps2_busywait.c clang-format changes 2019-08-30 15:01:52 -07:00
ps2_interrupt.c Arm ps2 mouse interrupt (#6490) 2021-08-06 07:51:24 +10:00
ps2_io_avr.c clang-format changes 2019-08-30 15:01:52 -07:00
ps2_io_chibios.c Arm ps2 mouse interrupt (#6490) 2021-08-06 07:51:24 +10:00
ps2_io.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 2020-12-26 15:56:11 +11:00
ps2_mouse.c [Feature] Swap buttons on PS2 Mouse/Trackball (#9205) 2021-08-06 09:09:58 +10:00
ps2_mouse.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 2020-12-26 15:56:11 +11:00
ps2_usart.c clang-format changes 2019-08-30 15:01:52 -07:00
ps2.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 2020-12-26 15:56:11 +11:00
serial_mouse_microsoft.c clang-format changes 2019-08-30 15:01:52 -07:00
serial_mouse_mousesystems.c clang-format changes 2019-08-30 15:01:52 -07:00
serial_mouse.h Change include guards in tmk_core/ and drivers/ to pragma once (#11240) 2020-12-26 15:56:11 +11:00
serial_soft.c remove SERIAL_SOFT_DEBUG macro (#7625) 2019-12-13 18:06:18 -08:00
serial_uart.c Manual formatting fix for serial_uart.c (#11806) 2021-02-06 14:15:30 +00:00
serial.h Serial refactor (#11521) 2021-02-06 09:20:48 +11:00
usb_descriptor_common.h Use string literals for SERIAL_NUMBER (#13403) 2021-07-16 19:43:18 +10:00
usb_descriptor.c Use string literals for SERIAL_NUMBER (#13403) 2021-07-16 19:43:18 +10:00
usb_descriptor.h Manually run formatting CI process (#11375) 2021-01-01 03:50:32 +11:00
usb_hid.mk
vusb.mk 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
xt_interrupt.c [CI] Format code according to conventions (#12277) 2021-03-18 12:28:50 +11:00
xt.h [CI] Format code according to conventions (#12277) 2021-03-18 12:28:50 +11:00