Difference between revisions of "Event"
m (Fix typo.) |
|||
Line 1: | Line 1: | ||
Arguments to love.event.push() and the like. | Arguments to love.event.push() and the like. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Constants == | == Constants == | ||
{{newin|[[0.8.0]]|080|text=These values are not available before that version.}} | {{newin|[[0.8.0]]|080|text=These values are not available before that version.}} | ||
Line 22: | Line 11: | ||
;mousereleased: Mouse released | ;mousereleased: Mouse released | ||
;quit: Quit | ;quit: Quit | ||
+ | == Constants == | ||
+ | {{oldin|[[0.8.0]]|080|text=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.0|0.7.x]] only) | ||
== See Also == | == See Also == | ||
* [[parent::love.event]] | * [[parent::love.event]] |
Revision as of 00:52, 11 October 2012
Arguments to love.event.push() and the like.
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
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)
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info