public class Device3DConnexionHID extends Object implements RawDevice, PollingDevice
Constructor and Description |
---|
Device3DConnexionHID() |
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 |
poll(long when)
Perform polling for the device in this method.
|
void |
setEventQueue(ToolEventQueue queue)
Here the ToolEventQueue that has a thread running is attached to the device.
|
public void poll(long when)
PollingDevice
poll
in interface PollingDevice
public ToolEvent mapRawDevice(String rawDeviceName, InputSlot inputDevice)
mapRawDevice
in interface RawDevice
public void setEventQueue(ToolEventQueue queue)
RawDevice
setEventQueue
in interface RawDevice
public void initialize(Viewer viewer, Map<String,Object> config)
RawDevice
initialize
in interface RawDevice