diff options
author | german <german@thesoftwareartisans.com> | 2020-11-17 22:16:29 -0600 |
---|---|---|
committer | german <german@thesoftwareartisans.com> | 2020-11-25 23:44:41 -0600 |
commit | 2c2b586d86d71bd6c134c32d27b155615230222e (patch) | |
tree | 8344f77a6a09879bc419dc62cfc3a10ad5632d82 /src/yuzu/configuration/configure_motion_touch.h | |
parent | 0e15c68f54ae5217e6247603b9e31757515f89e1 (diff) |
Add multiple udp server support
Diffstat (limited to 'src/yuzu/configuration/configure_motion_touch.h')
-rw-r--r-- | src/yuzu/configuration/configure_motion_touch.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_motion_touch.h b/src/yuzu/configuration/configure_motion_touch.h index 3d4b5d659..15d61e8ba 100644 --- a/src/yuzu/configuration/configure_motion_touch.h +++ b/src/yuzu/configuration/configure_motion_touch.h @@ -10,6 +10,7 @@ class QLabel; class QPushButton; +class QStringListModel; class QVBoxLayout; namespace InputCommon { @@ -62,6 +63,8 @@ public slots: void ApplyConfiguration(); private slots: + void OnUDPAddServer(); + void OnUDPDeleteServer(); void OnCemuhookUDPTest(); void OnConfigureTouchCalibration(); void OnConfigureTouchFromButton(); @@ -73,10 +76,12 @@ private: void UpdateUiDisplay(); void ConnectEvents(); bool CanCloseDialog(); + std::string GetUDPServerString() const; InputCommon::InputSubsystem* input_subsystem; std::unique_ptr<Ui::ConfigureMotionTouch> ui; + QStringListModel* udp_server_list_model; // Coordinate system of the CemuhookUDP touch provider int min_x{}; |