Epok Engine

EPOK RUNTIME

epok::ControllerPad::isPadConnected

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

Reports whether pad connected as part of SIO0 controller polling and DualShock configuration.

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

Declaration

const
Declaration
bool isPadConnected(Pad pad)const

Reports whether pad connected as part of SIO0 controller polling and DualShock configuration.

ParameterTypeMeaning
padPadNot documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

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

Trade-offs and warnings

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

Declared in runtime/controller_pad.hpp:209

Related members