diff --git a/Overview.md b/Overview.md index b484e3a..e8bab2c 100644 --- a/Overview.md +++ b/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)