When it helps
Use this named value instead of a raw number so intent stays visible in game code and debugger output.
PSYQO SDK
Enum value
Named value `PadConnected` in `psyqo::SimplePad::Event::(unnamed enum at third_party/nugget/psyqo/simplepad.hh:71:9)`.
PadConnected = 0Named value `PadConnected` in `psyqo::SimplePad::Event::(unnamed enum at third_party/nugget/psyqo/simplepad.hh:71:9)`.
#include "psyqo/simplepad.hh"
auto value = psyqo::SimplePad::Event::(unnamed enum at third_party/nugget/psyqo/simplepad.hh:71:9)::PadConnected;Use this named value instead of a raw number so intent stays visible in game code and debugger output.
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