Update on my Wiimote things…
Here: http://thoduv.drunkencoders.com/wii/wiimote_04012007.tar.gz (source, GPL)
It includes:
- wiimote.c: Functions to communicate with the Wiimote. Supports buttons, leds, rumble, memory reading/writing, IR (broken, or works sometimes, weird…), accelerometter reading (just receiving x,y,z. I don’t have math skills for more), expansion port control and init (can’t do much as I don’t own any Nunchuk nor Classic controller), basic speaker init (limited to the status of knowledge about the speaker),…
- ir_test: SDL display of IR dots (needs SDL)
- motion_test: OpenGL display of accelerometers axes (needs OpenGL)
- exp_test: Allows to detect the presence of an expansion device and to init the device.
- mii_tool: Small tool for reading/writing Miis (write seems to be broken though).
- speaker_test: Plays a annoying note through the speaker (sometimes it doesn’t work) (Based on Carl Kenner discoveries) (uses SDL for timing).
January 23rd, 2007 at 7:01 am
Ben pb pour compiler, j’ai pas les library bluetooth. Je suis sous windows, donc apres c surement a cause de ca.
Pourrait tu donner les dependances requises pour compiler ton code, voir les liens vers les ressources ?
En tout cas bon boulot
January 23rd, 2007 at 11:52 am
Désolé, mais c’est pour Linux uniquement. La communication bluetooth dépend complètement du système, ce n’est donc pas portable du tout.