EPOK RUNTIME
epok::Input
Class
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Class
Class declared by the input module for controller sampling and simulation-tick input edges.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. 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
analogPerforms `analog` as part of controller sampling and simulation-tick input edges.Methodaxis_rawPerforms `axis raw` as part of controller sampling and simulation-tick input edges.Methodbegin_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 templatepoll_multitapAdvancedPad indexes the four sockets of a multitap on the first physical port as 0..3 (the second physical port begins at 4).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