summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-05-17 21:45:53 +0200
committerLioncash <mathew1800@gmail.com>2021-05-18 09:39:21 +0200
commita9d8e24e4722d26500aaa0cfd4a11ff1380b3bdf (patch)
tree184c3661d7ff67c9ae539762e28a4377aa744b43 /src/core/hle/service/hid
parenthid/gesture: Make Point a template (diff)
downloadyuzu-a9d8e24e4722d26500aaa0cfd4a11ff1380b3bdf.tar
yuzu-a9d8e24e4722d26500aaa0cfd4a11ff1380b3bdf.tar.gz
yuzu-a9d8e24e4722d26500aaa0cfd4a11ff1380b3bdf.tar.bz2
yuzu-a9d8e24e4722d26500aaa0cfd4a11ff1380b3bdf.tar.lz
yuzu-a9d8e24e4722d26500aaa0cfd4a11ff1380b3bdf.tar.xz
yuzu-a9d8e24e4722d26500aaa0cfd4a11ff1380b3bdf.tar.zst
yuzu-a9d8e24e4722d26500aaa0cfd4a11ff1380b3bdf.zip
Diffstat (limited to 'src/core/hle/service/hid')
-rw-r--r--src/core/hle/service/hid/controllers/gesture.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/hid/controllers/gesture.h b/src/core/hle/service/hid/controllers/gesture.h
index b2bcae2b7..c1578ec25 100644
--- a/src/core/hle/service/hid/controllers/gesture.h
+++ b/src/core/hle/service/hid/controllers/gesture.h
@@ -180,10 +180,10 @@ private:
std::unique_ptr<Input::TouchDevice> touch_mouse_device;
std::unique_ptr<Input::TouchDevice> touch_udp_device;
std::unique_ptr<Input::TouchDevice> touch_btn_device;
- std::array<size_t, MAX_FINGERS> mouse_finger_id;
- std::array<size_t, MAX_FINGERS> keyboard_finger_id;
- std::array<size_t, MAX_FINGERS> udp_finger_id;
- std::array<Finger, MAX_POINTS> fingers;
+ std::array<size_t, MAX_FINGERS> mouse_finger_id{};
+ std::array<size_t, MAX_FINGERS> keyboard_finger_id{};
+ std::array<size_t, MAX_FINGERS> udp_finger_id{};
+ std::array<Finger, MAX_POINTS> fingers{};
GestureProperties last_gesture{};
s64_le last_update_timestamp{};
s64_le last_tap_timestamp{};