From: Chris Morgan <macromorgan@xxxxxxxxxxx> 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