aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/controllers/mouse.cpp
diff options
context:
space:
mode:
authorgerman <german@thesoftwareartisans.com>2021-01-11 00:03:17 -0600
committergerman <german@thesoftwareartisans.com>2021-02-03 20:17:08 -0600
commit8019b2b9b5265647dbadc45f60a12e4bbfefbd77 (patch)
tree106629207499feaa0efe1ed93105264d8bb1714b /src/core/hle/service/hid/controllers/mouse.cpp
parent9a9e81f2e9b93d0028654c7ee50e9ebacee0e5d6 (diff)
Add footer types and address comments
Diffstat (limited to 'src/core/hle/service/hid/controllers/mouse.cpp')
-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();