WiiMoteControl
by rullzer on Dec.04, 2008, under Hardware, Linux, Programming things
I have been playing the idea to control my PC with a WiiMote for some time now. But this week I decided to actually write it.
It is a very simple program using bluez for the bluetooth connection with the WiiMote (which we need, obviously) and XTestFakeKeyEvent. This has as a side effect that it will only work with X running. But that should not be a problem since well. Who would want to control his terminal with a WiiMote?
The very very basics is done. The D-Pad on the WiiMote generates up/down/left/right-keyevents. I just need to find a use full meaning for the other buttons. But maybe a control file in which the user can specify all is a better solution.
Currently it is not published on-line (yet) since I need to clean the code a little.
I am aware some other programs can do what I want but after checking out the sources they just seem to complex. I want it all simple, clean and small..







December 4th, 2008 on 11:32 pm
Have you had a look at cwiid (http://abstrakraft.org/cwiid/), it’s pretty complete.
December 4th, 2008 on 11:46 pm
I checked out that pacakage. However that requires me to use uinput reconfigure udev etc. XTest runs almost everywhere where X is running (if I’m not mistaken). But thanks I’ll dive into the source to see how they fixed some problems.
November 15th, 2011 on 8:36 pm
Thanks for another informative site. Where else could I get that kind of info written in such a perfect way? I’ve a project that I’m just now working on, and I’ve been on the look out for such info.
November 21st, 2011 on 10:56 pm
Hey presently there, You have completed an amazing work. I’ll surely digg this as well as individually advise for you to my buddies. I’m positive they’ll end up being took advantage of this kind of web site.
January 30th, 2012 on 1:00 am
Hey I am so grateful I found your site, I really found you by mistake, while I was researching on Yahoo for something else, Anyhow I am here now and would just like to say thanks a lot for a tremendous post and a all round exciting blog (I also love the theme/design), I donę° have time to look over it all at the minute but I have bookmarked it and also added in your RSS feeds, so when I have time I will be back to read a great deal more, Please do keep up the awesome job.