Package com.ctre.phoenix
Interface ButtonMonitor.IButtonPressEventHandler
- Enclosing class:
- ButtonMonitor
public static interface ButtonMonitor.IButtonPressEventHandler
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
Method to execute when a button is pressed- Parameters:
idx
- Index of button pressedisDown
- Whether the button is down or not
-