Difference between revisions of "love.keypressed"

m (1 revision: Importing from potato (again).)
(No difference)

Revision as of 16:18, 14 February 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