Index: ChangeLog =================================================================== RCS file: /cvs/xorg/xc/ChangeLog,v retrieving revision 1.1317 diff -u -r1.1317 ChangeLog --- ChangeLog 12 Sep 2005 21:15:47 -0000 1.1317 +++ ChangeLog 13 Sep 2005 00:13:01 -0000 @@ -1,3 +1,8 @@ +2005-08-31 Ian Wienand + + * programs/Xserver/hw/xfree86/input/evdev/evdev.c: bind horizontal + scroll to REL_Z for Apple Mighty Mouse + 2005-09-12 Matthieu Herrb * config/cf/NetBSD.cf: Index: programs/Xserver/hw/xfree86/input/evdev/evdev.c =================================================================== RCS file: /cvs/xorg/xc/programs/Xserver/hw/xfree86/input/evdev/evdev.c,v retrieving revision 1.9 diff -u -r1.9 evdev.c --- programs/Xserver/hw/xfree86/input/evdev/evdev.c 28 Jul 2005 01:48:14 -0000 1.9 +++ programs/Xserver/hw/xfree86/input/evdev/evdev.c 13 Sep 2005 00:13:05 -0000 @@ -145,6 +145,13 @@ if (value < 0) PostButtonClicks(pInfo, wheel_left_button, -value); break; + + case REL_Z: + if (value > 0) + PostButtonClicks(pInfo, wheel_right_button, value); + if (value < 0) + PostButtonClicks(pInfo, wheel_left_button, -value); + break; } break;