Epok Engine

PSYQO SDK

psyqo::AdvancedPad::PadData::(anonymous struct at third_party/nugget/psyqo/advancedpad.hh:235:9)::buttons

Field

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.

Field

Exposes `buttons` on `psyqo::AdvancedPad::PadData::(anonymous struct at third_party/nugget/psyqo/advancedpad.hh:235:9)` for the advancedpad module.

Belongs to
psyqo::AdvancedPad::PadData::(anonymous struct at third_party/nugget/psyqo/advancedpad.hh:235:9)
Header
advancedpad.hh

Declaration

Declaration
uint16_t buttons

Exposes `buttons` on `psyqo::AdvancedPad::PadData::(anonymous struct at third_party/nugget/psyqo/advancedpad.hh:235:9)` for the advancedpad module.

Type
uint16_t
Storage
Per instance

Example sketch

C++ example
#include "psyqo/advancedpad.hh"

psyqo::AdvancedPad::PadData::(anonymous struct at third_party/nugget/psyqo/advancedpad.hh:235:9)& object = /* obtain a valid instance */;
auto value = object.buttons;

// When mutation is valid for this object:
// object.buttons = replacement;

Trade-offs and warnings

Consult the linked header for the meaning, lifetime and permitted use of this declaration.

Declared in https://github.com/epokengine/nugget/blob/4a01183295182b8e7702c908e1efaaa8f4538ffd/psyqo/advancedpad.hh:238