Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
68
VirtualGamepadButtonType GetApplyButtonType(bool isPressed)
69
{
70
return isPressed ? GAMEPAD_APPLYDOWN : GAMEPAD_APPLY;
71
}
72
73
VirtualGamepadButtonType GetEquipButtonType(bool isPressed)
74
{
Callers
1
GetButtonType
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected