public class WiiMoteOSC extends Object implements RawDevice
| Constructor and Description |
|---|
WiiMoteOSC() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
String |
getName() |
void |
initialize(Viewer viewer,
Map<String,Object> config)
Basically the actual constructor.
|
ToolEvent |
mapRawDevice(String rawDeviceName,
InputSlot inputDevice) |
void |
messageReceived(OSCMessage msg,
SocketAddress sender,
long time) |
void |
setEventQueue(ToolEventQueue queue)
Here the ToolEventQueue that has a thread running is attached to the device.
|
public void initialize(Viewer viewer, Map<String,Object> config)
RawDeviceinitialize in interface RawDevicepublic ToolEvent mapRawDevice(String rawDeviceName, InputSlot inputDevice)
mapRawDevice in interface RawDevicepublic void setEventQueue(ToolEventQueue queue)
RawDevicesetEventQueue in interface RawDevicepublic void messageReceived(OSCMessage msg,
SocketAddress sender,
long time)