de.jreality.toolsystem.raw
Class LinuxOptimusMiniDevice

java.lang.Object
  extended by de.jreality.toolsystem.raw.LinuxOptimusMiniDevice
All Implemented Interfaces:
RawDevice

public class LinuxOptimusMiniDevice
extends Object
implements RawDevice


Constructor Summary
LinuxOptimusMiniDevice()
           
 
Method Summary
 void buttonPressed(int buttonID)
           
 void dispose()
           
 String getName()
           
 void initialize(Viewer viewer, Map<String,Object> config)
           
 ToolEvent mapRawDevice(String rawDeviceName, InputSlot inputDevice)
           
 void messageReceived(OSCMessage msg, SocketAddress addr, long time)
           
 void setEventQueue(ToolEventQueue queue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinuxOptimusMiniDevice

public LinuxOptimusMiniDevice()
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface RawDevice

getName

public String getName()
Specified by:
getName in interface RawDevice

initialize

public void initialize(Viewer viewer,
                       Map<String,Object> config)
Specified by:
initialize in interface RawDevice

mapRawDevice

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

setEventQueue

public void setEventQueue(ToolEventQueue queue)
Specified by:
setEventQueue in interface RawDevice

buttonPressed

public void buttonPressed(int buttonID)

messageReceived

public void messageReceived(OSCMessage msg,
                            SocketAddress addr,
                            long time)