Interface for classes that handle button events.
More...
#include <ctre/phoenix/tasking/ButtonMonitor.h>
Interface for classes that handle button events.
◆ ~IButtonPressEventHandler()
virtual ctre::phoenix::tasking::ButtonMonitor::IButtonPressEventHandler::~IButtonPressEventHandler |
( |
| ) |
|
|
inlinevirtual |
◆ OnButtonPress()
virtual void ctre::phoenix::tasking::ButtonMonitor::IButtonPressEventHandler::OnButtonPress |
( |
int |
idx, |
|
|
bool |
isDown |
|
) |
| |
|
pure virtual |
Method to execute when a button is pressed.
- Parameters
-
idx | Index of button pressed |
isDown | Whether the button is down or not |
The documentation for this class was generated from the following file: