ASW Lib
A.D.S. Games SDL Wrapper Library. A library targeted at Allegro4 users who want to switch to SDL3 and use modern c++.
Loading...
Searching...
No Matches
anonymous_namespace{action.cpp}::ActionData Struct Reference

Public Attributes

std::vector< asw::input::ActionBindingbindings
 
bool pressed { false }
 
bool released { false }
 
bool down { false }
 
float strength { 0.0F }
 
bool prev_down { false }
 Tracks the down state from the previous frame to derive axis transitions.
 

Detailed Description

Definition at line 9 of file action.cpp.

Member Data Documentation

◆ bindings

std::vector<asw::input::ActionBinding> anonymous_namespace{action.cpp}::ActionData::bindings

Definition at line 10 of file action.cpp.

◆ down

bool anonymous_namespace{action.cpp}::ActionData::down { false }

Definition at line 14 of file action.cpp.

◆ pressed

bool anonymous_namespace{action.cpp}::ActionData::pressed { false }

Definition at line 12 of file action.cpp.

◆ prev_down

bool anonymous_namespace{action.cpp}::ActionData::prev_down { false }

Tracks the down state from the previous frame to derive axis transitions.

Definition at line 18 of file action.cpp.

◆ released

bool anonymous_namespace{action.cpp}::ActionData::released { false }

Definition at line 13 of file action.cpp.

◆ strength

float anonymous_namespace{action.cpp}::ActionData::strength { 0.0F }

Definition at line 15 of file action.cpp.


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