Avionics
Dropship Simulator
Devices::JoystickConfig::Button Struct Reference

#include <Joystick.h>

Collaboration diagram for Devices::JoystickConfig::Button:
[legend]

Public Attributes

UINT index
 
bool onPress
 
float durationRequired = 0.0f
 
float durationElapsed = 0.0f
 
bool durationTripped = false
 
std::vector< Commandcommands
 

Detailed Description

Definition at line 35 of file Joystick.h.

Member Data Documentation

◆ commands

std::vector<Command> Devices::JoystickConfig::Button::commands

Definition at line 42 of file Joystick.h.

◆ durationElapsed

float Devices::JoystickConfig::Button::durationElapsed = 0.0f

Definition at line 40 of file Joystick.h.

◆ durationRequired

float Devices::JoystickConfig::Button::durationRequired = 0.0f

Definition at line 39 of file Joystick.h.

◆ durationTripped

bool Devices::JoystickConfig::Button::durationTripped = false

Definition at line 41 of file Joystick.h.

◆ index

UINT Devices::JoystickConfig::Button::index

Definition at line 37 of file Joystick.h.

◆ onPress

bool Devices::JoystickConfig::Button::onPress

Definition at line 38 of file Joystick.h.


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