Skip to contentSkip to conversation

input: Implement an API for trigger rumble motors

PATCH New Daniel Bomar 1 participant 1 message Apr 10, 2022 HID

lore
Share & tools
lore
#0 lore raw

cover input: Implement an API for trigger rumble motors

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(-)
Signature · 1 line
2.35.1