net.java.games.input
Class LinuxPOV

java.lang.Object
  extended by net.java.games.input.AbstractComponent
      extended by net.java.games.input.LinuxComponent
          extended by net.java.games.input.LinuxPOV
All Implemented Interfaces:
Component

final class LinuxPOV
extends LinuxComponent

Represents a linux button


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.java.games.input.Component
Component.Identifier, Component.POV
 
Constructor Summary
LinuxPOV(LinuxEventComponent component_x, LinuxEventComponent component_y)
           
 
Method Summary
 float convertValue(float value, LinuxAxisDescriptor descriptor)
           
protected  float poll()
           
 
Methods inherited from class net.java.games.input.LinuxComponent
getComponent, getDeadZone, isAnalog, isRelative
 
Methods inherited from class net.java.games.input.AbstractComponent
getEventValue, getIdentifier, getName, getPollData, resetHasPolled, setEventValue, setPollData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinuxPOV

public LinuxPOV(LinuxEventComponent component_x,
                LinuxEventComponent component_y)
Method Detail

poll

protected final float poll()
                    throws java.io.IOException
Overrides:
poll in class LinuxComponent
Throws:
java.io.IOException

convertValue

public float convertValue(float value,
                          LinuxAxisDescriptor descriptor)
Overrides:
convertValue in class LinuxComponent