Skip to content

Allow inverted axes for adc-joystick

Chris Morgan linux-input 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Input: add input_invert_abs()drivers/input/input.c include/linux/input.h+20 -01 reply
2/2Input: adc-joystick: Handle inverted axesdrivers/input/joystick/adc-joystick.c+12 -10 replies

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] Allow inverted axes for adc-joystick

From: Chris Morgan <[email protected]>

Handle inverted axes in the adc-joystick driver so that reported input events downstream from the driver conform with assumptions that abs_min < abs_max. Add a new helper function for inputs so that abs can be inverted that drivers can use.

Chris Morgan (2):
Input: add input_invert_abs()
Input: adc-joystick: Handle inverted axes

 drivers/input/input.c                 | 19 +++++++++++++++++++
 drivers/input/joystick/adc-joystick.c | 13 ++++++++++++-
 include/linux/input.h                 |  1 +
 3 files changed, 32 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1