Skip to content

Input: xpad - reduce amount of magic numbers

Pavel Rojtberg linux-input 1 version Applied

Status from this message: Applied, thank you.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Input: xpad - refactor using BIT() macrodrivers/input/joystick/xpad.c+56 -561 reply
2/2Input: xpad - decipher xpadone packages with GIP definesdrivers/input/joystick/xpad.c+69 -301 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Input: xpad - reduce amount of magic numbers

From: Pavel Rojtberg <[email protected]>

This patchset slightly refactors the code of the xpad driver. These are only renames and no functional changes were made yet.

The first patch introduces the BIT() macro as promised in my last patchset. The second patch introduces GIP_* defines to make the xboxone packets readable.

Pavel Rojtberg (2):
Input: xpad - refactor using BIT() macro
Input: xpad - decipher xpadone packages with GIP defines

 drivers/input/joystick/xpad.c | 211 ++++++++++++++++++++++++++++++++++-----------------------
 1 file changed, 125 insertions(+), 86 deletions(-)
Signature · 1 line
2.34.1