QDriverStation
The free, cross-platform FRC Driver Station
|
Listens for keyboard events and acts if a shortcut has been activated. More...
#include <shortcuts.h>
Private Member Functions | |
bool | eventFilter (QObject *object, QEvent *event) |
Listens for keyboard events and acts if a shortcut has been activated.
This allows us to implement safety features, such as triggering an emergency stop when pressing the spacebar, or disabling the robot when pressing enter.