mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
hid/gesture: Ensure all ID arrays are initialized
Makes for deterministic initial state.
This commit is contained in:
parent
74f30c0223
commit
a9d8e24e47
1 changed files with 4 additions and 4 deletions
|
@ -180,10 +180,10 @@ private:
|
||||||
std::unique_ptr<Input::TouchDevice> touch_mouse_device;
|
std::unique_ptr<Input::TouchDevice> touch_mouse_device;
|
||||||
std::unique_ptr<Input::TouchDevice> touch_udp_device;
|
std::unique_ptr<Input::TouchDevice> touch_udp_device;
|
||||||
std::unique_ptr<Input::TouchDevice> touch_btn_device;
|
std::unique_ptr<Input::TouchDevice> touch_btn_device;
|
||||||
std::array<size_t, MAX_FINGERS> mouse_finger_id;
|
std::array<size_t, MAX_FINGERS> mouse_finger_id{};
|
||||||
std::array<size_t, MAX_FINGERS> keyboard_finger_id;
|
std::array<size_t, MAX_FINGERS> keyboard_finger_id{};
|
||||||
std::array<size_t, MAX_FINGERS> udp_finger_id;
|
std::array<size_t, MAX_FINGERS> udp_finger_id{};
|
||||||
std::array<Finger, MAX_POINTS> fingers;
|
std::array<Finger, MAX_POINTS> fingers{};
|
||||||
GestureProperties last_gesture{};
|
GestureProperties last_gesture{};
|
||||||
s64_le last_update_timestamp{};
|
s64_le last_update_timestamp{};
|
||||||
s64_le last_tap_timestamp{};
|
s64_le last_tap_timestamp{};
|
||||||
|
|
Loading…
Reference in a new issue