FabGL
ESP32 Display Controller and Graphics Library

◆ setTypematicRateAndDelay()

bool setTypematicRateAndDelay ( int  repeatRateMS,
int  repeatDelayMS 
)
inline

Sets typematic rate and delay.

If the key is kept pressed down, after repeatDelayMS keyboard starts periodically sending codes with frequency repeatRateMS.

Parameters
repeatRateMSRepeat rate in milliseconds (in range 33 ms ... 500 ms).
repeatDelayMSRepeat delay in milliseconds (in range 250 ms ... 1000 ms, steps of 250 ms).
Returns
True if command has been successfully delivered to the keyboard.

Definition at line 347 of file keyboard.h.