summaryrefslogtreecommitdiff
path: root/multimedia/xbmc/patches/cwiid-old-api.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xbmc/patches/cwiid-old-api.patch')
-rw-r--r--multimedia/xbmc/patches/cwiid-old-api.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/multimedia/xbmc/patches/cwiid-old-api.patch b/multimedia/xbmc/patches/cwiid-old-api.patch
new file mode 100644
index 0000000000..a9cb4431cb
--- /dev/null
+++ b/multimedia/xbmc/patches/cwiid-old-api.patch
@@ -0,0 +1,16 @@
+diff -Naur xbmc-12.0.orig/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp xbmc-12.0/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp
+--- xbmc-12.0.orig/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp 2013-01-29 14:20:27.000000000 +0000
++++ xbmc-12.0/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp 2013-02-02 23:13:08.422456751 +0000
+@@ -100,9 +100,11 @@
+ g_WiiRemote.ProcessNunchuck(mesg[i].nunchuk_mesg);
+ break;
+ case CWIID_MESG_ACC:
+- case CWIID_MESG_BALANCE:
+ case CWIID_MESG_CLASSIC:
++#ifndef CWIID_OLD
++ case CWIID_MESG_BALANCE:
+ case CWIID_MESG_MOTIONPLUS:
++#endif
+ //Not implemented
+ break;
+ case CWIID_MESG_UNKNOWN: