keyCode

Input / Keyboard

Description

Used to detect special keys: UP, DOWN, LEFT, RIGHT, ALT, CONTROL, SHIFT, etc. Only valid when key == CODED.

Syntax

keyCode

Parameters

None

Returns

int

Related

Under the Hood

From Processing.h:

int keyCode = 0;