diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-08-15 15:26:29 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-08-26 02:32:32 -0400 |
commit | efa0b7a056b73dffb8789c95ebf8a9c09e55f539 (patch) | |
tree | 52d74b2708105c14c086cddafed83b6f4eb98f7c /src/input_common/udp | |
parent | fc505110f1860afcd774e7f9b3ac2e136eb22571 (diff) |
Address feedback
Diffstat (limited to 'src/input_common/udp')
-rw-r--r-- | src/input_common/udp/udp.cpp | 5 | ||||
-rw-r--r-- | src/input_common/udp/udp.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/input_common/udp/udp.cpp b/src/input_common/udp/udp.cpp index 60cf47123..4b347e47e 100644 --- a/src/input_common/udp/udp.cpp +++ b/src/input_common/udp/udp.cpp @@ -89,10 +89,9 @@ State::~State() { Input::UnregisterFactory<Input::MotionDevice>("cemuhookudp"); } -std::vector<Common::ParamPackage> State::GetInputDevices() { - std::vector<Common::ParamPackage> devices = {}; +std::vector<Common::ParamPackage> State::GetInputDevices() const { // TODO support binding udp devices - return devices; + return {}; } void State::ReloadUDPClient() { diff --git a/src/input_common/udp/udp.h b/src/input_common/udp/udp.h index 24f6e0857..672a5c812 100644 --- a/src/input_common/udp/udp.h +++ b/src/input_common/udp/udp.h @@ -19,7 +19,7 @@ public: State(); ~State(); void ReloadUDPClient(); - std::vector<Common::ParamPackage> GetInputDevices(); + std::vector<Common::ParamPackage> GetInputDevices() const; private: std::unique_ptr<Client> client; |