API

Class KeyboardEventTypes

Gather the list of keyboard event types as constants.

Index
KEYDOWN: 1 = 0x01

The keydown event is fired when a key becomes active (pressed).

KEYUP: 2 = 0x02

The keyup event is fired when a key has been released.