Package zombie.input

Class JoypadManager

java.lang.Object
zombie.input.JoypadManager

public class JoypadManager
extends java.lang.Object
  • Field Details

    • instance

      public static JoypadManager instance
    • Joypads

      public JoypadManager.Joypad[] Joypads
    • JoypadsController

      public JoypadManager.Joypad[] JoypadsController
    • JoypadList

      public java.util.ArrayList JoypadList
    • ActiveControllerNames

      public java.util.HashSet ActiveControllerNames
  • Constructor Details

    • JoypadManager

      public JoypadManager()
  • Method Details

    • addJoypad

      public JoypadManager.Joypad addJoypad​(int int1, java.lang.String string)
    • reloadControllerFiles

      public void reloadControllerFiles()
    • assignJoypad

      public void assignJoypad​(int int1, int int2)
    • getFromPlayer

      public JoypadManager.Joypad getFromPlayer​(int int1)
    • getFromControllerID

      public JoypadManager.Joypad getFromControllerID​(int int1)
    • onPressed

      public void onPressed​(int int1, int int2)
    • isDownPressed

      public boolean isDownPressed​(int int1)
    • isUpPressed

      public boolean isUpPressed​(int int1)
    • isRightPressed

      public boolean isRightPressed​(int int1)
    • isLeftPressed

      public boolean isLeftPressed​(int int1)
    • isLBPressed

      public boolean isLBPressed​(int int1)
    • isRBPressed

      public boolean isRBPressed​(int int1)
    • isL3Pressed

      public boolean isL3Pressed​(int int1)
    • isR3Pressed

      public boolean isR3Pressed​(int int1)
    • isRTPressed

      public boolean isRTPressed​(int int1)
    • isLTPressed

      public boolean isLTPressed​(int int1)
    • isAPressed

      public boolean isAPressed​(int int1)
    • isBPressed

      public boolean isBPressed​(int int1)
    • isXPressed

      public boolean isXPressed​(int int1)
    • isYPressed

      public boolean isYPressed​(int int1)
    • getMovementAxisX

      public float getMovementAxisX​(int int1)
    • getMovementAxisY

      public float getMovementAxisY​(int int1)
    • getAimingAxisX

      public float getAimingAxisX​(int int1)
    • getAimingAxisY

      public float getAimingAxisY​(int int1)
    • onPressedAxis

      public void onPressedAxis​(int int1, int int2)
    • onPressedAxisNeg

      public void onPressedAxisNeg​(int int1, int int2)
    • onPressedPov

      public void onPressedPov​(int int1)
    • getDeadZone

      public float getDeadZone​(int int1, int int2)
    • setDeadZone

      public void setDeadZone​(int int1, int int2, float float1)
    • saveControllerSettings

      public void saveControllerSettings​(int int1)
    • getLastActivity

      public long getLastActivity​(int int1)
    • setControllerActive

      public void setControllerActive​(java.lang.String string, boolean boolean1)
    • syncActiveControllers

      public void syncActiveControllers()
    • Reset

      public void Reset()