diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-10-18 16:13:47 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-18 17:25:44 +0300 |
commit | 1bbc54e1f3f4c11eb40ed8d0257f65e331dbbb89 (patch) | |
tree | 86ea3027146c89fbed4fafa21ec13b54d3f842ed /plugins/wiimote.c | |
parent | 93b74025b5c83beba95e1e08773b59949dbd9603 (diff) | |
download | bluez-1bbc54e1f3f4c11eb40ed8d0257f65e331dbbb89.tar.gz |
wiimote: add new documented device IDs
Add some new device IDs for the LEGO wiimote and Wii U Pro Controllers.
Also add comments for each ID so we can track them better.
Diffstat (limited to 'plugins/wiimote.c')
-rw-r--r-- | plugins/wiimote.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/plugins/wiimote.c b/plugins/wiimote.c index beda3071c..6cc21ee53 100644 --- a/plugins/wiimote.c +++ b/plugins/wiimote.c @@ -59,14 +59,16 @@ */ static uint16_t wii_ids[][2] = { - { 0x057e, 0x0306 }, - { 0x057e, 0x0330 }, + { 0x057e, 0x0306 }, /* 1st gen */ + { 0x054c, 0x0306 }, /* LEGO wiimote */ + { 0x057e, 0x0330 }, /* 2nd gen */ }; static const char *wii_names[] = { - "Nintendo RVL-CNT-01", - "Nintendo RVL-CNT-01-TR", - "Nintendo RVL-WBC-01", + "Nintendo RVL-CNT-01", /* 1st gen */ + "Nintendo RVL-CNT-01-TR", /* 2nd gen */ + "Nintendo RVL-CNT-01-UC", /* Wii U Pro Controller */ + "Nintendo RVL-WBC-01", /* Balance Board */ }; static ssize_t wii_pincb(struct btd_adapter *adapter, struct btd_device *device, |