Nebula
Loading...
Searching...
No Matches
Input::ActionBinding Struct Reference

#include <actionmap.h>

Detailed Description

One control.

code is the code for its source: a Key::Code, a MouseButton::Code, or a GamePadBase button or axis. For a mouse move it is the component, 0 for x and 1 for y.

Public Attributes

SourceType source = InvalidSource
IndexT code = InvalidIndex
Input::Modifier::Code mods = Input::Modifier::NoModifier
float scale = 1.0f

Member Data Documentation

◆ code

IndexT Input::ActionBinding::code = InvalidIndex

◆ mods

Input::Modifier::Code Input::ActionBinding::mods = Input::Modifier::NoModifier

◆ scale

float Input::ActionBinding::scale = 1.0f

◆ source

SourceType Input::ActionBinding::source = InvalidSource

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