Receives WiiMote events via OSC
Make sure to uncomment the WiiMoteOSC bits in toolconfig.xml if you want to use this driver.
The OSC detour is a bit of a kludge, but unfortunately none of the Java WiiMote libraries were
satisfactory, and the Bluetooth libraries for Java didn't seem to work well with WiiMotes, either.
Instructions for Mac OS X:
- Install DarwiinRemoteOSC (http://mac.softpedia.com/get/Utilities/darwiinremoteOSC.shtml).
- Launch DarwiinRemoteOSC and pair your WiiMote with the computer (i.e., push 1 and 2 on the WiiMote
at the same time). After a few seconds, you should see some squiggly lines in the DarwiinRemoteOSC
window if you shake the WiiMote.
Instructions for Linux:
- Install wiiosc (http://www.nescivi.nl/wiiosc/).
- Launch wiiosc from the command line, with the following parameters:
wiiosc 5600 57150 127.0.0.1 auto
Pair your WiiMote with your computer (i.e., push 1 and 2 on the WiiMote at the same time). After
a few seconds, wiiosc should confirm the connection with the WiiMote.
Instructions for Windows:
- Not sure; if you're lucky, you may be able to install wiiosc and use the Linux approach.
Basically the actual constructor.
reads the config (from the RawDeviceConfig) and the viewer to set up a Device using Info of the config map. Note that in e.g. DeviceJinputController, the viwer is not even needed.