Today, David has brought his Wiimote at Mandriva office so that we make some experiments with the Wiimote linux drivers. I've started with WMD, which is a python program that can generate input events based on the info sent by the Wiimote (on Bluetooth). It just required python-xlib and pybluez to run (I've uploaded packages in Cooker), to load the uinput kernel module, and to configure it in WMD config.
Since I don't have a sensor bar here (and haven't found time to build one), I can only use the accelerometer info. I've wrote a quick patch for WMD to send button events when a reasonnable acceleration is detected on the Wiimote X axis (see the motion analysis).
By mapping the relevant buttons on Ctrl+Alt+Left on Ctrl+Alt+Right, it gives a nice result in compiz: the Wiimote makes the 3D cube rotate \o/
This is awesome! Read more @ blino
. Digg this