FabGL
ESP32 Display Controller and Graphics Library

◆ setResolution()

bool setResolution ( int  value)
inline

Sets the resolution.

Resolution is the amount by which the movement counters are incremented/decremented measured as counts per millimeter.
The default resolution is 4 counts/mm.

Parameters
valueResolution encoded as follows: 0 = 1 count/mm (25 dpi), 1 = 2 counts/mm (50 dpi), 2 = 4 counts/mm (100 dpi), 3 = 8 counts/mm (200 dpi).
Returns
True if command has been successfully delivered to the mouse.

Definition at line 202 of file mouse.h.