I use a wiimote in Linux using the
cwiid api in my device daemon that grabs joystick and wiimote events and slings them over OSC to pd.
The wiimote has a 3 axis acceleramator and sends the x, y, z positions and you can easily calculate mean acc, roll, and pitch.
You can also access the ir camera. The wiimote itself determines the spots of light it sees and sends pixel postions aka (140, 100) relative to the resolution on the camera which is about 200x200 if i remember correctly.
I have tested this with candles and you can mess with "virtual sliders" etc by pointing it at a ir source, if you remove the black plastic cover, then the camera pics up regular light sources such as incandescent blubs.
And of course, you get all the button events.