diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 7fd864bd4d8..e17fe3f0c2e 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -14035,8 +14035,10 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + A Singleton that deals with inputs. + A Singleton that deals with inputs. This includes key presses, mouse buttons and movement, joysticks, and input actions. @@ -14045,6 +14047,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Returns true or false depending on whether the key is pressed or not. You can pass KEY_*, which are pre-defined constants listed in [@Global Scope]. @@ -14073,6 +14076,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Returns true or false depending on whether the action event is pressed. Actions and their events can be set in the Project Settings / Input Map tab. Or be set with [InputMap]. @@ -14133,48 +14137,56 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + If the device has an accelerometer, this will return the movement. + Returns the mouse speed. + Returns mouse buttons as a bitmask. If multiple mouse buttons are pressed at the same time the bits are added together. + Set the mouse mode. See the constants for more information. + Return the mouse mode. See the constants for more information. + Sets the mouse position to the specified vector. + This will simulate pressing the specificed action. + If the specified action is already pressed, this will release it. @@ -14183,6 +14195,7 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Set a custom mouse cursor image, which is only visible inside the game window. The hotspot can also be specified. @@ -14199,10 +14212,13 @@ Example: (content-length:12), (Content-Type:application/json; charset=UTF-8) + Makes the mouse cursor visible if it is hidden. + Makes the mouse cursor hidden if it is visible. + Captures the mouse. The mouse will be hidden and unable to leave the game window. But it will still register movement and mouse button presses.