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/
Well, there are some caveats though: when David takes back his Wiimote and moves away, it makes my desktop rotate /o\
More info about Wii and Linux can be found on the Wiili project homepage. The relevant packages will appear in Mandriva Cooker soon, stay tunned :-)
Comments are closed for this story.
Trackbacks are closed for this story.