Difference between revisions of "love.keyboard.getKeyRepeat"

m
m (Updated for 0.8.0 (getKeyRepeat is in seconds now))
Line 8: Line 8:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|delay|The amount of time before repeating the key (in milliseconds)}}
+
{{param|number|delay|The amount of time before repeating the key (in seconds)}}
{{param|number|interval|The amount of time between repeats (in milliseconds)}}
+
{{param|number|interval|The amount of time between repeats (in seconds)}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.keyboard]]
 
* [[parent::love.keyboard]]

Revision as of 00:09, 11 April 2012

Returns the delay and interval of key repeating.

Function

Synopsis

delay, interval = love.keyboard.getKeyRepeat( )

Arguments

None.

Returns

number delay
The amount of time before repeating the key (in seconds)
number interval
The amount of time between repeats (in seconds)

See Also


Other Languages