]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - add X-Box Adaptive Profile button
authorNate Yocom <nate@yocom.org>
Thu, 29 Sep 2022 01:23:49 +0000 (18:23 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 Sep 2022 01:31:39 +0000 (18:31 -0700)
commit8d9d32db20ba74f5df54d2b8e9f11b30dfc8bcd3
treeaf2a03e02871ff0fef788544b162163d54f87d98
parentdcb43e085a48e4c91c226303233431d9ca8e8c79
Input: xpad - add X-Box Adaptive Profile button

Adds a new quirk for controllers that have a Profile button which has 4
states, reflected as an ABS_PROFILE axis with 4 values.

Signed-off-by: Nate Yocom <nate@yocom.org>
Tested-by: Bastien Nocera <hadess@hadess.net>
Link: https://lore.kernel.org/r/20220908173930.28940-6-nate@yocom.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c