Difference between revisions of "love.keyboard.getKeyRepeat"
m |
|||
Line 3: | Line 3: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | delay, | + | 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| | + | {{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
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