MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / GetApplyButtonType

Function GetApplyButtonType

Source/controls/touch/renderers.cpp:68–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68VirtualGamepadButtonType GetApplyButtonType(bool isPressed)
69{
70 return isPressed ? GAMEPAD_APPLYDOWN : GAMEPAD_APPLY;
71}
72
73VirtualGamepadButtonType GetEquipButtonType(bool isPressed)
74{

Callers 1

GetButtonTypeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected