Why use it
The method is `const`, so it does not mutate the object through this API surface.
EPOK RUNTIME
Method · 1 overload
Performs `axis raw` as part of controller sampling and simulation-tick input edges.
int16_t axis_raw(Axis axis,unsigned port=0) constPerforms `axis raw` as part of controller sampling and simulation-tick input edges.
| Parameter | Type | Meaning |
|---|---|---|
axis | Axis | Value supplied for axis. Keep referenced or pointed-to data valid for the complete call. |
port | unsigned int | Value supplied for port. Keep referenced or pointed-to data valid for the complete call. |
Returns: int16_t. Check the value before continuing when it represents success, availability or a resource handle.
#include "input.hpp"
// Assume these named values have been initialized with valid data:
// Axis axis
// unsigned int port
epok::Input& object = /* obtain a valid instance */;
auto result = object.axis_raw(axis, port);The method is `const`, so it does not mutate the object through this API surface.
Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.
Declared in runtime/input.hpp:19
analogPerforms `analog` 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.Method