class NonPrintableKey

Defined at line 134 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/hlcpp/fuchsia/ui/input3/cpp/fidl.h

NonPrintableKey represents the meaning of a non-symbolic key on a keyboard.

The definition of each key is derived from [W3C named values of a key

attribute][1].

## API version 9 and onwards

Starting from API version 9, the enum value space is subdivided based on the

subsection numbers of the section [Named Key Attribute Values][1], multiplied

by 0x1000.

For example, the keys from section [3.10 Multimedia keys][2] will be located

at `0xa000`-`0xafff`. The values and reservations that were present

in this enum prior to the introduction of the convention have not been moved,

and values that go logically into pre-existing sections have been inserted

into their logical place using the prior convention (see below). This allows

us to extract the section ranges if this is for some reason useful to the

application.

## Prior to API version 9

The space of the nonprintable keys is subdivided roughly to correspond to the

subsections of Section 3 of the document Named Key Attribute Values.

The choice for the section values is arbitrary, so long as blocks of

values are allocated at once, and the keys with similar purpose are kept

together.

## Reserved ranges

The space of possible values for [NonPrintableKey] is subdivided into a

number of ranges, with the intention that the enum values are placed in

the appropriate range when added.

* Special keys: 0x00-0x10

* Modifier keys: 0x11-0x30

* Whitespace keys: 0x31-0x40

* Navigation keys: 0x61-0x80

* General-purpose function keys: 0x9000-0x9FFF

[1]: https://www.w3.org/TR/uievents-key/#named-key-attribute-values

[2]: https://www.w3.org/TR/uievents-key/#keys-multimedia

Public Members

static NonPrintableKey UNIDENTIFIED
static NonPrintableKey ALT
static NonPrintableKey ALT_GRAPH
static NonPrintableKey CAPS_LOCK
static NonPrintableKey CONTROL
static NonPrintableKey FN
static NonPrintableKey FN_LOCK
static NonPrintableKey META
static NonPrintableKey NUM_LOCK
static NonPrintableKey SCROLL_LOCK
static NonPrintableKey SHIFT
static NonPrintableKey SYMBOL
static NonPrintableKey SYMBOL_LOCK
static NonPrintableKey HYPER
static NonPrintableKey SUPER
static NonPrintableKey ENTER
static NonPrintableKey TAB
static NonPrintableKey BACKSPACE
static NonPrintableKey DOWN
static NonPrintableKey LEFT
static NonPrintableKey UP
static NonPrintableKey END
static NonPrintableKey HOME
static NonPrintableKey PAGE_DOWN
static NonPrintableKey PAGE_UP
static NonPrintableKey ESCAPE
static NonPrintableKey SELECT
static NonPrintableKey BRIGHTNESS_DOWN
static NonPrintableKey BRIGHTNESS_UP
static NonPrintableKey F1
static NonPrintableKey F2
static NonPrintableKey F3
static NonPrintableKey F4
static NonPrintableKey F5
static NonPrintableKey F6
static NonPrintableKey F7
static NonPrintableKey F8
static NonPrintableKey F9
static NonPrintableKey F10
static NonPrintableKey F11
static NonPrintableKey F12
static NonPrintableKey SOFT_1
static NonPrintableKey SOFT_2
static NonPrintableKey SOFT_3
static NonPrintableKey SOFT_4
static NonPrintableKey MEDIA_PLAY_PAUSE
static NonPrintableKey AUDIO_VOLUME_DOWN
static NonPrintableKey AUDIO_VOLUME_UP
static NonPrintableKey AUDIO_VOLUME_MUTE
static NonPrintableKey BROWSER_BACK
static NonPrintableKey BROWSER_FAVORITES
static NonPrintableKey BROWSER_FORWARD
static NonPrintableKey BROWSER_HOME
static NonPrintableKey BROWSER_REFRESH
static NonPrintableKey BROWSER_STOP
static NonPrintableKey ZOOM_TOGGLE

Public Methods

void NonPrintableKey ()

Defined at line 136 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/hlcpp/fuchsia/ui/input3/cpp/fidl.h

void NonPrintableKey (uint32_t value)

Defined at line 137 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/hlcpp/fuchsia/ui/input3/cpp/fidl.h

uint32_t operator unsigned int ()

Defined at line 138 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/hlcpp/fuchsia/ui/input3/cpp/fidl.h

bool IsUnknown ()

Defined at line 140 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/hlcpp/fuchsia/ui/input3/cpp/fidl.h

NonPrintableKey Unknown ()

Defined at line 261 of file fidling/gen/sdk/fidl/fuchsia.ui.input3/fuchsia.ui.input3/hlcpp/fuchsia/ui/input3/cpp/fidl.h