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 end
local all_callbacks = { local all_callbacks = {
'update', 'draw', 'focus', 'keypressed', 'keyreleased', "update",
'mousepressed', 'mousereleased', 'joystickpressed', "draw",
'joystickreleased', 'textinput', 'quit', 'textinput' "focus",
"keypressed",
"keyreleased",
"mousefocus",
"mousepressed",
"mousereleased",
"resize",
"textinput",
"visible",
"quit",
"joystickadded",
"joystickremoved",
"joystickpressed",
"joystickreleased",
"joystickaxis",
"joystickhat",
"gamepadpressed",
"gamepadreleased",
"gamepadaxis"
} }
function GS.registerEvents(callbacks) function GS.registerEvents(callbacks)