From: Marcel Hasler <mahasler@gmail.com>
To: Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux-input@vger.kernel.org
Subject: [PATCH 0/2] Add new force feedback driver for Mayflash game controller adapters.
Date: Sun, 30 Oct 2016 23:12:30 +0100 [thread overview]
Message-ID: <20161030221230.GA13800@arch-desktop> (raw)
This patchset adds a new force feedback driver for game controller adapters by Mayflash,
called hid-mf.
These devices identify themselves using the vendor ID of DragonRise but don't actually seem
to be in any way related to those gamepads. They are therefore not in any way compatible with
the hid-dr driver that implements force feedback for regular DragonRise gamepads. In fact, the
protocol used by these adapters is a lot simpler than the one implemented in hid-dr. On the
other hand, because of the multi-input nature of these adapters the new driver needs to setup
memory-less force feedback for four individual input devices.
At the moment only the PS3 adapter is supported. I assume that the other adapters (for Wii U
and GameCube) use the same protocol, but since I don't own any of these (nor any of the gamepads)
I haven't been able to test them.
The first patch is identical to the one I already submitted earlier today. It's include here
only because the second patch requires one of the new defines for the device ID.
The second patch adds the new driver.
Marcel Hasler (2):
usbhid: Add quirks for Mayflash/Dragonrise GameCube and PS3 adapters.
Add new force feedback driver for Mayflash game controller adapters.
drivers/hid/Kconfig | 8 ++
drivers/hid/Makefile | 1 +
drivers/hid/hid-core.c | 1 +
drivers/hid/hid-ids.h | 6 +-
drivers/hid/hid-mf.c | 165 ++++++++++++++++++++++++++++++++++++++++
drivers/hid/usbhid/hid-quirks.c | 2 +
6 files changed, 181 insertions(+), 2 deletions(-)
create mode 100644 drivers/hid/hid-mf.c
--
2.10.1
next reply other threads:[~2016-10-30 22:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-30 22:12 Marcel Hasler [this message]
2016-11-03 18:16 ` [PATCH 0/2] Add new force feedback driver for Mayflash game controller adapters Jiri Kosina
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=20161030221230.GA13800@arch-desktop \
--to=mahasler@gmail.com \
--cc=benjamin.tissoires@redhat.com \
--cc=jikos@kernel.org \
--cc=linux-input@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox