[PATCH 0/4] input: Implement an API for trigger rumble motors

From: Daniel Bomar
Date: Sun Apr 10 2022 - 18:05:50 EST


This patchset extends the force feedback API to allow userspace to control
the force feedback motors underneath the triggers in some gamepads.

Patches 3 and 4 of this patchset implement this API in the xpad and
hid-microsoft drivers for the Xbox One controller over USB and bluetooth
respectively.

Daniel Bomar (4):
input: uapi: Add trigger_left and trigger_right to ff_rumble_effect
struct
input: ff-memless: Add trigger left/right in ml_combine_effects
input: xpad: Implement trigger rumble for Xbox One controllers
input: hid-microsoft: Implement trigger rumble for Xbox One S over
bluetooth

drivers/hid/hid-microsoft.c | 14 ++++++++++++--
drivers/input/ff-memless.c | 8 +++++++-
drivers/input/joystick/xpad.c | 8 ++++++--
include/uapi/linux/input.h | 4 ++++
4 files changed, 29 insertions(+), 5 deletions(-)

--
2.35.1