DigitalController: Store button state/transfer state in save states

This commit is contained in:
Connor McLaughlin
2020-04-26 01:18:15 +10:00
parent 2ffcad3d37
commit fccc2dd295
3 changed files with 20 additions and 1 deletions

View File

@ -42,6 +42,9 @@ public:
std::optional<s32> GetAxisCodeByName(std::string_view axis_name) const override;
std::optional<s32> GetButtonCodeByName(std::string_view button_name) const override;
void Reset() override;
bool DoState(StateWrapper& sw) override;
void SetAxisState(s32 axis_code, float value) override;
void SetButtonState(s32 button_code, bool pressed) override;