Epok Engine

EPOK RUNTIME

epok::input

Variable

Variable

Exposes `input` on the `epok` namespace for controller sampling and simulation-tick input edges.

Belongs to
epok
Header
input.hpp

Declaration

Declaration
Input input

Exposes `input` on the `epok` namespace for controller sampling and simulation-tick input edges.

Type
Input
Storage
Namespace scope

Example

C++ example
#include "input.hpp"

auto value = epok::input;

When it helps

Use this member when you need direct access to the state represented by its declared type.

Trade-offs and warnings

Direct field access has no validation step. Keep the owning object alive, respect units and ranges, and do not mutate state while hardware or another subsystem is consuming it.

Declared in runtime/input.hpp:47