Epok Engine

PSYQO SDK

psyqo::SimplePad::Event::(unnamed enum at third_party/nugget/psyqo/simplepad.hh:71:9)::PadConnected

Enum value

Enum value

Named value `PadConnected` in `psyqo::SimplePad::Event::(unnamed enum at third_party/nugget/psyqo/simplepad.hh:71:9)`.

Belongs to
psyqo::SimplePad::Event::(unnamed enum at third_party/nugget/psyqo/simplepad.hh:71:9)
Header
simplepad.hh

Declaration

Declaration
PadConnected = 0

Named value `PadConnected` in `psyqo::SimplePad::Event::(unnamed enum at third_party/nugget/psyqo/simplepad.hh:71:9)`.

Type
psyqo::SimplePad::Event::(unnamed enum at third_party/nugget/psyqo/simplepad.hh:71:9)
Value
0
Storage
Per instance

Example

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

auto value = psyqo::SimplePad::Event::(unnamed enum at third_party/nugget/psyqo/simplepad.hh:71:9)::PadConnected;

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/simplepad.hh:71