mirror of
https://github.com/vrld/hump.git
synced 2024-11-23 12:24:19 +00:00
add all callbacks for 0.9.0
This commit is contained in:
parent
4372c6404c
commit
a7880c5098
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user