linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Herrmann <dh.herrmann@gmail.com>
To: linux-input@vger.kernel.org
Cc: Jiri Kosina <jkosina@suse.cz>,
	Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>,
	Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	David Herrmann <dh.herrmann@gmail.com>
Subject: [PATCH 0/3] Input/HID: Guitar/Drums support
Date: Mon, 26 Aug 2013 19:14:45 +0200	[thread overview]
Message-ID: <1377537288-19289-1-git-send-email-dh.herrmann@gmail.com> (raw)

Hi

This series adds wiimote extension support for guitars and drums. The patches
are fairly simple and work the same as the other 5 wiimote extensions. But as we
currently don't have IDs to report drums or guitar events to user-space, I had
to add them.

Patch #1 adds basic IDs to <linux/input.h>. I tried to find as many devices as I
could and looked what IDs would be required. Turned out, the device I was
implementing already supported almost all (except 2 instead of 4 cymbals and 3
instead of 4 toms).

Patch #2 and #3 add the wiimote extensions.

This has been mostly worked out and tested by Nicolas (thanks!) and we started
this work almost 3 month ago. Due to holidays it took a bit longer to get
pressure reports working. But now everything should be fine.

The xwiimote user-space tools already support this and provide testing utilities
if someone is interested: http://github.com/dvdhrm/xwiimote

Jiri, Dmitry, can we try merging this for 3.13? I know it's late, but it did see
a lot of testing from Nicolas.

Regards
David

Btw., if someone has similar PS3 or WorldTour devices, I'd be glad to add
support for them!

David Herrmann (2):
  Input: introduce BTN/ABS bits for drums and guitars
  HID: wiimote: add support for Guitar-Hero drums

Nicolas Adenis-Lamarre (1):
  HID: wiimote: add support for Guitar-Hero guitars

 drivers/hid/hid-wiimote-core.c    |  14 ++
 drivers/hid/hid-wiimote-modules.c | 392 ++++++++++++++++++++++++++++++++++++++
 drivers/hid/hid-wiimote.h         |   3 +
 include/linux/mod_devicetable.h   |   2 +-
 include/uapi/linux/input.h        |  25 ++-
 5 files changed, 433 insertions(+), 3 deletions(-)

-- 
1.8.4


             reply	other threads:[~2013-08-26 17:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 17:14 David Herrmann [this message]
2013-08-26 17:14 ` [PATCH 1/3] Input: introduce BTN/ABS bits for drums and guitars David Herrmann
2013-09-02 11:41   ` Jiri Kosina
2013-09-03 18:05     ` Dmitry Torokhov
2013-09-03 21:14       ` David Herrmann
2013-08-26 17:14 ` [PATCH 2/3] HID: wiimote: add support for Guitar-Hero drums David Herrmann
2013-08-26 17:14 ` [PATCH 3/3] HID: wiimote: add support for Guitar-Hero guitars David Herrmann
2013-09-04  8:46 ` [PATCH 0/3] Input/HID: Guitar/Drums support 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=1377537288-19289-1-git-send-email-dh.herrmann@gmail.com \
    --to=dh.herrmann@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=nicolas.adenis.lamarre@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).