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 `ButtonPressed` in `psyqo::AdvancedPad::Event::(unnamed enum at third_party/nugget/psyqo/advancedpad.hh:84:9)`.
ButtonPressed = 2Named value `ButtonPressed` in `psyqo::AdvancedPad::Event::(unnamed enum at third_party/nugget/psyqo/advancedpad.hh:84:9)`.
#include "psyqo/advancedpad.hh"
auto value = psyqo::AdvancedPad::Event::(unnamed enum at third_party/nugget/psyqo/advancedpad.hh:84:9)::ButtonPressed;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/advancedpad.hh:84