Difference between revisions of "love.keyboard.getKeyRepeat"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Returns the delay and interval of key repeating.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[parent::love.keyboard]]
 
* [[parent::love.keyboard]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Returns the delay and interval of key repeating.}}

Revision as of 16:17, 14 February 2010

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 milliseconds)
number Interval
The amount of time between repeats (in milliseconds)

See Also