Allow inverted axes for adc-joystick
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Input: add input_invert_abs()drivers/ include/ | +20 | 1 reply | |
| 2/2 | Input: adc-joystick: Handle inverted axesdrivers/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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