de.jreality.toolsystem.raw
Interface RawDevice

All Known Implementing Classes:
DeviceKeyboard, DeviceMacbookSuddenMotionSensor, DeviceMouse, DeviceOldKeyboard, DeviceSpacenav, DeviceSystemTimer, LinuxOptimusMiniDevice, WiiMoteOSC

public interface RawDevice

Author:
weissman

Method Summary
 void dispose()
           
 String getName()
           
 void initialize(Viewer viewer, Map<String,Object> config)
           
 ToolEvent mapRawDevice(String rawDeviceName, InputSlot inputDevice)
           
 void setEventQueue(ToolEventQueue queue)
           
 

Method Detail

setEventQueue

void setEventQueue(ToolEventQueue queue)

initialize

void initialize(Viewer viewer,
                Map<String,Object> config)

mapRawDevice

ToolEvent mapRawDevice(String rawDeviceName,
                       InputSlot inputDevice)
Parameters:
rawDeviceName -
inputDevice -
Returns:
a ToolEvent representing a reasonable initial value for the mapping - that means the source must be the given input slot!

dispose

void dispose()

getName

String getName()