Difference between revisions of "love.keyboard.getKeyRepeat"

m (Updated for 0.8.0 (getKeyRepeat is in seconds now))
m (Added oldin)
 
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 ==

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