diff --git a/scene.lua b/scene.lua index f507782..24fa7c9 100644 --- a/scene.lua +++ b/scene.lua @@ -6,12 +6,15 @@ function SCENE:new() end function SCENE:update() end function SCENE:render() end --- e in 3 below functions will contain different things based on it's type: +-- e in 4 below functions will contain different things based on it's type: -- key - input, key, scancode -- joystick - input, button, name -- virtual - input -- touch - x, y, dx, dy, id +-- mouse - x, y, dx, dy, presses +-- wheel - dx, dy +function SCENE:onInputMove(e) end function SCENE:onInputPress(e) end function SCENE:onInputDrag(e) end function SCENE:onInputRelease(e) end