Difference between revisions of "love.keyboard"

(Selling my webite.Thanks.)
(Undo revision 7789 by Frercurotte (talk))
Line 1: Line 1:
Hello  to all on  love2d.org. Just putting the word out that [url=http://www.computer-repairs-las-vegas.com]Computer repair Las Vegas[/url] is for sale. I will accept any reasonable offer. Have a blessed day!
+
Provides an interface to the user's keyboard.
 +
== Functions ==
 +
{{#ask: [[Category:Functions]] [[parent::love.keyboard]] [[Concept:Current]]
 +
| headers=hide
 +
| ?Description
 +
}}
 +
== Enums ==
 +
{{#ask: [[Category:Enums]] [[parent::love.keyboard]] [[Concept:Current]]
 +
| headers=hide
 +
| ?Description
 +
}}
 +
== 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}}

Revision as of 09:38, 21 January 2012

Provides an interface to the user's keyboard.

Functions

love.keyboard.getKeyFromScancodeGets the key corresponding to the given hardware scancode.
love.keyboard.getKeyRepeatReturns the delay and interval of key repeating.
love.keyboard.getScancodeFromKeyGets the hardware scancode corresponding to the given key.
love.keyboard.hasKeyRepeatGets whether key repeat is enabled.
love.keyboard.hasScreenKeyboardGets whether screen keyboard is supported.
love.keyboard.hasTextInputGets whether text input events are enabled.
love.keyboard.isDownChecks whether a certain key is down.
love.keyboard.isScancodeDownChecks whether the specified Scancodes are pressed.
love.keyboard.setKeyRepeatEnables or disables key repeat for love.keypressed.
love.keyboard.setTextInputEnables or disables text input events.

Enums

KeyConstantAll the keys you can press.
ScancodeKeyboard scancodes.

See Also


Other Languages