Archive for the 'wii coding' Category

Update on my Wiimote things…

Thursday, January 4th, 2007

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).

Playing with Wiimote / Bidouilles avec Wiimote

Sunday, December 17th, 2006

Even if I don’t own a Wii now, I bought a Wiimote, and I’m doing experimentation with Bluetooth. Here’s a small demo thats dumps and injects Miis of a Wiimote (Linux only):

mii_tools (source, GPL): http://thoduv.drunkencoders.com/wii/mii_tool_17122006.tar.gz (needs bluetooth headers).

You’ll need a Bluetooth adapter and bluetooth modules loaded.

WARNING: If the reading functionnality works well, I did less testing on writing (at worst, your Miis may be deleted from the Wiimote). Feedback may be appreciated.

Même si je n’ai pas encore de Wii, j’ai acheté une Wiimote, et je fais quelques bidouilles avec du Bluetooth. Voilà une petite démo qui permet de télécharger/injecter des Miis d’une Wiimote (sous Linux évidemment) :

mii_tools (source, GPL): http://thoduv.drunkencoders.com/wii/mii_tool_17122006.tar.gz (nécessite les headers bluetooth).

Vous aurez besoin d’un adaptateur bluetooth et des modules bluetooth chargés.

ATTENTION: Si la lecture fonctionne, l’écriture *peut* poser problème (rien de grave, au pire vos Miis effacés de la télécommande), des retours d’expériences seraient appréciés.