mbox series

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

Message ID 20220913213133.584979-1-rojtberg@gmail.com (mailing list archive)
Headers show
Series Input: xpad - reduce amount of magic numbers | expand

Message

Pavel Rojtberg Sept. 13, 2022, 9:31 p.m. UTC
From: Pavel Rojtberg <rojtberg@gmail.com>

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(-)

Comments

Pavel Rojtberg Sept. 27, 2022, 5:26 p.m. UTC | #1
Am 13.09.22 um 23:31 schrieb Pavel Rojtberg:
> From: Pavel Rojtberg <rojtberg@gmail.com>
> 
> 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(-)
> 

merge/ rework/ never submit again?

Greetings, Pavel