Epok Engine

EPOK RUNTIME

epok::ControllerPad::setRumble

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.

Method

Sets rumble as part of SIO0 controller polling and DualShock configuration.

Belongs to
epok::ControllerPad
Header
controller_pad.hpp
Overloads
1

Declaration

Declaration
void setRumble(unsigned p,uint8_t large,bool small,uint32_t remaining_us)

Sets rumble as part of SIO0 controller polling and DualShock configuration.

ParameterTypeMeaning
punsigned intNot documented; consult the linked header.
largeuint8_tNot documented; consult the linked header.
smallboolNot documented; consult the linked header.
remaining_usuint32_tNot documented; consult the linked header.

Returns: Nothing (void).

Example sketch

C++ example
#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);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/controller_pad.hpp:216

Related members