You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
542 B
16 lines
542 B
#pragma once |
|
|
|
#include <string_view> |
|
|
|
#include "controls/controller_buttons.h" |
|
#include "options.h" |
|
|
|
namespace devilution { |
|
|
|
void PadmapperPress(ControllerButton button, const PadmapperOptions::Action &action); |
|
void PadmapperRelease(ControllerButton button, bool invokeAction); |
|
void PadmapperReleaseAllActiveButtons(); |
|
[[nodiscard]] bool PadmapperIsActionActive(std::string_view actionName); |
|
[[nodiscard]] std::string_view PadmapperActionNameTriggeredByButtonEvent(ControllerButtonEvent ctrlEvent); |
|
|
|
} // namespace devilution
|
|
|