summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/mouse.h
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.h
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/hid/controllers/mouse.h b/src/core/hle/service/hid/controllers/mouse.h
index 2c8ebe1d5..3b432a36e 100644
--- a/src/core/hle/service/hid/controllers/mouse.h
+++ b/src/core/hle/service/hid/controllers/mouse.h
@@ -33,7 +33,7 @@ public:
private:
struct Buttons {
union {
- s32_le raw{};
+ u32_le raw{};
BitField<0, 1, u32> left;
BitField<1, 1, u32> right;
BitField<2, 1, u32> middle;
@@ -45,7 +45,7 @@ private:
struct Attributes {
union {
- s32_le raw{};
+ u32_le raw{};
BitField<0, 1, u32> transferable;
BitField<1, 1, u32> is_connected;
};