lkml.org 
[lkml]   [2022]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v3 0/3] Input: joystick: xpad: Add X-Box Adaptive Controller support
Date
Adds support for the X-Box Adaptive Controller, which is protocol
compatible with the XTYPE_XBOXONE support in the driver with two deltas:

- The X-Box button sets 0x02 as its activation ID, where others set
0x01
- The controller has an additional "Layer" button with 4 active states,
which this change maps to an Axis control with 4 possible values

Patch series adds device to the supported table, adds support for the
Layer button, and adds support for the X-Box button as distinct changes.

Signed-off-by: Nate Yocom <nate@yocom.org>

Nate Yocom (3):
Input: joystick: xpad: Add X-Box Adaptive Controller support
Input: joystick: xpad: Add X-Box Adaptive Controller Layer button
Input: joystick: xpad: Add X-Box Adaptive Controller XBox button

v2: Fix warning Reported-by: kernel test robot <lkp@intel.com>
v3: Break into multi-part and remove VID/PID check for XBox button

drivers/input/joystick/xpad.c | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)


base-commit: 15205c2829ca2cbb5ece5ceaafe1171a8470e62b
--
2.30.2

\
 
 \ /
  Last update: 2022-08-13 20:54    [W:0.116 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site