]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - add X-Box Adaptive XBox button
authorNate Yocom <nate@yocom.org>
Thu, 29 Sep 2022 01:18:54 +0000 (18:18 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 29 Sep 2022 01:31:36 +0000 (18:31 -0700)
commitfd1997c73909143d84f261029bcc71dae37dcae3
tree07bd77b42f3c4a1babc2c5afa1aab3194cb31199
parent50a4c7e1a3c646c958be46d4e523de90324aa22d
Input: xpad - add X-Box Adaptive XBox button

Adaptive controller sets 0x02 bit for this button, all others set 0x01
so presence of either is used for BTN_MODE.

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