| Constructor and Description |
|---|
DeviceSpacenav() |
| Modifier and Type | Method and Description |
|---|---|
void |
button(SpaceNavButtonEvent e) |
void |
dispose() |
String |
getName() |
void |
initialize(Viewer viewer,
Map<String,Object> config)
Basically the actual constructor.
|
ToolEvent |
mapRawDevice(String rawDeviceName,
InputSlot inputDevice) |
void |
motion(SpaceNavMotionEvent e) |
void |
run() |
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 button(SpaceNavButtonEvent e)
public void motion(SpaceNavMotionEvent e)