lovr.system.setKeyRepeat
EditEnables or disables key repeat. Key repeat affects whether lovr.keypressed
will be fired multiple times while a key is held down. The repeat
parameter of the callback can be used to detect whether a key press comes from a "repeat" or not.
lovr.system.setKeyRepeat(enable)
Arguments
Name | Type | Description |
enable | boolean | Whether key repeat should be enabled. |
Returns
Nothing
Notes
Key repeat is disabled by default. lovr.textinput
is not affected by key repeat.