Difference between revisions of "love.keypressed"

m (1 revision: Importing from potato (again).)
Line 1: Line 1:
 
 
Callback function triggered when a key is pressed.
 
Callback function triggered when a key is pressed.
 
== Function ==
 
== Function ==
Line 15: Line 14:
 
[[Category:Callbacks]]
 
[[Category:Callbacks]]
 
{{#set:Description=Callback function triggered when a key is pressed.}}
 
{{#set:Description=Callback function triggered when a key is pressed.}}
 +
== Other Languages ==
 +
{{i18n|love.keypressed}}

Revision as of 20:07, 25 October 2010

Callback function triggered when a key is pressed.

Function

Synopsis

love.keypressed( key, unicode )

Arguments

KeyConstant key
Character of the key pressed.
number unicode
The unicode number of the key pressed.

Returns

Nothing.

See Also

Other Languages