Class OnGamepadConnectEvent

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

public abstract class OnGamepadConnectEvent extends Event
Triggered when a gamepad has been connected.
  • Constructor Details

    • OnGamepadConnectEvent

      public OnGamepadConnectEvent()
  • 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 connected.