Logo Search packages:      
Sourcecode: synaptiks version File versions  Download package

float Touchpad::coastingSpeed [read, write]

The threshold speed (in scrolling events per second) for conventional coasting.

Setting this to a non-zero positive value enables coasting. Coasting comes in two different flavors:

Conventional coasting is used, if cornerCoasting is false. In this case, edge scrolling continues with the current scrolling speed, if the finger leaves the touchpad, while the current scrolling speed is above the value of this property. If the finger touches the touchpad again, scrolling is stopped.

However, if cornerCoasting is true, corner coasting is used. See cornerCoasting for a description of corner coasting.

If this property is 0, coasting is completely disabled, regardless of the value of cornerCoasting.

See also:
coastingSpeed() const

Definition at line 393 of file touchpad.h.

Generated by  Doxygen 1.6.0   Back to index