Class XInputComponent

java.lang.Object
net.java.games.input.AbstractComponent
zombie.core.input.XInputComponent
All Implemented Interfaces:
net.java.games.input.Component

public class XInputComponent
extends net.java.games.input.AbstractComponent
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.java.games.input.Component

    net.java.games.input.Component.Identifier, net.java.games.input.Component.POV
  • Field Summary

    Fields
    Modifier and Type Field Description
    float pollData  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected XInputComponent​(java.lang.String string, net.java.games.input.Component.Identifier identifier)  
  • Method Summary

    Modifier and Type Method Description
    boolean isRelative()  
    protected float poll()  

    Methods inherited from class net.java.games.input.AbstractComponent

    getDeadZone, getIdentifier, getName, getPollData, isAnalog, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • pollData

      public float pollData
  • Constructor Details

    • XInputComponent

      protected XInputComponent​(java.lang.String string, net.java.games.input.Component.Identifier identifier)
  • Method Details

    • poll

      protected float poll() throws java.io.IOException
      Specified by:
      poll in class net.java.games.input.AbstractComponent
      Throws:
      java.io.IOException
    • isRelative

      public boolean isRelative()