diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-06-15 09:32:45 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-06-27 05:57:49 -0400 |
commit | b8e0fe31a7c8623741f91bc27f925220341fdf81 (patch) | |
tree | 9dd36399fd722510dfe06c46ca5c9a74850f979d /drivers/hid/hid-wiimote.h | |
parent | 701ba533f6587aaf402a9bb732548503263d2b23 (diff) |
HID: wiimote: support Nintendo Wii U Pro Controller
The Wii U Pro Controller is a new Nintendo remote device that looks very
similar to the XBox controller. It has nearly the same features and uses
the same protocol as the Wii Remote.
We add a new wiimote extension device so the Pro Controller is properly
detected and supported.
The device reports MP support, which is odd and I couldn't get it working,
yet. Hence, we disable MP registers for now. Further investigation is
needed to see what extra capabilities are provided.
There are some other unknown bits in the extension reports that I couldn't
figure out what they do. You can use hidraw to access these if you're
interested.
We might want to hook up the "charging" and "USB" bits to the battery
device so user-space can query whether it is currently charged via USB.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-wiimote.h')
-rw-r--r-- | drivers/hid/hid-wiimote.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-wiimote.h b/drivers/hid/hid-wiimote.h index 5cf8bcb81095..f1474f372c0b 100644 --- a/drivers/hid/hid-wiimote.h +++ b/drivers/hid/hid-wiimote.h | |||
@@ -77,6 +77,7 @@ enum wiimote_devtype { | |||
77 | WIIMOTE_DEV_GEN10, | 77 | WIIMOTE_DEV_GEN10, |
78 | WIIMOTE_DEV_GEN20, | 78 | WIIMOTE_DEV_GEN20, |
79 | WIIMOTE_DEV_BALANCE_BOARD, | 79 | WIIMOTE_DEV_BALANCE_BOARD, |
80 | WIIMOTE_DEV_PRO_CONTROLLER, | ||
80 | WIIMOTE_DEV_NUM, | 81 | WIIMOTE_DEV_NUM, |
81 | }; | 82 | }; |
82 | 83 | ||
@@ -86,6 +87,7 @@ enum wiimote_exttype { | |||
86 | WIIMOTE_EXT_NUNCHUK, | 87 | WIIMOTE_EXT_NUNCHUK, |
87 | WIIMOTE_EXT_CLASSIC_CONTROLLER, | 88 | WIIMOTE_EXT_CLASSIC_CONTROLLER, |
88 | WIIMOTE_EXT_BALANCE_BOARD, | 89 | WIIMOTE_EXT_BALANCE_BOARD, |
90 | WIIMOTE_EXT_PRO_CONTROLLER, | ||
89 | WIIMOTE_EXT_NUM, | 91 | WIIMOTE_EXT_NUM, |
90 | }; | 92 | }; |
91 | 93 | ||