Klasse JoystickReader

java.lang.Object
ui.joysticksettings.JoystickReader
Alle implementierten Schnittstellen:
IJoystick

final class JoystickReader extends Object implements IJoystick
Implementation of a Joystick. Connects selected controller values with the emulation core.
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    private byte
     
    private net.java.games.input.Controller
     
    private static final double
    Maximum accepted value difference for input component.
    private net.java.games.input.Component
     
    private float
     
    private net.java.games.input.Component
     
    private float
     
    private long
     
    private net.java.games.input.Component
     
    private float
     
    private static final int
    Polling delay.
    private net.java.games.input.Component
     
    private float
     
    private net.java.games.input.Component
     
    private float
     
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    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)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    byte
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • DELTA_VALUE

      private static final double DELTA_VALUE
      Maximum accepted value difference for input component.
      Siehe auch:
    • POLL_DELAY_IN_MS

      private static final int POLL_DELAY_IN_MS
      Polling delay.
      Siehe auch:
    • controller

      private net.java.games.input.Controller controller
    • up

      private net.java.games.input.Component up
    • down

      private net.java.games.input.Component down
    • left

      private net.java.games.input.Component left
    • fire

      private net.java.games.input.Component fire
    • lastPollingTime

      private long lastPollingTime
    • bits

      private byte bits
    • upValue

      private float upValue
    • downValue

      private float downValue
    • leftValue

      private float leftValue
    • rightValue

      private float rightValue
    • fireValue

      private 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

    • getValue

      public byte getValue()
      Angegeben von:
      getValue in Schnittstelle IJoystick