Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
Method · 1 overload
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.
Returns adc as part of SIO0 controller polling and DualShock configuration.
uint8_t getAdc(Pad pad,unsigned axis)constReturns adc as part of SIO0 controller polling and DualShock configuration.
| Parameter | Type | Meaning |
|---|---|---|
pad | Pad | Not documented; consult the linked header. |
axis | unsigned int | Not documented; consult the linked header. |
Returns: uint8_t. Consult the linked header for its meaning.
#include "controller_pad.hpp"
// Assume these named values have been initialized with valid data:
// Pad pad
// unsigned int axis
epok::ControllerPad& object = /* obtain a valid instance */;
auto result = object.getAdc(pad, axis);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/controller_pad.hpp:212
getPadTypeReturns pad type as part of SIO0 controller polling and DualShock configuration.MethodinitializePerforms `initialize` as part of SIO0 controller polling and DualShock configuration.MethodisButtonPressedReports whether button pressed as part of SIO0 controller polling and DualShock configuration.MethodisPadConnectedReports whether pad connected as part of SIO0 controller polling and DualShock configuration.MethodrumbleProbingPerforms `rumble probing` as part of SIO0 controller polling and DualShock configuration.MethodrumbleSupportedPerforms `rumble supported` as part of SIO0 controller polling and DualShock configuration.MethodsetRumbleSets rumble as part of SIO0 controller polling and DualShock configuration.MethodstopRumbleStops rumble as part of SIO0 controller polling and DualShock configuration.MethodsynchronizeA long card transaction or blocked game frame may let the controller's own watchdog forget its configuration.MethodtracePerforms `trace` as part of SIO0 controller polling and DualShock configuration.Method