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.
Performs `initialize` as part of SIO0 controller polling and DualShock configuration.
void initialize(bool enable_rumble=false)Performs `initialize` as part of SIO0 controller polling and DualShock configuration.
| Parameter | Type | Meaning |
|---|---|---|
enable_rumble | bool | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "controller_pad.hpp"
// Assume these named values have been initialized with valid data:
// bool enable_rumble
epok::ControllerPad& object = /* obtain a valid instance */;
object.initialize(enable_rumble);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/controller_pad.hpp:202
getAdcReturns adc as part of SIO0 controller polling and DualShock configuration.MethodgetPadTypeReturns pad type 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