Skip to content

Input: joystick: xpad: Add X-Box Adaptive Controller support

Nate Yocom linux-input lkml 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 5 repliesIn review
  2. v54 patches 7 repliesSuperseded
  3. v43 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v33 patches7 repliesSuperseded
v21 patch3 repliesSuperseded
v11 patch0 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Input: joystick: xpad: Add X-Box Adaptive supportdrivers/input/joystick/xpad.c+1 -01 reply
2/5Input: joystick: xpad: Add X-Box Adaptive XBox buttondrivers/input/joystick/xpad.c+1 -11 reply
3/5Input: joystick: xpad: Add ABS_PROFILE to uapidrivers/hid/hid-debug.c include/uapi/linux/input-event-codes.h+3 -10 replies
4/5Input: joystick: xpad: Add ABS_PROFILE to DocsDocumentation/input/event-codes.rst Documentation/input/gamepad.rst+12 -00 replies
5/5Input: joystick: xpad: Add X-Box Adaptive Profile buttondrivers/input/joystick/xpad.c+13 -10 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchBastien NoceraMattijs Korpershoek
1/5T-b R-b
2/5T-b R-b
3/5
4/5
5/5T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/5] Input: joystick: xpad: Add X-Box Adaptive Controller support

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 Profile 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 Profile button, and adds support for the X-Box button as distinct changes.

Nate Yocom (5):
Input: joystick: xpad: Add X-Box Adaptive support
Input: joystick: xpad: Add X-Box Adaptive XBox button
Input: joystick: xpad: Add ABS_PROFILE to uapi
Input: joystick: xpad: Add ABS_PROFILE to Docs
Input: joystick: xpad: Add X-Box Adaptive Profile button

v2: Fix warning Reported-by: kernel test robot <[email protected]>
v3: Break into multi-part and remove VID/PID check for XBox button
v4: Rename Layer -> Profile as suggested by Bastien Nocera
v5: Add new ABS_PROFILE axis to uapi and use it for the profile button
v6: Add ABS_PROFILE to absolutes array and docs as requested by Dmitry

 Documentation/input/event-codes.rst    |  6 ++++++
 Documentation/input/gamepad.rst        |  6 ++++++
 drivers/hid/hid-debug.c                |  3 ++-
 drivers/input/joystick/xpad.c          | 15 ++++++++++++++-
 include/uapi/linux/input-event-codes.h |  1 +
 5 files changed, 29 insertions(+), 2 deletions(-)

base-commit: 26b1224903b3fb66e8aa564868d0d57648c32b15

Signature · 1 line
2.30.2