love.keyboard.getKeyRepeat (简体中文)
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