Read Keyboard State#
Reads the current state of the keyboard
Installation#
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs#
Name |
Type |
Description |
Default |
---|---|---|---|
Key (key) |
|
The key to check the state of |
A |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
isPressed |
|
True if the key is currently pressed, false otherwise |
|
Shift (shiftOut) |
|
True if Shift is held |
|
Alt (altOut) |
|
True if Alt is held |
|
Ctrl (ctrlOut) |
|
True if Ctrl is held |