FS#77845 - evdev events for BTN_WEST & BTN NORTH are reveresed XBOX gamepads

Attached to Project: Arch Linux
Opened by Cecil Henry (archcecil) - Tuesday, 14 March 2023, 03:26 GMT
Last edited by Toolybird (Toolybird) - Sunday, 14 May 2023, 21:46 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

West & North face buttons report the from code from Microsoft gamepads.

Steps to reproduce:

If you run evtest (https://man.archlinux.org/man/evtest.1) on an XBOX gamepad (360 or XONE) pressing (Y) should report as BTN_NORTH and (X) should report as BTN_WEST. But they are reversed. BTN_SOUTH & BTN_EAST are correct though. A PS5 gamepad works correctly. So I'm wondering if there is a bug in the kernel driver for XBOX gamepads.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 14 May 2023, 21:46 GMT
Reason for closing:  No response
Comment by Toolybird (Toolybird) - Tuesday, 14 March 2023, 20:15 GMT
> I'm wondering if there is a bug in the kernel driver for XBOX gamepads

You could always contact the linux input folks and ask them [1].

[1] https://lore.kernel.org/linux-input/
Comment by Cecil Henry (archcecil) - Wednesday, 15 March 2023, 10:09 GMT
I'm afraid I am ignorant about how to contact them.
Comment by Toolybird (Toolybird) - Friday, 14 April 2023, 21:51 GMT
Still happening with latest kernels? A commit which looks kinda relevant made it into 6.2.10 [1]. If you need to contact them, here's another link [2].

[1] https://github.com/archlinux/linux/commit/19176d30b7ca764be884bf94cc08729e1585dfc1
[2] http://vger.kernel.org/vger-lists.html#linux-input

Loading...