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

Function IsBottomActive

SourceX/controls/modifier_hints.cpp:76–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76bool IsBottomActive(const CircleMenuHint &hint)
77{
78 if (hint.is_dpad)
79 return IsControllerButtonPressed(ControllerButton::BUTTON_DPAD_DOWN);
80 return IsControllerButtonPressed(ControllerButton::BUTTON_A);
81}
82
83bool IsLeftActive(const CircleMenuHint &hint)
84{

Callers 1

DrawCircleMenuHintFunction · 0.85

Calls 1

Tested by

no test coverage detected