Difference between revisions of "love.keyboard (简体中文)"
(Created page with "Provides an interface to the user's keyboard. 向用户提供了一个键盘功能接口 == Functions |功能们 == {{#ask: Category:Functions parent::love.keyboard [[C...") |
(→Enums) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
向用户提供了一个键盘功能接口 | 向用户提供了一个键盘功能接口 | ||
− | == | + | == 函数列表 == |
{{#ask: [[Category:Functions]] [[parent::love.keyboard]] [[Concept:Current]] | {{#ask: [[Category:Functions]] [[parent::love.keyboard]] [[Concept:Current]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
− | == | + | |
+ | == 枚举 == | ||
{{#ask: [[Category:Enums]] [[parent::love.keyboard]] [[Concept:Current]] | {{#ask: [[Category:Enums]] [[parent::love.keyboard]] [[Concept:Current]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
+ | |||
== See Also == | == See Also == | ||
− | * [[parent::love]] | + | * [[parent::love (简体中文)]] |
* [[love.keypressed]] | * [[love.keypressed]] | ||
* [[love.keyreleased]] | * [[love.keyreleased]] |
Latest revision as of 13:06, 7 June 2018
向用户提供了一个键盘功能接口
Contents
函数列表
love.keyboard.getKeyFromScancode | Gets the key corresponding to the given hardware scancode. |
love.keyboard.getKeyRepeat | Returns the delay and interval of key repeating. |
love.keyboard.getScancodeFromKey | Gets the hardware scancode corresponding to the given key. |
love.keyboard.hasKeyRepeat | Gets whether key repeat is enabled. |
love.keyboard.hasScreenKeyboard | Gets whether screen keyboard is supported. |
love.keyboard.hasTextInput | Gets whether text input events are enabled. |
love.keyboard.isDown | Checks whether a certain key is down. |
love.keyboard.isScancodeDown | Checks whether the specified Scancodes are pressed. |
love.keyboard.setKeyRepeat | Enables or disables key repeat for love.keypressed. |
love.keyboard.setTextInput | Enables or disables text input events. |
枚举
KeyConstant | All the keys you can press. |
Scancode | Keyboard scancodes. |
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