Difference between revisions of "Event"

(Adds oldin and updates newin flags)
m (Fix typo.)
Line 18: Line 18:
 
;joystickreleased: Joystick released
 
;joystickreleased: Joystick released
 
;keypressed: Key pressed
 
;keypressed: Key pressed
;keyreleased: Key releaed
+
;keyreleased: Key released
 
;mousepressed: Mouse pressed
 
;mousepressed: Mouse pressed
 
;mousereleased: Mouse released
 
;mousereleased: Mouse released

Revision as of 16:30, 10 October 2012

Arguments to love.event.push() and the like.

Constants

Removed in LÖVE 0.8.0
These values are not supported in that and later versions..
jp
Joystick pressed
jr
Joystick released
kp
Key pressed
kr
Key released
mp
Mouse pressed
mr
Mouse released
q
Quit
f
Window focus gained or lost (version 0.7.x only)

Constants

Available since LÖVE 0.8.0
These values are not available before that version..

Since 0.8.0, event names are no longer abbreviated.

focus
Window focus gained or lost
joystickpressed
Joystick pressed
joystickreleased
Joystick released
keypressed
Key pressed
keyreleased
Key released
mousepressed
Mouse pressed
mousereleased
Mouse released
quit
Quit

See Also


Other Languages