diff options
author | rsc <devnull@localhost> | 2004-06-09 14:54:37 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-06-09 14:54:37 +0000 |
commit | 3d991901316747fa00d754b2e93f71a41adb9d33 (patch) | |
tree | 573b9d09171209168f618743b8b069d3d18608f2 /NOTES | |
parent | 863f36263154c5b9fe6ae67f0f1f67719d9dd242 (diff) | |
download | plan9port-3d991901316747fa00d754b2e93f71a41adb9d33.tar.gz plan9port-3d991901316747fa00d754b2e93f71a41adb9d33.tar.bz2 plan9port-3d991901316747fa00d754b2e93f71a41adb9d33.zip |
mouse scrolling
Diffstat (limited to 'NOTES')
-rw-r--r-- | NOTES | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -164,6 +164,31 @@ acme -W spec where spec can be WIDTHxHEIGHT, WIDTHxHEIGHT@XMIN,YMIN 'XMIN YMIN XMAX YMAX' or XMIN,YMIN,XMAX,YMAX. +* Mouse scrolling + +The libraries pass along buttons 4 and 5, so if you have a +scroll mouse and have X configured to send the up/down +events as buttons 4 and 5, acme and 9term will scroll in +response. + +You will likely need to change your X config to enable this. +In my XF86Config-4 I have + +Section "InputDevice" + Identifier "Mouse0" + Driver "mouse" + Option "Buttons" "5" + Option "Emulate3Buttons" "off" + Option "Protocol" "ImPS/2" + Option "ZAxisMapping" "4 5" + Option "Device" "/dev/psaux" +EndSection + +You'll want to find your mouse section (which may have +a different Identifier -- just leave it alone) and edit that. +The "Buttons", "Protocol", "ZAxisMapping", and "Emulate3Buttons" +lines are all important. + * Helping out If you'd like to help out, great! |