- A Trust 17124 Bluetooth adapter. Works out of the box in Linux, needs a driver for Windows.
- A Shiro "Wü Remote" (sic). Cheap wiimote clone.
Windows:
- Install the driver, plug in the Bluetooth adapter, run the Bluetooth software, put the wiimote into discovery mode (hold down buttons 1 and 2). The wiimote is found, and the software then asks for a PIN.
- Swear, poke around on the web, find this YouTube video which explains how to skip the PIN.
- Press ALT-S when the program asks for the PIN.
- Confirm that the wiimote is now recognised as a device - the status shows some bytes being transferred when I press buttons.
- Go back to my office because the over-efficient heating in the PC lab is making me uncomfortable.
- Discover this blog post which links to the CWiid library.
- sudo apt-get install wminput wmgui lswm
- lswm and wmgui work as advertised. With wmgui I can see button presses and accelerometer data (which is the main thing I'm interested in).
- Investigate CWiid. It has a Python interface!
- Write a simple Python program to change the LED status.
- That's enough for a Friday afternoon.
- Get the wiimote working with LabVIEW?
No comments:
Post a Comment