Functions
capture
- capture(enabled: boolean): void
getButtonMask
- getButtonMask(button: Button): number
-
Parameters
Returns number
getGlobalButtons
- getGlobalButtons(): number
getGlobalPosition
- getGlobalPosition(): vec2
getRelativeButtons
- getRelativeButtons(): number
getRelativeMode
- getRelativeMode(): boolean
getRelativePosition
- getRelativePosition(): vec2
isCursorVisible
- isCursorVisible(): boolean
setRelativeMode
- setRelativeMode(enabled: boolean): void
warpGlobal
- warpGlobal(pos: vec2): void