All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Bomar <dbdaniel42@gmail.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Jiri Kosina <jikos@kernel.org>,
	Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	Daniel Bomar <dbdaniel42@gmail.com>
Subject: [PATCH 0/4] input: Implement an API for trigger rumble motors
Date: Sun, 10 Apr 2022 17:04:49 -0500	[thread overview]
Message-ID: <20220410220449.5071-1-dbdaniel42@gmail.com> (raw)

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


                 reply	other threads:[~2022-04-10 22:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220410220449.5071-1-dbdaniel42@gmail.com \
    --to=dbdaniel42@gmail.com \
    --cc=benjamin.tissoires@redhat.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jikos@kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.