linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add new force feedback driver for Mayflash game controller adapters.
@ 2016-10-30 22:12 Marcel Hasler
  2016-11-03 18:16 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Marcel Hasler @ 2016-10-30 22:12 UTC (permalink / raw)
  To: Jiri Kosina, Benjamin Tissoires; +Cc: linux-input

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/2] Add new force feedback driver for Mayflash game controller adapters.
  2016-10-30 22:12 [PATCH 0/2] Add new force feedback driver for Mayflash game controller adapters Marcel Hasler
@ 2016-11-03 18:16 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2016-11-03 18:16 UTC (permalink / raw)
  To: Marcel Hasler; +Cc: Benjamin Tissoires, linux-input

On Sun, 30 Oct 2016, Marcel Hasler wrote:

> This patchset adds a new force feedback driver for game controller adapters by Mayflash,
> called hid-mf.

I am confused by parts o this patchset being resubmitted as v2 and parts 
submitted separately as well, and the 2-patch submission is not properly 
threaded.

Could you please do a proper new resubmission so that I am sure I have the 
most up-to-date version?

Thanks,

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-03 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-30 22:12 [PATCH 0/2] Add new force feedback driver for Mayflash game controller adapters Marcel Hasler
2016-11-03 18:16 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).