Input: Improve WinWing Orion2 throttle support
PATCH RESEND v3 1/1 Input: Improve WinWing Orion2 throttle support
Add support for Orion2 throttle configurations with more than 32 buttons on the grip handle (this means the device reports more than 80 buttons).
Map additional button codes to KEY_MACRO1 .. KEY_MACRO28.
Make the module simpler, removing report descriptor fixup.
Changes since v2:
- Add more comments about button mapping
Changes since v1:
- Correct trivial coding style violations
--- drivers/hid/Kconfig | 2 + drivers/hid/hid-winwing.c | 169 +++++++++++++++++++++++--------------- 2 files changed, 106 insertions(+), 65 deletions(-)
drivers/hid/Kconfig +2 -0
@@ -1309,6 +1309,8 @@ config HID_WINWING help Support for WinWing Orion2 throttle base with the following grips: + * TGRIP-15E + * TGRIP-15EX * TGRIP-16EX * TGRIP-18
drivers/hid/hid-winwing.c +105 -66
223 lines not on this page · raw message
Signature · 1 line
2.34.1
Jiri Kosina
maintainerQuoted 5 lines · Ivan Gorinov
Add support for Orion2 throttle configurations with more than 32 buttons on the grip handle (this means the device reports more than 80 buttons).
Map additional button codes to
KEY_MACRO1..KEY_MACRO28.
Quoted 7 lines
Make the module simpler, removing report descriptor fixup.
Changes since v2:
- Add more comments about button mappingChanges since v1:
- Correct trivial coding style violations
These changes should go below the '--- ' line so that they don't end up in the actual git changelog.
Also we use 'HID:' prefix in shortlog.
I've fixed both and applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs