last update: 09 Aug 2008 My other stuff ...


my other stuff

Jul. 24 2008:   v1.01a released!   (various fixes inc. extension/connection problems)

(note, the prior non-'a' 1.01 was functionally identical but the library version defines were wrong - if you downloaded it, get this version instead)

This marks the 2nd non-beta release of my free (BSD-style) fully-featured Wiimote (Nintendo Wii remote controller) native C++ library:

Watch it in action:

See more projects on my WiiYourself! Showcase Channel
(or get yours featured there!)

Originally based on Brian Peek's Managed Wiimote Library (check it out if you need .Net support), I've since rewritten and extended it considerably:

  • supports multiple Wiimotes
  • supports Nunchuks, Classic Controllers & Guitar Hero peripheral  (with reliable connections)
  • reads battery / buttons / acceleration / IR (4 dots) / triggers / joysticks  (with deadzones)
  • estimates orientation  (including Pitch and Roll)
  • can set LEDs & rumble  (with optional async duration)
  • supports all Bluetooth stacks (auto-detects output method)
  • (experimental) speaker support  (square wave & sample playback!)
  • supports polling or callbacks
  • detects connection loss / breaks.
  • threaded to multitask smoothly
  • extensive debug output.

Limitations:

  • only runs on Windows  (could be ported, contributions welcome)


Download Version:
1.01a  (see my current TODO list for known issues & more)

I don't have time to document it beyond the (extensive) code comments and included demo app - check Brian's article for a good overview & general 'Wiimote with Windows' info - but I am interested in bug reports, fixes, ideas, compiler support and new features.  Join my mailing list.


Hardware/software requirements:

  • Bluetooth receiver (built-in or USB dongle) with HID device support (list of known devices - but note that my lib is more compatible as it supports & detects two different output methods).

  • Most (all?) Bluetooth 'stacks' (software drivers) should work, provided they support HID devices.  The built-in MS ones work, as do BlueSoil/Widcomm/Toshiba (always use the latest version)... 

    Some stacks are nicer to use than others, the MS one is a pain (but works).  You can also download other stacks, but they're usually time-limited demos.

Projects using WiiYourself! : get your project listed - send details to my mailing list.
WiiCam & Wiimote Server for Maya
Wiimote/Nunchuk enables the popular 3D design program, including the ability to simulate hand-held cameras.

Wireless Gimbaled Camera: Blimp Deployment
uses WiiYourself! to wirelessly control the rotation of a camera mounted on a blimp for aerial shots.

DarkMatter Design's Boro-Toro game entry into the Dare to be Digital competition
entrants have 10 weeks to create a video game from scratch.

 

Thanks to these guys for hacking & publishing the wiimote protocols:
 
WiiLi - WiinDows - WiiBrew

HITS :   
gl.tter