gh_input LibraryDescriptiongh_input is the module that manages user's input: mouse, keyboard... Number of functions: 5
gh_input.mouse_getposDescriptionReturns the position of the mouse cursor in screen coordinates. The top-left position is the {0, 0} position. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_input.mouse_get_button_stateDescriptionReturns the state of a mouse button. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_input.mouse_show_cursorDescriptionShows or hide the mouse cursor (Windows only). LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_input.keyboard_is_key_downDescriptionReturns the pressed state of a keyboard key. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_input.keyboard_update_bufferDescriptionUpdates the keyboard buffer. Call this function before keyboard_is_key_down(). LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesThis function has no return value(s). Code sample
2013-2015 Geeks3D. All Rights Reserved. .:- G3D Network -:. |