WorldInputModule Module
HID input functions for the world.
Type extensions
Type extension | Description |
Full Usage:
World.getDirection index world
Parameters:
int
world : World
Returns: GamepadDirection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
World.isButtonDown index button world
Parameters:
int
button : GamepadButton
world : World
Returns: bool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
World.isKeyboardKeyDown key world
Parameters:
KeyboardKey
world : World
Returns: bool
|
|
Full Usage:
World.isKeyboardKeyPressed key world
Parameters:
KeyboardKey
world : World
Returns: bool
|
|
Full Usage:
World.isKeyboardKeyUp key world
Parameters:
KeyboardKey
world : World
Returns: bool
|
|
|
|
|
|
Full Usage:
World.isMouseButtonClicked mouseButton world
Parameters:
MouseButton
world : World
Returns: bool
|
|
Full Usage:
World.isMouseButtonDown mouseButton world
Parameters:
MouseButton
world : World
Returns: bool
|
|
Full Usage:
World.isMouseButtonPressed mouseButton world
Parameters:
MouseButton
world : World
Returns: bool
|
|
Full Usage:
World.isMouseButtonUp mouseButton world
Parameters:
MouseButton
world : World
Returns: bool
|
|
Full Usage:
World.isSdlButtonSupported button world
Parameters:
int
world : World
Returns: bool
|
|
Full Usage:
World.toNuButton gamepadButton world
Parameters:
int
world : World
Returns: GamepadButton
|
|
Full Usage:
World.toNuDirection gamepadDirection world
Parameters:
byte
world : World
Returns: GamepadDirection
|
|
Full Usage:
World.toSdlButton gamepadButton world
Parameters:
GamepadButton
world : World
Returns: int
|
|
Full Usage:
World.toSdlDirection gamepadDirection world
Parameters:
GamepadDirection
world : World
Returns: byte
|