mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 09:35:46 -04:00
Frontend: Dynamic button mapping based on controller type
This commit is contained in:
@ -32,7 +32,10 @@ public:
|
||||
~DigitalController() override;
|
||||
|
||||
static std::unique_ptr<DigitalController> Create();
|
||||
static std::optional<s32> GetButtonCodeByName(std::string_view button_name);
|
||||
static std::optional<s32> StaticGetButtonCodeByName(std::string_view button_name);
|
||||
|
||||
ControllerType GetType() const override;
|
||||
std::optional<s32> GetButtonCodeByName(std::string_view button_name) const override;
|
||||
|
||||
void SetButtonState(Button button, bool pressed);
|
||||
void SetButtonState(s32 button_code, bool pressed);
|
||||
|
Reference in New Issue
Block a user