diff options
author | german <german@thesoftwareartisans.com> | 2021-02-27 16:26:33 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-03-01 16:19:33 +0100 |
commit | 9b3af0027b4671a64d3e3ad7c10a7de9ad54ff62 (patch) | |
tree | 3885e2713866c277f6aa38b4b3896466b2d5e734 /src/input_common/udp/client.h | |
parent | Merge pull request #6016 from ameerj/remove-async-nvdec (diff) | |
download | yuzu-9b3af0027b4671a64d3e3ad7c10a7de9ad54ff62.tar yuzu-9b3af0027b4671a64d3e3ad7c10a7de9ad54ff62.tar.gz yuzu-9b3af0027b4671a64d3e3ad7c10a7de9ad54ff62.tar.bz2 yuzu-9b3af0027b4671a64d3e3ad7c10a7de9ad54ff62.tar.lz yuzu-9b3af0027b4671a64d3e3ad7c10a7de9ad54ff62.tar.xz yuzu-9b3af0027b4671a64d3e3ad7c10a7de9ad54ff62.tar.zst yuzu-9b3af0027b4671a64d3e3ad7c10a7de9ad54ff62.zip |
Diffstat (limited to 'src/input_common/udp/client.h')
-rw-r--r-- | src/input_common/udp/client.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_common/udp/client.h b/src/input_common/udp/client.h index a523f6124..e9e438e88 100644 --- a/src/input_common/udp/client.h +++ b/src/input_common/udp/client.h @@ -126,7 +126,7 @@ private: void OnPortInfo(Response::PortInfo); void OnPadData(Response::PadData, std::size_t client); void StartCommunication(std::size_t client, const std::string& host, u16 port, - std::size_t pad_index, u32 client_id); + std::size_t pad_index); void UpdateYuzuSettings(std::size_t client, const Common::Vec3<float>& acc, const Common::Vec3<float>& gyro); @@ -165,7 +165,7 @@ public: * @param data_callback Called when calibration data is ready */ explicit CalibrationConfigurationJob(const std::string& host, u16 port, std::size_t pad_index, - u32 client_id, std::function<void(Status)> status_callback, + std::function<void(Status)> status_callback, std::function<void(u16, u16, u16, u16)> data_callback); ~CalibrationConfigurationJob(); void Stop(); @@ -174,7 +174,7 @@ private: Common::Event complete_event; }; -void TestCommunication(const std::string& host, u16 port, std::size_t pad_index, u32 client_id, +void TestCommunication(const std::string& host, u16 port, std::size_t pad_index, const std::function<void()>& success_callback, const std::function<void()>& failure_callback); |