Difference between revisions of "love.keyboard.setKeyRepeat"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Enables key repeating and sets the delay and interval. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 14: | Line 14: | ||
* [[parent::love.keyboard]] | * [[parent::love.keyboard]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Enables key repeating and sets the delay and interval.}} |
Revision as of 16:17, 14 February 2010
Enables key repeating and sets the delay and interval.
Function
Synopsis
love.keyboard.setKeyRepeat( delay, Interval )
Arguments
number delay
- The amount of time before repeating the key (in milliseconds). 0 disables key repeat.
number Interval
- The amount of time between repeats (in milliseconds)
Returns
Nothing.