Epok Engine

EPOK RUNTIME

epok::Input::released

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

Performs `released` as part of controller sampling and simulation-tick input edges.

Belongs to
epok::Input
Header
input.hpp
Overloads
1

Declaration

const
Declaration
bool released(Button b,unsigned port=0) const

Performs `released` as part of controller sampling and simulation-tick input edges.

ParameterTypeMeaning
bButtonNot documented; consult the linked header.
portunsigned intNot documented; consult the linked header.

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

Example sketch

C++ example
#include "input.hpp"

// Assume these named values have been initialized with valid data:
// Button b
// unsigned int port

epok::Input& object = /* obtain a valid instance */;

auto result = object.released(b, port);

Trade-offs and warnings

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

Declared in runtime/input.hpp:24

Related members