MCPcopy Create free account
hub / github.com/diasurgical/devilution / IsTopActive

Function IsTopActive

SourceX/controls/modifier_hints.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60};
61
62bool IsTopActive(const CircleMenuHint &hint)
63{
64 if (hint.is_dpad)
65 return IsControllerButtonPressed(ControllerButton::BUTTON_DPAD_UP);
66 return IsControllerButtonPressed(ControllerButton::BUTTON_Y);
67}
68
69bool IsRightActive(const CircleMenuHint &hint)
70{

Callers 1

DrawCircleMenuHintFunction · 0.85

Calls 1

Tested by

no test coverage detected