lkml.org 
[lkml]   [2013]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/2] GamePad: Wii U Pro Controller Support
Date
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



\
 
 \ /
  Last update: 2013-06-15 15:41    [W:0.098 / U:1.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site