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.
Sets rumble as part of SIO0 controller polling and DualShock configuration.
void setRumble(unsigned p,uint8_t large,bool small,uint32_t remaining_us)Sets rumble as part of SIO0 controller polling and DualShock configuration.
| Parameter | Type | Meaning |
|---|---|---|
p | unsigned int | Not documented; consult the linked header. |
large | uint8_t | Not documented; consult the linked header. |
small | bool | Not documented; consult the linked header. |
remaining_us | uint32_t | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "controller_pad.hpp"
// Assume these named values have been initialized with valid data:
// unsigned int p
// uint8_t large
// bool small
// uint32_t remaining_us
epok::ControllerPad& object = /* obtain a valid instance */;
object.setRumble(p, large, small, remaining_us);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/controller_pad.hpp:216
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.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.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