Package ui.joysticksettings
Klasse JoystickReader
java.lang.Object
ui.joysticksettings.JoystickReader
- Alle implementierten Schnittstellen:
IJoystick
Implementation of a Joystick. Connects selected controller values with the
emulation core.
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprivate byteprivate final net.java.games.input.Controllerprivate static final doubleMaximum accepted value difference for input component.private final net.java.games.input.Componentprivate final floatprivate final net.java.games.input.Componentprivate final floatprivate longprivate final net.java.games.input.Componentprivate final floatprivate static final intPolling delay.private final net.java.games.input.Componentprivate final floatprivate final net.java.games.input.Componentprivate final float -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungJoystickReader(net.java.games.input.Controller controller, net.java.games.input.Component up, net.java.games.input.Component down, net.java.games.input.Component left, net.java.games.input.Component right, net.java.games.input.Component fire, float upValue, float downValue, float leftValue, float rightValue, float fireValue) -
Methodenübersicht
-
Felddetails
-
DELTA_VALUE
private static final double DELTA_VALUEMaximum accepted value difference for input component.- Siehe auch:
-
POLL_DELAY_IN_MS
private static final int POLL_DELAY_IN_MSPolling delay.- Siehe auch:
-
controller
private final net.java.games.input.Controller controller -
up
private final net.java.games.input.Component up -
down
private final net.java.games.input.Component down -
left
private final net.java.games.input.Component left -
right
private final net.java.games.input.Component right -
fire
private final net.java.games.input.Component fire -
lastPollingTime
private long lastPollingTime -
bits
private byte bits -
upValue
private final float upValue -
downValue
private final float downValue -
leftValue
private final float leftValue -
rightValue
private final float rightValue -
fireValue
private final float fireValue
-
-
Konstruktordetails
-
JoystickReader
public JoystickReader(net.java.games.input.Controller controller, net.java.games.input.Component up, net.java.games.input.Component down, net.java.games.input.Component left, net.java.games.input.Component right, net.java.games.input.Component fire, float upValue, float downValue, float leftValue, float rightValue, float fireValue)
-
-
Methodendetails