diff options
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() { | |||
| 89 | Input::UnregisterFactory<Input::MotionDevice>("cemuhookudp"); | 89 | Input::UnregisterFactory<Input::MotionDevice>("cemuhookudp"); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | std::vector<Common::ParamPackage> State::GetInputDevices() { | 92 | std::vector<Common::ParamPackage> State::GetInputDevices() const { |
| 93 | std::vector<Common::ParamPackage> devices = {}; | ||
| 94 | // TODO support binding udp devices | 93 | // TODO support binding udp devices |
| 95 | return devices; | 94 | return {}; |
| 96 | } | 95 | } |
| 97 | 96 | ||
| 98 | void State::ReloadUDPClient() { | 97 | 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: | |||
| 19 | State(); | 19 | State(); |
| 20 | ~State(); | 20 | ~State(); |
| 21 | void ReloadUDPClient(); | 21 | void ReloadUDPClient(); |
| 22 | std::vector<Common::ParamPackage> GetInputDevices(); | 22 | std::vector<Common::ParamPackage> GetInputDevices() const; |
| 23 | 23 | ||
| 24 | private: | 24 | private: |
| 25 | std::unique_ptr<Client> client; | 25 | std::unique_ptr<Client> client; |