diff --git a/src/add-ons/kernel/drivers/arch/x86/ps2mouse/ps2mouse.c b/src/add-ons/kernel/drivers/arch/x86/ps2mouse/ps2mouse.c index 2b4c270fc7..968658a56d 100644 --- a/src/add-ons/kernel/drivers/arch/x86/ps2mouse/ps2mouse.c +++ b/src/add-ons/kernel/drivers/arch/x86/ps2mouse/ps2mouse.c @@ -277,7 +277,8 @@ packet_to_movement(uint8 packet[], mouse_movement *pos) pos->clicks = sClickCount; pos->modifiers = 0; pos->timestamp = currentTime; - pos->wheel_delta = 0; + pos->wheel_ydelta = 0; + pos->wheel_xdelta = 0; } }