]> git.dujemihanovic.xyz Git - linux.git/commit
Input: xpad - fix PowerA EnWired Controller guide button
authorVicki Pfau <vi@endrift.com>
Fri, 14 Apr 2023 06:58:12 +0000 (23:58 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 14 Apr 2023 07:02:55 +0000 (00:02 -0700)
commitcf5950187319346d7cdc62522f90479dfefd9235
tree91c6b7a22ba9a296b08c544cd7b0c40f0f7bbc9c
parentf9b2e603c6216824e34dc9a67205d98ccc9a41ca
Input: xpad - fix PowerA EnWired Controller guide button

This commit explicitly disables the audio interface the same way the official
driver does. This is needed for some controllers, such as the PowerA Enhanced
Wired Controller for Series X|S (0x20d6:0x200e) to report the guide button.

Signed-off-by: Vicki Pfau <vi@endrift.com>
Link: https://lore.kernel.org/r/20230411031650.960322-3-vi@endrift.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c