From 3cf3a52dc5e2c600cb4e0fc7962fdc94e874e97b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Tue, 28 Sep 2004 11:27:30 +0000 Subject: [PATCH] Some mice have two wheels git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9089 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/arch/x86/ps2mouse/ps2mouse.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } }