Interface ButtonMonitor.IButtonPressEventHandler

Enclosing class:
ButtonMonitor

Interface for classes that handle button events
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    OnButtonPress(int idx, boolean isDown)
    Method to execute when a button is pressed
  • Method Details

    • OnButtonPress

      void OnButtonPress(int idx, boolean isDown)
      Method to execute when a button is pressed
      Parameters:
      idx - Index of button pressed
      isDown - Whether the button is down or not