summaryrefslogtreecommitdiff
path: root/connect.c
diff options
context:
space:
mode:
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