Epok Engine

PSYQO SDK

psyqo::AdvancedPad::Event::(unnamed enum at third_party/nugget/psyqo/advancedpad.hh:84:9)::ButtonPressed

Enum value

Enum value

Named value `ButtonPressed` in `psyqo::AdvancedPad::Event::(unnamed enum at third_party/nugget/psyqo/advancedpad.hh:84:9)`.

Belongs to
psyqo::AdvancedPad::Event::(unnamed enum at third_party/nugget/psyqo/advancedpad.hh:84:9)
Header
advancedpad.hh

Declaration

Declaration
ButtonPressed = 2

Named value `ButtonPressed` in `psyqo::AdvancedPad::Event::(unnamed enum at third_party/nugget/psyqo/advancedpad.hh:84:9)`.

Type
psyqo::AdvancedPad::Event::(unnamed enum at third_party/nugget/psyqo/advancedpad.hh:84:9)
Value
2
Storage
Per instance

Example

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

auto value = psyqo::AdvancedPad::Event::(unnamed enum at third_party/nugget/psyqo/advancedpad.hh:84:9)::ButtonPressed;

When it helps

Use this named value instead of a raw number so intent stays visible in game code and debugger output.

Trade-offs and warnings

Treat the numeric value as an implementation detail unless a file or hardware format explicitly requires it.

Declared in https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/advancedpad.hh:84