aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-14 21:56:54 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-24 20:30:28 -0600
commit42949738f2c01a4125a9a385c9100240181153ec (patch)
tree5de97be0bc08a1dd4ff5138196c08a6bf2e08e70 /src/core/hid
parentf4e5f89e6fb9d68cd4ba7d98c281584c50f0e149 (diff)
kraken: Address comments from review
Fix compiler bug
Diffstat (limited to 'src/core/hid')
-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;
};