Why use it
Template dispatch is resolved at compile time and normally adds no runtime indirection.
EPOK RUNTIME
Function template · 1 overload
AdvancedPad indexes the four sockets of a multitap on the first physical port as 0..3 (the second physical port begins at 4).
template<class PadReader> void poll_multitap(const PadReader& pad)AdvancedPad indexes the four sockets of a multitap on the first physical port as 0..3 (the second physical port begins at 4).
| Parameter | Type | Meaning |
|---|---|---|
pad | const PadReader & | Value supplied for pad. Keep referenced or pointed-to data valid for the complete call. |
Returns: Nothing (void).
#include "input.hpp"
// Replace these template arguments with types or values accepted by the declaration:
// PadReader
// Assume these named values have been initialized with valid data:
// const PadReader & pad
epok::Input& object = /* obtain a valid instance */;
object.poll_multitap<PadReader>(pad);Template dispatch is resolved at compile time and normally adds no runtime indirection.
Every instantiated type must satisfy the header's compile-time requirements; extra instantiations can increase code size. Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.
Declared in runtime/input.hpp:65
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 templatepressedPerforms `pressed` as part of controller sampling and simulation-tick input edges.MethodreleasedPerforms `released` as part of controller sampling and simulation-tick input edges.Method