Demo Wii Remote widget from WiiOperaSDK.com
The WiiRemote class automatically detects the existence of up to four Wii Remote and/or a keyboard. It reads key presses and limited motion sensing data in Internet Channel (Wii Opera) software.
This widget can be run using both a keyboard and a Wii Remote (held as either a pointer or a controller). When using a Wii Remote, it detects the 3D position, the roll angle, and button presses.