|
语句
本帖最后由 wanghaosu521 于 2012-8-21 13:39 编辑 7 l4 ~: R9 P2 F3 u' T, A& @& y1 y
3 ~% ~ H% N( y( _
#--------------------------------------------------------------------. b/ I* Q/ n5 r; M( j
# MOUSE WHEEL SUPPORT (Windows only)* Y% G& N- `. G' K) J1 t& K
# Environment Variables - Note quote variables so they are evaluated
- ~! {; u, B" b1 E8 I! b# r( j7 I# at button time not when this file is read.6 E( h5 E: p2 q; B& U7 h. C( W8 ~4 x
# - _wheelcnt variable is set based upon number of detents wheel moved
0 x6 e, d6 N5 Q( X# range is -4 to 4 (no 0); E- r" O( H! a1 [- c
# - sx1 and sy1 are cursor coordinates when wheel is moved
: p! N) n+ z; i#
" a, _2 z- ~5 @. ?% u; G9 \: F# Button values# J6 }6 W H$ X0 Z8 ^& W( T
# wheel_up: when wheel is moved up
, y9 l# q; i- R0 D' u5 C4 J& @# wheel_down: when wheel is moved down
7 O9 S6 B+ ?. i$ p7 }3 s# wheel: up/down if either of above 2 buttons are not assigned |
|