Class Input
class Input
;
Fields
Name | Type | Description |
---|---|---|
nodes
|
const(InputEventHandlers)[] |
Properties
Name | Type | Description |
---|---|---|
isKeyDown [set]
|
bool | |
isKeyReleased [set]
|
bool | |
lastMouseButtons [get]
|
int | |
lastMousePosition [get]
|
gfm | |
mouseButtons [get]
|
int | |
mousePosition [get]
|
gfm | |
wasKeyDown [set]
|
bool |
Methods
Name | Description |
---|---|
addHandlers
(handlers)
|
|
addNode
(node)
|
|
ignoreActions
()
|
|
ignoreUnhandledInputs
()
|
|
on
(action, handler, markInputHandled)
|