ImagoEngine
A C++ 2D game engine built on a sparse-set ECS, with scenes, scheduled systems, events, and action-based input
Loading...
Searching...
No Matches
Imago::Engine::GamepadAxisSource Struct Reference

A gamepad axis motion that drives an action. Reads as a strength rescaled to a dead zone and scaled to a magnitude between 0-1. More...

#include <Imago/Engine/InputSource.hpp>

Public Attributes

GamepadAxis axis

Detailed Description

A gamepad axis motion that drives an action. Reads as a strength rescaled to a dead zone and scaled to a magnitude between 0-1.

Also reads as held when the axis is pressed past a threshold.


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