Interface ControllerListener


public interface ControllerListener
Notify when the controller is updated.
Author:
Grégory Van den Borre
  • Method Details

    • controllerConnected

      default void controllerConnected()
      Triggered when the controller gets connected.
    • controllerDisconnected

      default void controllerDisconnected()
      Triggered when the controller gets disconnected.
    • controllerPress1

      default void controllerPress1()
      Triggered when the controller button 1 is pressed.
    • controllerRelease1

      default void controllerRelease1()
      Triggered when the controller button 1 is released.
    • controllerPress2

      default void controllerPress2()
      Triggered when the controller button 2 is pressed.
    • controllerRelease2

      default void controllerRelease2()
      Triggered when the controller button 2 is released.
    • controllerPress3

      default void controllerPress3()
      Triggered when the controller button 3 is pressed.
    • controllerRelease3

      default void controllerRelease3()
      Triggered when the controller button 3 is released.
    • controllerPress4

      default void controllerPress4()
      Triggered when the controller button 4 is pressed.
    • controllerRelease4

      default void controllerRelease4()
      Triggered when the controller button 4 is released.
    • controllerPressL1

      default void controllerPressL1()
      Triggered when the controller button L1 is pressed.
    • controllerReleaseL1

      default void controllerReleaseL1()
      Triggered when the controller button L1 is released.
    • controllerPressR1

      default void controllerPressR1()
      Triggered when the controller button R1 is pressed.
    • controllerReleaseR1

      default void controllerReleaseR1()
      Triggered when the controller button R1 is released.
    • controllerPressL2

      default void controllerPressL2()
      Triggered when the controller button L2 is pressed.
    • controllerReleaseR2

      default void controllerReleaseR2()
      Triggered when the controller button R2 is released.
    • controllerPressR2

      default void controllerPressR2()
      Triggered when the controller button R2 is pressed.
    • controllerReleaseL2

      default void controllerReleaseL2()
      Triggered when the controller button L2 is released.
    • controllerPressStart

      default void controllerPressStart()
      Triggered when the controller button start is pressed.
    • controllerReleaseStart

      default void controllerReleaseStart()
      Triggered when the controller button start is released.
    • controllerPressSelect

      default void controllerPressSelect()
      Triggered when the controller button select is pressed.
    • controllerReleaseSelect

      default void controllerReleaseSelect()
      Triggered when the controller button select is released.
    • controllerPressLeft

      default void controllerPressLeft()
      Triggered when the controller dpad left is pressed.
    • controllerReleaseLeft

      default void controllerReleaseLeft()
      Triggered when the controller dpad left is released.
    • controllerPressUp

      default void controllerPressUp()
      Triggered when the controller dpad up is pressed.
    • controllerReleaseUp

      default void controllerReleaseUp()
      Triggered when the controller dpad up is released.
    • controllerPressRight

      default void controllerPressRight()
      Triggered when the controller dpad right is pressed.
    • controllerReleaseRight

      default void controllerReleaseRight()
      Triggered when the controller dpad right is released.
    • controllerPressDown

      default void controllerPressDown()
      Triggered when the controller dpad down is pressed.
    • controllerReleaseDown

      default void controllerReleaseDown()
      Triggered when the controller dpad down is released.
    • controllerPressLeftStickLeft

      default void controllerPressLeftStickLeft()
    • controllerReleaseLeftStickLeft

      default void controllerReleaseLeftStickLeft()
    • controllerPressLeftStickRight

      default void controllerPressLeftStickRight()
    • controllerReleaseLeftStickRight

      default void controllerReleaseLeftStickRight()
    • controllerPressLeftStickUp

      default void controllerPressLeftStickUp()
    • controllerReleaseLeftStickUp

      default void controllerReleaseLeftStickUp()
    • controllerPressLeftStickDown

      default void controllerPressLeftStickDown()
    • controllerReleaseLeftStickDown

      default void controllerReleaseLeftStickDown()