2022-Robot
Robot code for 2022 FRC Season by Argos, FRC team #1756
Loading...
Searching...
No Matches
argos_lib::XboxController::UpdateStatus Struct Reference

State of an individual button. More...

#include <xbox_controller.h>

Public Attributes

bool pressed = false
 Transitioned from inactive to active. More...
 
bool released = false
 Transitioned from active to inactive. More...
 
bool debouncePress = false
 Transitioned from inactive to active after debounce applied. More...
 
bool debounceRelease = false
 Transitioned from active to inactive after debounce applied. More...
 
bool rawActive = false
 Raw button status. More...
 
bool debounceActive = false
 Button status after debounce applied. More...
 

Detailed Description

State of an individual button.

Member Data Documentation

◆ debounceActive

bool argos_lib::XboxController::UpdateStatus::debounceActive = false

Button status after debounce applied.

◆ debouncePress

bool argos_lib::XboxController::UpdateStatus::debouncePress = false

Transitioned from inactive to active after debounce applied.

◆ debounceRelease

bool argos_lib::XboxController::UpdateStatus::debounceRelease = false

Transitioned from active to inactive after debounce applied.

◆ pressed

bool argos_lib::XboxController::UpdateStatus::pressed = false

Transitioned from inactive to active.

◆ rawActive

bool argos_lib::XboxController::UpdateStatus::rawActive = false

Raw button status.

◆ released

bool argos_lib::XboxController::UpdateStatus::released = false

Transitioned from active to inactive.


The documentation for this struct was generated from the following file: