Toast Engine
Loading...
Searching...
No Matches
input::InputSample Struct Reference

One frame of raw input for a single keycode. More...

#include <value.hpp>

Public Attributes

float scalar = 0.0f
glm::vec2 vector {0.0f, 0.0f}
bool is_vector = false
bool present = true

Detailed Description

One frame of raw input for a single keycode.

Buttons, axes and scroll fill scalar; sticks, the touchpad and the cursor fill vector. present is false when the bound device is not currently connected


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