Class OnGamepadDisconnectEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnGamepadDisconnectEvent

public abstract class OnGamepadDisconnectEvent extends Event
Triggered when a gamepad has been disconnected.
  • Constructor Details

    • OnGamepadDisconnectEvent

      public OnGamepadDisconnectEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(Integer controllerID)
      Called Event Handling Method
      Parameters:
      controllerID - The identifier of the gamepad which has been disconnected.