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)

token

The key to check the state of

A

Outputs#

Name

Type

Description

Default

isPressed

bool

True if the key is currently pressed, false otherwise

Shift (shiftOut)

bool

True if Shift is held

Alt (altOut)

bool

True if Alt is held

Ctrl (ctrlOut)

bool

True if Ctrl is held