aboutsummaryrefslogtreecommitdiff
path: root/wiimote.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-10-03 16:02:10 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-10-03 16:02:10 +0000
commit8a84f615f857de6d8cc1d93a38892d0b023bfcea (patch)
treea745120978509ddd3184d1636fc50ebbd41b536e /wiimote.c
parent7855414d370528846082416bac88e8e8d4023465 (diff)
argh, florian just changed the libcwiid api: that's a no-go
svn path=/trunk/externals/hardware/wiimote/; revision=12513
Diffstat (limited to 'wiimote.c')
-rw-r--r--wiimote.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/wiimote.c b/wiimote.c
index 94a1930..95fa044 100644
--- a/wiimote.c
+++ b/wiimote.c
@@ -479,8 +479,12 @@ void cwiid_doConnect(t_wiimote *x, t_symbol *addr, t_symbol *dongaddr)
}
// connect:
-
+#if 0
+#warning florian, you cannot just change the cwiid_open() function
x->wiimote = cwiid_open(&bdaddr, dong_bdaddr_ptr, CWIID_FLAG_MESG_IFC);
+#else
+ x->wiimote = cwiid_open(&bdaddr, CWIID_FLAG_MESG_IFC);
+#endif
if(NULL==x->wiimote) {
post("wiimote error: unable to connect");