diff options
Diffstat (limited to 'src/input_common/udp/client.h')
| -rw-r--r-- | src/input_common/udp/client.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input_common/udp/client.h b/src/input_common/udp/client.h index 1cd251ec8..822f9c550 100644 --- a/src/input_common/udp/client.h +++ b/src/input_common/udp/client.h | |||
| @@ -28,8 +28,8 @@ class Socket; | |||
| 28 | namespace Response { | 28 | namespace Response { |
| 29 | struct PadData; | 29 | struct PadData; |
| 30 | struct PortInfo; | 30 | struct PortInfo; |
| 31 | struct Version; | ||
| 32 | struct TouchPad; | 31 | struct TouchPad; |
| 32 | struct Version; | ||
| 33 | } // namespace Response | 33 | } // namespace Response |
| 34 | 34 | ||
| 35 | enum class PadMotion { | 35 | enum class PadMotion { |
| @@ -129,10 +129,10 @@ private: | |||
| 129 | 129 | ||
| 130 | // Returns an unused finger id, if there is no fingers available std::nullopt will be | 130 | // Returns an unused finger id, if there is no fingers available std::nullopt will be |
| 131 | // returned | 131 | // returned |
| 132 | std::optional<size_t> GetUnusedFingerID() const; | 132 | std::optional<std::size_t> GetUnusedFingerID() const; |
| 133 | 133 | ||
| 134 | // Merges and updates all touch inputs into the touch_status array | 134 | // Merges and updates all touch inputs into the touch_status array |
| 135 | void UpdateTouchInput(Response::TouchPad& touch_pad, size_t client, size_t id); | 135 | void UpdateTouchInput(Response::TouchPad& touch_pad, std::size_t client, std::size_t id); |
| 136 | 136 | ||
| 137 | bool configuring = false; | 137 | bool configuring = false; |
| 138 | 138 | ||
| @@ -143,7 +143,7 @@ private: | |||
| 143 | std::array<ClientData, MAX_UDP_CLIENTS> clients{}; | 143 | std::array<ClientData, MAX_UDP_CLIENTS> clients{}; |
| 144 | Common::SPSCQueue<UDPPadStatus> pad_queue{}; | 144 | Common::SPSCQueue<UDPPadStatus> pad_queue{}; |
| 145 | Input::TouchStatus touch_status{}; | 145 | Input::TouchStatus touch_status{}; |
| 146 | std::array<size_t, MAX_TOUCH_FINGERS> finger_id{}; | 146 | std::array<std::size_t, MAX_TOUCH_FINGERS> finger_id{}; |
| 147 | }; | 147 | }; |
| 148 | 148 | ||
| 149 | /// An async job allowing configuration of the touchpad calibration. | 149 | /// An async job allowing configuration of the touchpad calibration. |