diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-09-12 23:32:53 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-09-21 16:50:02 +0300 |
commit | f7540d9902bb9006301adfe84c331205606eeb08 (patch) | |
tree | 8b326a711dee44b29018d6fc42f79fe7ca13de19 /plugins | |
parent | df1298294f50c60f11c6785da26aa0d66d4aa456 (diff) |
wiimote: add Wii Balance Board detection
Add the name of the Wii Balance Board so it can be paired with BlueZ like
any other Wii Remote. Reported by Florian Echtler.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/wiimote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/wiimote.c b/plugins/wiimote.c index 337d4080b..f7fad6055 100644 --- a/plugins/wiimote.c +++ b/plugins/wiimote.c @@ -76,6 +76,7 @@ static ssize_t wii_pincb(struct btd_adapter *adapter, struct btd_device *device, name[sizeof(name) - 1] = 0; if (g_str_equal(name, "Nintendo RVL-CNT-01") || + g_str_equal(name, "Nintendo RVL-WBC-01") || (vendor == 0x057e && product == 0x0306)) { DBG("Forcing fixed pin on detected wiimote %s", addr); memcpy(pinbuf, &sba, 6); |