Update Overview
parent
a803fff9a8
commit
701cc425a8
1 changed files with 14 additions and 0 deletions
14
Overview.md
14
Overview.md
|
@ -25,6 +25,8 @@ function onInputPressed(what)
|
|||
When in keyboard MODE_NORMAL, input events are reported here when the
|
||||
key or button is first depressed. For a full list of keys/buttons/controllers,
|
||||
see Singe/Framework.singe.
|
||||
|
||||
For MODE_FULL, this event will be called with the keysym of the key pressed.
|
||||
--]]
|
||||
end
|
||||
|
||||
|
@ -33,13 +35,25 @@ function onInputReleased(what)
|
|||
When in keyboard MODE_NORMAL, input events are reported here when the
|
||||
key or button is released. For a full list of keys/buttons/controllers,
|
||||
see Singe/Framework.singe.
|
||||
|
||||
For MODE_FULL, this event will be called with the keysym of the key released.
|
||||
--]]
|
||||
end
|
||||
|
||||
function onKeyPressed(key, scancode)
|
||||
--[[
|
||||
When in keyboard MODE_FULL, input events are reported here when the key is
|
||||
pressed. Both the keysym and scancode are returned. For a list of available
|
||||
scancodes, see Singe/Framework.singe.
|
||||
--]]
|
||||
end
|
||||
|
||||
function onKeyReleased(key, scancode)
|
||||
--[[
|
||||
When in keyboard MODE_FULL, input events are reported here when the key is
|
||||
released. Both the keysym and scancode are returned. For a list of available
|
||||
scancodes, see Singe/Framework.singe.
|
||||
--]]
|
||||
end
|
||||
|
||||
function onMouseMoved(x, y, xr, yr, which)
|
||||
|
|
Loading…
Add table
Reference in a new issue