net.java.games.input
Class WinTabDevice

java.lang.Object
  extended by AbstractController
      extended by net.java.games.input.WinTabDevice

public class WinTabDevice
extends AbstractController


Method Summary
static WinTabDevice createDevice(WinTabContext context, int deviceIndex)
           
protected  boolean getNextDeviceEvent(Event event)
           
 Type getType()
           
protected  void pollDevice()
           
 void processPacket(WinTabPacket packet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNextDeviceEvent

protected boolean getNextDeviceEvent(Event event)
                              throws java.io.IOException
Throws:
java.io.IOException

pollDevice

protected void pollDevice()
                   throws java.io.IOException
Throws:
java.io.IOException

getType

public Type getType()

processPacket

public void processPacket(WinTabPacket packet)

createDevice

public static WinTabDevice createDevice(WinTabContext context,
                                        int deviceIndex)