summaryrefslogtreecommitdiffstats
path: root/src/core/hid/hid_types.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-15 04:56:54 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:28 +0100
commit42949738f2c01a4125a9a385c9100240181153ec (patch)
tree5de97be0bc08a1dd4ff5138196c08a6bf2e08e70 /src/core/hid/hid_types.h
parentcore/hid: Improve accuary of mouse implementation (diff)
downloadyuzu-42949738f2c01a4125a9a385c9100240181153ec.tar
yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.gz
yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.bz2
yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.lz
yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.xz
yuzu-42949738f2c01a4125a9a385c9100240181153ec.tar.zst
yuzu-42949738f2c01a4125a9a385c9100240181153ec.zip
Diffstat (limited to '')
-rw-r--r--src/core/hid/hid_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hid/hid_types.h b/src/core/hid/hid_types.h
index 8b12f63ad..3cbe16260 100644
--- a/src/core/hid/hid_types.h
+++ b/src/core/hid/hid_types.h
@@ -564,8 +564,9 @@ struct MouseState {
s32 y;
s32 delta_x;
s32 delta_y;
- s32 delta_wheel_x;
+ // Axis Order in HW is switched for the wheel
s32 delta_wheel_y;
+ s32 delta_wheel_x;
MouseButton button;
MouseAttribute attribute;
};