com.metsci.glimpse.spacenav
Class SpaceNavDevice

java.lang.Object
  extended by com.metsci.glimpse.spacenav.SpaceNavDevice

public class SpaceNavDevice
extends java.lang.Object

Represents the basic functionality for recognizing the device and getting its state. It requires a little cleanup.


Field Summary
static int NUM_BUTTONS
           
 
Method Summary
static SpaceNavDevice getDevice()
           
 SpaceNavState poll()
           
static void releaseDevice(SpaceNavDevice device)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NUM_BUTTONS

public static final int NUM_BUTTONS
See Also:
Constant Field Values
Method Detail

getDevice

public static SpaceNavDevice getDevice()
                                throws SpaceNavException
Throws:
SpaceNavException

releaseDevice

public static void releaseDevice(SpaceNavDevice device)

poll

public SpaceNavState poll()
                   throws SpaceNavException
Throws:
SpaceNavException


Copyright © 2012 Metron, Inc.. All Rights Reserved.