All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Allow inverted axes for adc-joystick
@ 2023-12-31 20:56 Chris Morgan
  2023-12-31 20:56 ` [PATCH 1/2] Input: add input_invert_abs() Chris Morgan
  2023-12-31 20:56 ` [PATCH 2/2] Input: adc-joystick: Handle inverted axes Chris Morgan
  0 siblings, 2 replies; 4+ messages in thread
From: Chris Morgan @ 2023-12-31 20:56 UTC (permalink / raw)
  To: linux-input
  Cc: dmitry.torokhov, hdegoede, paul, peter.hutterer, svv, biswarupp,
	contact, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

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

-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-04 17:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-31 20:56 [PATCH 0/2] Allow inverted axes for adc-joystick Chris Morgan
2023-12-31 20:56 ` [PATCH 1/2] Input: add input_invert_abs() Chris Morgan
2024-01-04 17:59   ` Dmitry Torokhov
2023-12-31 20:56 ` [PATCH 2/2] Input: adc-joystick: Handle inverted axes Chris Morgan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.