public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] input: Implement an API for trigger rumble motors
@ 2022-04-10 22:04 Daniel Bomar
  0 siblings, 0 replies; only message in thread
From: Daniel Bomar @ 2022-04-10 22:04 UTC (permalink / raw)
  To: Dmitry Torokhov, Jiri Kosina, Benjamin Tissoires
  Cc: linux-input, linux-kernel, Daniel Bomar

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-10 22:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-10 22:04 [PATCH 0/4] input: Implement an API for trigger rumble motors Daniel Bomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox