Commit: e9fc6bf4a3ffad3a40096836aff7858a57ce0288
Parent: b823e9e96076902b811975264e57a5d218ac8fa8
Author: David Herrmann <dh.herrmann@googlemail.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-11-28 14:51:32
Tree: 21d84132459cff8345a94ab100956d087ba77a08

wiimote: add Wii-Remote-Plus ID and name detection The Nintendo Wii Remote Plus uses a new product ID and name. To detect them properly, we need to add them to the wiimote-module. To avoid an overlong "if" statement, this converts the match-function to walk over an array and check all VID/PID pairs and device-names. This makes adding new devices much easier.

Diffstat

M plugins/wiimote.c | 33 ++++++++++++++++++++++++++- - - - - - -

1 files changed, 26 insertions(+), 7 deletions(-)

View Full Diff | Patch