VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::InputBinding Struct Reference

Struct representing an input binding. SDL_Scancode, state and std::function containing the action to be performed. More...

#include <InputComponent.hpp>

Public Attributes

SDL_Scancode scancode
InputActionState state
std::function< void(float)> action

Detailed Description

Struct representing an input binding. SDL_Scancode, state and std::function containing the action to be performed.

Definition at line 31 of file InputComponent.hpp.

Member Data Documentation

◆ action

std::function<void(float)> vex::InputBinding::action

Definition at line 34 of file InputComponent.hpp.

◆ scancode

SDL_Scancode vex::InputBinding::scancode

Definition at line 32 of file InputComponent.hpp.

◆ state

InputActionState vex::InputBinding::state

Definition at line 33 of file InputComponent.hpp.


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