#--------------------------------------------------------------------
# MOUSE WHEEL SUPPORT
# Environment Variables - Note quote variables so they are evaluated
# at button time not when this file is read.
# - _wheelcnt variable is set based upon number of detents wheel moved
# range is -4 to 4 (no 0)
# - sx1 and sy1 are cursor coordinates when wheel is moved
#
# Button values
# wheel_up: when wheel is moved up
# wheel_down: when wheel is moved down
# wheel: up/down if either of above 2 buttons are not assigned
#
# Keyboard modifiers (note we are case insensitive)
# S - shift key
# C - control key
# SC - shift and control
# Example: SCwheel - for wheel button assignment with both shift & control keys
#
# Button factor may be factorion (e.g. 0.5)
set buttonfactor = 1
button wheel_up "roam y -$roamInc"
button wheel_down "roam y $roamInc"
button Cwheel_up "zoom in $buttonfactor"
button Cwheel_down "zoom out $buttonfactor"
#------------------------------------------------------------------------------------
这些语句是修改鼠标滚轮快捷键的功能的.