fix: scrolling direction consistency

This commit is contained in:
daniel committed 2026-02-26 18:36:04 +01:00
1 parent b01789a1f4
commit e4f5cd7664
1 file changed
+1 -1
+1 -1
View File
@@ -203,7 +203,7 @@ namespace Drivers::PS2::Mouse {
g_State.X += (int32_t)deltaX;
g_State.Y += (int32_t)deltaY;
g_State.Buttons = buttons;
g_State.ScrollDelta += (int32_t)scroll;
g_State.ScrollDelta += -(int32_t)scroll;
// Clamp to screen bounds
if (g_State.X < 0) g_State.X = 0;