diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2009-10-03 16:02:10 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2009-10-03 16:02:10 +0000 |
commit | 8a84f615f857de6d8cc1d93a38892d0b023bfcea (patch) | |
tree | a745120978509ddd3184d1636fc50ebbd41b536e | |
parent | 7855414d370528846082416bac88e8e8d4023465 (diff) |
argh, florian just changed the libcwiid api: that's a no-go
svn path=/trunk/externals/hardware/wiimote/; revision=12513
-rw-r--r-- | makefile | 5 | ||||
-rw-r--r-- | wiimote.c | 6 |
2 files changed, 7 insertions, 4 deletions
@@ -1,5 +1,4 @@ NAME=wiimote -SYM=wiimote # If you want to use a customized Pd, then define a $PD_PATH variable. # Otherwise, the Pd must be installed on the system @@ -25,8 +24,8 @@ PD_DOC_PATH := /usr/local/lib/pd/doc endif -LIBS = $(LIBCWIID_PATH)/libcwiid.a -lbluetooth -lpthread -#LIBS = -lcwiid -lbluetooth -lpthread +#LIBS = $(LIBCWIID_PATH)/libcwiid.a -lbluetooth -lpthread +LIBS = -lcwiid -lbluetooth -lpthread current: pd_linux @@ -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"); |