Dart API Referencedart:htmlKeyLocation

KeyLocation Interface

Defines the standard key locations returned by KeyboardEvent.getKeyLocation.

Static Fields

Code final int JOYSTICK #

The event key originated on a game controller or a joystick on a mobile device.

static final int JOYSTICK = 5;

Code final int LEFT #

The event key is in the left key location.

static final int LEFT = 1;

Code final int MOBILE #

The event key originated on a mobile device, either on a physical keypad or a virtual keyboard.

static final int MOBILE = 4;

Code final int NUMPAD #

The event key originated on the numeric keypad or with a virtual key corresponding to the numeric keypad.

static final int NUMPAD = 3;

The event key is in the right key location.

static final int RIGHT = 2;

Code final int STANDARD #

The event key is not distinguished as the left or right version of the key, and did not originate from the numeric keypad (or did not originate with a virtual key corresponding to the numeric keypad).

static final int STANDARD = 0;