de.jreality.toolsystem.raw
Interface RawDevice

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

public interface RawDevice

Author:
weissman

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

Method Detail

setEventQueue

void setEventQueue(ToolEventQueue queue)

initialize

void initialize(Viewer viewer,
                java.util.Map<java.lang.String,java.lang.Object> config)

mapRawDevice

ToolEvent mapRawDevice(java.lang.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

java.lang.String getName()