From a7880c5098c8022df8a8b94b9633d000546d4d91 Mon Sep 17 00:00:00 2001 From: Kingdaro Date: Sun, 15 Dec 2013 00:02:09 -0500 Subject: [PATCH] add all callbacks for 0.9.0 --- gamestate.lua | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/gamestate.lua b/gamestate.lua index 9a9fc09..262c40f 100644 --- a/gamestate.lua +++ b/gamestate.lua @@ -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)