2 lines
1.4 KiB
Plaintext
2 lines
1.4 KiB
Plaintext
lispusers/WHEELSCROLL
|
||
|
||
Written by Ron Kaplan, February 2021.
|
||
|
||
This small file adds the ability to scroll (scrollable) windows by rotating the wheel on a wheel mouse or by moving fingers on a track pad.
|
||
|
||
The capability is enabled when WHEELSCROLL.LCOM is loaded.
|
||
|
||
It is toggled on and off by
|
||
|
||
(ENABLEWHEELSCROLL ON) (initially (ENABLEWHEELSCROLL T))
|
||
|
||
The scrolling speed is controlled by the variable
|
||
|
||
WHEELSCROLLDELTA (initially 20)
|
||
The number of points to scroll for each click of the wheel. Higher values give faster scrolling.
|
||
|
||
Implementation:
|
||
|
||
Lisp receives a key transition on PAD1 ÿÿ |