FabGL
ESP32 VGA Controller and Graphics Library

◆ setTypematicRateAndDelay()

bool fabgl::KeyboardClass::setTypematicRateAndDelay ( int  repeatRateMS,
int  repeatDelayMS 
)
inline

Set 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.