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

Function IsLeftActive

SourceX/controls/modifier_hints.cpp:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83bool IsLeftActive(const CircleMenuHint &hint)
84{
85 if (hint.is_dpad)
86 return IsControllerButtonPressed(ControllerButton::BUTTON_DPAD_LEFT);
87 return IsControllerButtonPressed(ControllerButton::BUTTON_X);
88}
89
90text_color CircleMenuHintTextColor(bool active)
91{

Callers 1

DrawCircleMenuHintFunction · 0.85

Calls 1

Tested by

no test coverage detected