|
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++.
|
Classes | |
| struct | ActionData |
Functions | |
| bool | binding_is_down (const asw::input::ActionBinding &binding, float &out_strength) |
| Returns true if the binding is currently active, and updates out_strength. | |
| bool | binding_is_pressed (const asw::input::ActionBinding &binding) |
| bool | binding_is_released (const asw::input::ActionBinding &binding) |
| Returns true if the binding was released this frame (digital sources only). | |
Variables | |
| std::unordered_map< std::string, ActionData > | action_map |
| bool anonymous_namespace{action.cpp}::binding_is_down | ( | const asw::input::ActionBinding & | binding, |
| float & | out_strength ) |
Returns true if the binding is currently active, and updates out_strength.
Definition at line 28 of file action.cpp.
| bool anonymous_namespace{action.cpp}::binding_is_pressed | ( | const asw::input::ActionBinding & | binding | ) |
Returns true if the binding was pressed this frame (digital sources only). Axis bindings return false here — their transitions are handled via prev_down.
Definition at line 73 of file action.cpp.
| bool anonymous_namespace{action.cpp}::binding_is_released | ( | const asw::input::ActionBinding & | binding | ) |
Returns true if the binding was released this frame (digital sources only).
Definition at line 97 of file action.cpp.
| std::unordered_map<std::string, ActionData> anonymous_namespace{action.cpp}::action_map |
Definition at line 21 of file action.cpp.