disablePointerLockRequest | Disables the pointer lock request on click. |
enablePointerLockRequest | Request a pointer lock from the user when the screen is clicked. |
getAction | Returns > 0 if the action was triggered. Value is usually from 0 to 1. The exception is mouse velocity and scroll which is uncapped. |
getActiveMap | Get the active action map. |
getAxis | Returns the value of the axis of the gamepadIdx. |
getButton | Returns true while the virtual button identified by buttonName is held down. |
getButtonDown | Returns true during the frame the user pressed down the button mapped to the index https://www.w3.org/TR/gamepad/#remapping |
getButtonUp | Returns true the first frame the user releases the button. |
getGamepads | Returns all gamepads connected to the device. |
getKey | Returns true while the user holds down the key identified by name. |
getKeyDown | Returns true during the frame the user starts pressing down the key identified by name. |
getKeyUp | Returns true during the frame the user releases the key identified by name. |
getMouseButton | Returns true while the user holds down the mouse button identified by button number. |
getMouseDown | Returns true during the frame the user starts pressing down on the mouse button. |
getMousePosition | Returns the x and y position of the mouse in the screen. |
getMouseScroll | Returns the x and y velocity of mouse scroll. |
getMouseUp | Returns true during the frame the user releases the mouse button. |
getMouseVelocity | Returns the x and y velocity of the mouse. |
setActiveMap | Set the active action map. |