add all callbacks for 0.9.0

This commit is contained in:
Kingdaro 2013-12-15 00:02:09 -05:00
parent 4372c6404c
commit a7880c5098

View File

@ -65,9 +65,27 @@ function GS.current()
end
local all_callbacks = {
'update', 'draw', 'focus', 'keypressed', 'keyreleased',
'mousepressed', 'mousereleased', 'joystickpressed',
'joystickreleased', 'textinput', 'quit', 'textinput'
"update",
"draw",
"focus",
"keypressed",
"keyreleased",
"mousefocus",
"mousepressed",
"mousereleased",
"resize",
"textinput",
"visible",
"quit",
"joystickadded",
"joystickremoved",
"joystickpressed",
"joystickreleased",
"joystickaxis",
"joystickhat",
"gamepadpressed",
"gamepadreleased",
"gamepadaxis"
}
function GS.registerEvents(callbacks)