Changed mouse and keyboard to push directly to event.c's queue

This commit is contained in:
rxi
2016-10-16 11:41:56 +01:00
parent a5c66d6154
commit de01a59eeb
8 changed files with 67 additions and 130 deletions

View File

@@ -66,6 +66,7 @@ function love.run()
while true do
-- Handle events
love.event.pump()
while 1 do
local name, a,b,c,d = love.event.poll()
if not name then