controller

Category

Test commands / Menu/Key commands

Syntax

if (controller(cA)) { .....

Description

Returns true if the menu item or key assigned to controller cA has been selected or pressed during the current cycle.

See also

Setting up menus and keys