Tag: WiiMote
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..






