Package zombie.core.input
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 floatpollData -
Constructor Summary
Constructors Modifier Constructor Description protectedXInputComponent(java.lang.String name, net.java.games.input.Component.Identifier id) -
Method Summary
Modifier and Type Method Description booleanisRelative()protected floatpoll()Methods inherited from class net.java.games.input.AbstractComponent
getDeadZone, getIdentifier, getName, getPollData, isAnalog, toStringMethods 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 name, net.java.games.input.Component.Identifier id)
-
-
Method Details
-
poll
protected float poll() throws java.io.IOException- Specified by:
pollin classnet.java.games.input.AbstractComponent- Throws:
java.io.IOException
-
isRelative
public boolean isRelative()
-