##### Views

- Page
- Discussion
- View source
- History

# Event

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

## Constants

Available since LÖVE 0.8.0
These constants are not supported in earlier versions.

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

Available since LÖVE 0.9.0
These constants are not supported in earlier versions.

resize
  Window size changed by the user
visible
  Window is minimized or un-minimized by the user
mousefocus
  Window mouse focus gained or lost
threaderror
  A Lua error has occurred in a thread.
joystickaxis
  Joystick axis motion
joystickhat
  Joystick hat pressed

## Constants

Removed in LÖVE 0.8.0
These constants 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

- love.event

## 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

Retrieved from "https://www.love2d.org/wiki/Event"
Category: Enums

##### Personal tools

- Log in

##### Search

##### Toolbox

- What links here
- Related changes
- Special pages
- Printable version
- Permanent link
- Browse properties