Difference between revisions of "love.keyboard.getKeyRepeat"
m |
m (Added oldin) |
||
(3 intermediate revisions by 3 users 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 == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | delay, | + | delay, interval = love.keyboard.getKeyRepeat( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|number|delay|The amount of time before repeating the key (in | + | {{param|number|delay|The amount of time before repeating the key (in seconds)}} |
− | {{param|number| | + | {{param|number|interval|The amount of time between repeats (in seconds)}} |
== See Also == | == See Also == | ||
* [[parent::love.keyboard]] | * [[parent::love.keyboard]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Returns the delay and interval of key repeating.}} | {{#set:Description=Returns the delay and interval of key repeating.}} | ||
+ | {{#set:Since=000}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.keyboard.getKeyRepeat}} | {{i18n|love.keyboard.getKeyRepeat}} |
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
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info