summaryrefslogtreecommitdiff
path: root/connect.c
diff options
context:
space:
mode:
authorSam Spilsbury <Sam@XPS-SUSE.site>2008-11-30 00:44:21 +0900
committerSam Spilsbury <Sam@XPS-SUSE.site>2008-11-30 00:44:21 +0900
commit0ec102653073f354b91ab9694de43ae0b6641186 (patch)
tree95490780e70f6c443cce88072456254c53e6919e /connect.c
parent11c94add14eda814490eb82bb73027dfae98bb6d (diff)
downloadwiimote-0ec102653073f354b91ab9694de43ae0b6641186.tar.gz
wiimote-0ec102653073f354b91ab9694de43ae0b6641186.tar.bz2
* Use new options system
Diffstat (limited to 'connect.c')
-rw-r--r--connect.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/connect.c b/connect.c
index 8e487cb..9fc528c 100644
--- a/connect.c
+++ b/connect.c
@@ -357,7 +357,11 @@ Bool checkConnected (void *vd)
/* Set the id */
- cmpwiimote->id = cwiid_get_id (ad->cWiimote[ad->nWiimote].wiimote);
+ cmpwiimote->id = cwiid_get_id (cmpwiimote->wiimote);
+
+ reloadOptionsForWiimote (d, cmpwiimote);
+ reloadGesturesForWiimote (d, cmpwiimote);
+ reloadReportersForWiimote (d, cmpwiimote);
/* Increment the Wiimote iter to
* allow another CompWiimote to initialise