ESP32 Display Controller and Graphics Library

◆ wheelAcceleration()

int& wheelAcceleration ( )

Gets or sets wheel acceleration factor.

Wheel acceleration is calculated in Mouse.updateAbsolutePosition() and depends by the acceleration factor and time of call.
Lower values generate little acceleration, high values generate a lot of acceleration.
Suggested range is 0 ... 100000. Default value is 60000.

Definition at line 320 of file mouse.h.