Difference between revisions of "love.keyboard.getKeyRepeat"

m
Line 3: Line 3:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
delay, Interval = love.keyboard.getKeyRepeat( )
+
delay, interval = love.keyboard.getKeyRepeat( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
Line 9: Line 9:
 
=== 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 milliseconds)}}
{{param|number|Interval|The amount of time between repeats (in milliseconds)}}
+
{{param|number|interval|The amount of time between repeats (in milliseconds)}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.keyboard]]
 
* [[parent::love.keyboard]]

Revision as of 07:46, 22 October 2011

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


Other Languages