Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
InputBinding Struct Reference

#include <InputDevice.h>

Public Member Functions

 InputBinding ()=default
 

Public Attributes

InputType type = InputType::Button
 
int primaryInput = -1
 
int alternateInput = -1
 
float axisScale = 1.0f
 
float axisDeadzone = 0.15f
 
bool invertAxis = false
 
float triggerThreshold = 0.1f
 
std::string comment
 

Detailed Description

Definition at line 55 of file InputDevice.h.

Constructor & Destructor Documentation

◆ InputBinding()

InputBinding::InputBinding ( )
default

Member Data Documentation

◆ alternateInput

int InputBinding::alternateInput = -1

Definition at line 60 of file InputDevice.h.

◆ axisDeadzone

float InputBinding::axisDeadzone = 0.15f

Definition at line 64 of file InputDevice.h.

◆ axisScale

float InputBinding::axisScale = 1.0f

Definition at line 63 of file InputDevice.h.

◆ comment

std::string InputBinding::comment

Definition at line 71 of file InputDevice.h.

◆ invertAxis

bool InputBinding::invertAxis = false

Definition at line 65 of file InputDevice.h.

◆ primaryInput

int InputBinding::primaryInput = -1

Definition at line 59 of file InputDevice.h.

◆ triggerThreshold

float InputBinding::triggerThreshold = 0.1f

Definition at line 68 of file InputDevice.h.

◆ type

InputType InputBinding::type = InputType::Button

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