mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
gc_poller: Mark GCButtonFactory::GetNextInput() as const
This doesn't modify class instance state.
This commit is contained in:
parent
839c91cd14
commit
a1dddca4ab
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ std::unique_ptr<Input::ButtonDevice> GCButtonFactory::Create(const Common::Param
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
Common::ParamPackage GCButtonFactory::GetNextInput() {
|
Common::ParamPackage GCButtonFactory::GetNextInput() const {
|
||||||
Common::ParamPackage params;
|
Common::ParamPackage params;
|
||||||
GCAdapter::GCPadStatus pad;
|
GCAdapter::GCPadStatus pad;
|
||||||
auto& queue = adapter->GetPadQueue();
|
auto& queue = adapter->GetPadQueue();
|
||||||
|
|
|
@ -25,7 +25,7 @@ public:
|
||||||
*/
|
*/
|
||||||
std::unique_ptr<Input::ButtonDevice> Create(const Common::ParamPackage& params) override;
|
std::unique_ptr<Input::ButtonDevice> Create(const Common::ParamPackage& params) override;
|
||||||
|
|
||||||
Common::ParamPackage GetNextInput();
|
Common::ParamPackage GetNextInput() const;
|
||||||
|
|
||||||
/// For device input configuration/polling
|
/// For device input configuration/polling
|
||||||
void BeginConfiguration();
|
void BeginConfiguration();
|
||||||
|
|
Loading…
Reference in a new issue