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

Implementation in Processing.h / Processing.cpp:

Loading...