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
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user