Available since LÖVE 0.6.0 |
This module is not supported in earlier versions. |
Manages events, like keypresses.
It is possible to define new events by appending the table love.handlers
. Such functions can be invoked as usual, via love.event.push using the table index as an argument.
love.event.clear | Clears the event queue. | ![]() |
|
love.event.poll | Returns an iterator for messages in the event queue. | ![]() |
|
love.event.pump | Pump events into the event queue. | ![]() |
|
love.event.push | Adds an event to the event queue. | ![]() |
|
love.event.quit | Exits or restart the LÖVE program. | ![]() |
|
love.event.wait | Like love.event.poll(), but blocks until there is an event in the queue. | ![]() |
Event | Arguments to love.event.push() and the like. | ![]() |