Difference between revisions of "love.keyboard"

(discount NFL jerseys)
 
(15 intermediate revisions by 11 users not shown)
Line 1: Line 1:
Great article! Thanks in search your article, I well-informed a plight up the article, so I be versed how to do and what is the competent in the works to solve my problems. Looking forward to your to boot information.
+
Provides an interface to the user's keyboard.
 +
== Functions ==
 +
{{#ask: [[Category:Functions]] [[parent::love.keyboard]] [[Concept:Current]]
 +
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 +
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 +
}}
 +
== Enums ==
 +
{{#ask: [[Category:Enums]] [[parent::love.keyboard]] [[Concept:Current]]
 +
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 +
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 +
}}
 +
== See Also ==
 +
* [[parent::love]]
 +
* [[love.keypressed]]
 +
* [[love.keyreleased]]
 +
[[Category:Modules]]
 +
{{#set:Description=Provides an interface to the user's keyboard.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|love.keyboard}}

Latest revision as of 14:05, 7 June 2018

Provides an interface to the user's keyboard.

Functions

love.keyboard.getKeyFromScancode Gets the key corresponding to the given hardware scancode. Added since 0.9.2
love.keyboard.getKeyRepeat Returns the delay and interval of key repeating. Removed in 0.9.0
love.keyboard.getScancodeFromKey Gets the hardware scancode corresponding to the given key. Added since 0.9.2
love.keyboard.hasKeyRepeat Gets whether key repeat is enabled. Added since 0.9.0
love.keyboard.hasTextInput Gets whether text input events are enabled. Added since 0.9.0
love.keyboard.isDown Checks whether a certain key is down.
love.keyboard.isScancodeDown Checks whether the specified Scancodes are pressed. Added since 0.10.0
love.keyboard.setKeyRepeat Enables or disables key repeat for love.keypressed.
love.keyboard.setTextInput Enables or disables text input events. Added since 0.9.0

Enums

KeyConstant All the keys you can press.
Scancode Keyboard scancodes. Added since 0.9.2

See Also


Other Languages