Difference between revisions of "love.keyboard"
Antoniomoder (talk | contribs) (Undo revision 9825 by Fuegnatogue (talk)) |
|||
Line 3: | Line 3: | ||
{{#ask: [[Category:Functions]] [[parent::love.keyboard]] [[Concept:Current]] | {{#ask: [[Category:Functions]] [[parent::love.keyboard]] [[Concept:Current]] | ||
| headers=hide | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
| ?Description | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
}} | }} | ||
== Enums == | == Enums == | ||
{{#ask: [[Category:Enums]] [[parent::love.keyboard]] [[Concept:Current]] | {{#ask: [[Category:Enums]] [[parent::love.keyboard]] [[Concept:Current]] | ||
| headers=hide | | headers=hide | ||
+ | | format=template | ||
+ | | template=ListingFields | ||
+ | | introtemplate=ListingIntro | ||
+ | | outrotemplate=ListingOutro | ||
| ?Description | | ?Description | ||
+ | | ?PrettySince | ||
+ | | ?PrettyRemoved | ||
}} | }} | ||
== See Also == | == See Also == |
Revision as of 23:07, 29 March 2013
Provides an interface to the user's keyboard.
Contents
Functions
love.keyboard.getKeyFromScancode | Gets the key corresponding to the given hardware scancode. | 0.9.2 | |
love.keyboard.getKeyRepeat | Returns the delay and interval of key repeating. | 0.9.0 | |
love.keyboard.getScancodeFromKey | Gets the hardware scancode corresponding to the given key. | 0.9.2 | |
love.keyboard.hasKeyRepeat | Gets whether key repeat is enabled. | 0.9.0 | |
love.keyboard.hasScreenKeyboard | Gets whether screen keyboard is supported. | 0.10.0 | |
love.keyboard.hasTextInput | Gets whether text input events are enabled. | 0.9.0 | |
love.keyboard.isDown | Checks whether a certain key is down. | ||
love.keyboard.isScancodeDown | Checks whether the specified Scancodes are pressed. | 0.10.0 | |
love.keyboard.setKeyRepeat | Enables or disables key repeat for love.keypressed. | ||
love.keyboard.setTextInput | Enables or disables text input events. | 0.9.0 |
Enums
KeyConstant | All the keys you can press. | ||
Scancode | Keyboard scancodes. | 0.9.2 |
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