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.
Reports whether pad connected as part of SIO0 controller polling and DualShock configuration.
bool isPadConnected(Pad pad)constReports whether pad connected as part of SIO0 controller polling and DualShock configuration.
| Parameter | Type | Meaning |
|---|---|---|
pad | Pad | Not documented; consult the linked header. |
Returns: bool. Consult the linked header for its meaning.
#include "controller_pad.hpp"
// Assume these named values have been initialized with valid data:
// Pad pad
epok::ControllerPad& object = /* obtain a valid instance */;
auto result = object.isPadConnected(pad);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/controller_pad.hpp:209
getAdcReturns adc as part of SIO0 controller polling and DualShock configuration.MethodgetPadTypeReturns 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.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