mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 09:25:46 -04:00
Move controller creation to System class, switch shared_ptr to unique_ptr
This commit is contained in:
@ -31,7 +31,7 @@ public:
|
||||
DigitalController();
|
||||
~DigitalController() override;
|
||||
|
||||
static std::shared_ptr<DigitalController> Create();
|
||||
static std::unique_ptr<DigitalController> Create();
|
||||
static std::optional<s32> GetButtonCodeByName(std::string_view button_name);
|
||||
|
||||
void SetButtonState(Button button, bool pressed);
|
||||
|
Reference in New Issue
Block a user