Difference between revisions of "love.keyboard.getKeyRepeat"

m
m (Added oldin)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
{{oldin|[[0.9.0]]|090|type=function}}
 
Returns the delay and interval of key repeating.
 
Returns the delay and interval of key repeating.
 
== Function ==
 
== Function ==
Line 8: Line 9:
 
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]]

Latest revision as of 21:53, 25 August 2013

Removed in LÖVE 0.9.0
This function is not supported in that and later versions.

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