ESP32 Display Controller and Graphics Library

◆ movementAcceleration()

int & movementAcceleration ( )

Gets or set mouse movement acceleration factor.

Mouse movement 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 ... 2000. Default value is 180.

Definition at line 353 of file mouse.h.