Thread (11 messages) 11 messages, 3 authors, 2013-08-20

[PATCH v2 0/2] GamePad: Wii U Pro Controller Support

From: David Herrmann <hidden>
Date: 2013-06-15 13:33:10
Also in: lkml

Hi

2nd revision of the pro-controller patches. The first patch introduces a
gamepad-API documentation as discussed on the mailing-list. The second patch
adds support for the Pro-Controller based on this gamepad-API.

Note that the 2nd patch depends on the 1st so they should go through the same
maintainer's tree.


Regarding the Pro-Controller: The new data reports are handled as usual as a new
wiimote-extension. However, we also add device-detection for it so we don't load
all the other unavailable interfaces on it. This makes the gamepad behave like
any other gamepad-driver without the wiimote specifics.
No user-space library is needed, but libxwiimote and xwiishow already include
support for it (if someone wants to integrate it into existing wiimote apps).


Cheers
David


David Herrmann (2):
  input: document gamepad API and add extra keycodes
  HID: wiimote: support Nintendo Wii U Pro Controller

 Documentation/input/gamepad.txt   | 156 ++++++++++++++++++++
 drivers/hid/hid-wiimote-core.c    |  23 +++
 drivers/hid/hid-wiimote-modules.c | 295 ++++++++++++++++++++++++++++++++++++++
 drivers/hid/hid-wiimote.h         |   2 +
 include/uapi/linux/input.h        |   9 ++
 5 files changed, 485 insertions(+)
 create mode 100644 Documentation/input/gamepad.txt

-- 
1.8.3.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help