diff options
author | german <german@thesoftwareartisans.com> | 2021-01-11 07:03:17 +0100 |
---|---|---|
committer | german <german@thesoftwareartisans.com> | 2021-02-04 03:17:08 +0100 |
commit | 8019b2b9b5265647dbadc45f60a12e4bbfefbd77 (patch) | |
tree | 106629207499feaa0efe1ed93105264d8bb1714b /src/core/hle/service/hid/controllers/mouse.h | |
parent | Fix npad struct to match switchbrew (diff) | |
download | yuzu-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 'src/core/hle/service/hid/controllers/mouse.h')
-rw-r--r-- | src/core/hle/service/hid/controllers/mouse.h | 4 |
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; }; |