📜 ⬆️ ⬇️

Circular scrolling a la iPod on the touchpad

Everyone knows that multitouch and other handy touchpad tricks from Synaptics, which are used on almost all laptops, are often implemented by the touchpad driver and little depends on the hardware component. That's just their support on different systems is different.
About half a year ago, I rummaged through the net, set up two fingers to right-click and three to left, and then began to move my hand to the mouse much less frequently. But I wanted some more.
Having rummaged in man synaptics, I found an interesting thing there called CircularScrolling, which means “circular scrolling”. Many people know it from iPods - a very, very handy when scrolling long documents. Naturally, I wanted to myself the same, because scrolling along the right edge is not the best choice.
So let's get down to setting it up. Along the way, I’ll show you how two and three finger presses are processed.

Open your favorite xorg.conf editor and look for the section responsible for the touchpad there:

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "CircularScrolling" "on" #
Option "CircScrollTrigger" "2" #
Option "HorizEdgeScroll" "on" #
Option "SHMConfig" "on" # ,
Option "TapButton2" "3" # -
Option "TapButton3" "2" # - ()
EndSection


Bindings are distributed as follows:
0 Any
1 Top edge
2 upper right corner
3 Right edge
4 Lower right corner
5 lower edge
6 Lower left corner
7 Left edge
8 upper left corner
')
Scrolling is very convenient, as I said, for long documents. To better recognize the touchpad circles, it is desirable to "draw" them large.

The scrolling process is captured in the video below.


By the way, if you rummage around in man synaptics a little more, you can find some decent “tasty” things. For example, if palm recognition is supported, you can turn on the PalmDetect option and forget about accidentally pressing the panel during printing.

Upd. Based on comments
In case the X settings are determined via HAL, you need to do what is written here:
beavis_1 March 9, 2009, 02:41

Information on the use of the gsynaptics GUI program is comments develop7 March 9, 2009, 15:08

Thanks to all.

Source: https://habr.com/ru/post/53863/


All Articles