Toast Engine
Loading...
Searching...
No Matches
input_action.hpp File Reference

Asset describing a single input action and its binds. More...

#include <string>
#include <toast/assets/data.hpp>
Include dependency graph for input_action.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  assets::Action
 Asset representing one input action loaded from a .taction file. More...

Enumerations

enum class  assets::ActionValueType : uint8_t { action_0d , action_1d , action_2d }
 Value domain an action operates in.
enum class  assets::AccumulationType : uint8_t { highest , average }
 How an action combines values coming from several binds. More...

Detailed Description

Asset describing a single input action and its binds.

Author
Xein
Date
21 Jun 2026

Enumeration Type Documentation

◆ AccumulationType

enum class assets::AccumulationType : uint8_t
strong

How an action combines values coming from several binds.

Highest keeps the bind with the highest absolute value while average just does an average of all of the inputs currently affecting the value