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 e28e6efd13..83525d9c69 100644 --- a/src/add-ons/kernel/drivers/arch/x86/ps2mouse/ps2mouse.c +++ b/src/add-ons/kernel/drivers/arch/x86/ps2mouse/ps2mouse.c @@ -276,6 +276,7 @@ packet_to_movement(uint8 packet[], mouse_pos *pos) pos->clicks = sClickCount; pos->modifiers = 0; pos->time = currentTime; + pos->wheel_delta = 0; } }