summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/mouse.cpp
diff options
context:
space:
mode:
authorgerman <german@thesoftwareartisans.com>2021-01-11 07:03:17 +0100
committergerman <german@thesoftwareartisans.com>2021-02-04 03:17:08 +0100
commit8019b2b9b5265647dbadc45f60a12e4bbfefbd77 (patch)
tree106629207499feaa0efe1ed93105264d8bb1714b /src/core/hle/service/hid/controllers/mouse.cpp
parentFix npad struct to match switchbrew (diff)
downloadyuzu-8019b2b9b5265647dbadc45f60a12e4bbfefbd77.tar
yuzu-8019b2b9b5265647dbadc45f60a12e4bbfefbd77.tar.gz
yuzu-8019b2b9b5265647dbadc45f60a12e4bbfefbd77.tar.bz2
yuzu-8019b2b9b5265647dbadc45f60a12e4bbfefbd77.tar.lz
yuzu-8019b2b9b5265647dbadc45f60a12e4bbfefbd77.tar.xz
yuzu-8019b2b9b5265647dbadc45f60a12e4bbfefbd77.tar.zst
yuzu-8019b2b9b5265647dbadc45f60a12e4bbfefbd77.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/hid/controllers/mouse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/mouse.cpp b/src/core/hle/service/hid/controllers/mouse.cpp
index 30924d9e2..2e7457604 100644
--- a/src/core/hle/service/hid/controllers/mouse.cpp
+++ b/src/core/hle/service/hid/controllers/mouse.cpp
@@ -35,6 +35,7 @@ void Controller_Mouse::OnUpdate(const Core::Timing::CoreTiming& core_timing, u8*
cur_entry.sampling_number = last_entry.sampling_number + 1;
cur_entry.sampling_number2 = cur_entry.sampling_number;
+
cur_entry.attribute.raw = 0;
if (Settings::values.mouse_enabled) {
const auto [px, py, sx, sy] = mouse_device->GetStatus();