EPOK RUNTIME
epok::Input
Class
Class
Class declared by the input module for controller sampling and simulation-tick input edges.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. Open a member below for an operation-specific example.
C++ example
#include "input.hpp"
epok::Input& value = /* obtain a valid instance from your game */;Public methods
begin_tickBegins tick as part of controller sampling and simulation-tick input edges.MethodconnectedPerforms `connected` as part of controller sampling and simulation-tick input edges.Methoddiscard_edgesPerforms `discard edges` as part of controller sampling and simulation-tick input edges.Methodend_tickEnds tick as part of controller sampling and simulation-tick input edges.Methodframe_pressedPerforms `frame pressed` as part of controller sampling and simulation-tick input edges.Methodframe_releasedPerforms `frame released` as part of controller sampling and simulation-tick input edges.MethodheldPerforms `held` as part of controller sampling and simulation-tick input edges.MethodpollPolls poll as part of controller sampling and simulation-tick input edges.Function templatepressedPerforms `pressed` as part of controller sampling and simulation-tick input edges.MethodreleasedPerforms `released` as part of controller sampling and simulation-tick input edges.MethodresetResets reset as part of controller sampling and simulation-tick input edges.MethodsampleSampling accumulates edges until a simulation tick consumes them.Method