Google is committed to advancing racial equity for Black communities. See how.

fuchsia.input

ENUMS

Key

Type: uint32

Defined in fuchsia.input/keys.fidl

A Fuchsia key represents a control that can be pressed or released such as a key or a button on a keyboard or another input device.

The ordinal index for enum elements is derived from the USB HID Usage Tables at the time of definition. It is a 32 bit unsigned integer representing the USB HID Usage where the low 16 bits are the USB HID Usage ID and the high 16 bits are the USB HID Usage Page.

The descriptions for each value in the enum assume a US English keyboard layout. Actual behavior varies by layout.

NameValueDescription
A 458756

Keyboard a and A

B 458757

Keyboard b and B

C 458758

Keyboard c and C

D 458759

Keyboard d and D

E 458760

Keyboard e and E

F 458761

Keyboard f and F

G 458762

Keyboard g and G

H 458763

Keyboard h and H

I 458764

Keyboard i and I

J 458765

Keyboard j and J

K 458766

Keyboard k and K

L 458767

Keyboard l and L

M 458768

Keyboard m and M

N 458769

Keyboard n and N

O 458770

Keyboard o and O

P 458771

Keyboard p and P

Q 458772

Keyboard q and Q

R 458773

Keyboard r and R

S 458774

Keyboard s and S

T 458775

Keyboard t and T

U 458776

Keyboard u and U

V 458777

Keyboard v and V

W 458778

Keyboard w and W

X 458779

Keyboard x and X

Y 458780

Keyboard y and Y

Z 458781

Keyboard z and Z

KEY_1 458782

Keyboard 1 and !

KEY_2 458783

Keyboard 2 and @

KEY_3 458784

Keyboard 3 and #

KEY_4 458785

Keyboard 4 and $

KEY_5 458786

Keyboard 5 and %

KEY_6 458787

Keyboard 6 and ^

KEY_7 458788

Keyboard 7 and &

KEY_8 458789

Keyboard 8 and *

KEY_9 458790

Keyboard 9 and (

KEY_0 458791

Keyboard 0 and )

ENTER 458792

Keyboard Enter (Return)

ESCAPE 458793

Keyboard Escape

BACKSPACE 458794

Keyboard Backspace (Backward Delete)

TAB 458795

Keyboard Tab

SPACE 458796

Keyboard Spacebar

MINUS 458797

Keyboard - and (underscore)

EQUALS 458798

Keyboard = and +

LEFT_BRACE 458799

Keyboard [ and {

RIGHT_BRACE 458800

Keyboard ] and }

BACKSLASH 458801

Keyboard \ and |

NON_US_HASH 458802

Keyboard Non-US # and ~

SEMICOLON 458803

Keyboard ; and :

APOSTROPHE 458804

Keyboard ' and "

GRAVE_ACCENT 458805

Keyboard Grave Accent and Tilde

COMMA 458806

Keyboard , and <

DOT 458807

Keyboard . and >

SLASH 458808

Keyboard / and ?

CAPS_LOCK 458809

Keyboard Caps Lock

F1 458810

Keyboard F1

F2 458811

Keyboard F2

F3 458812

Keyboard F3

F4 458813

Keyboard F4

F5 458814

Keyboard F5

F6 458815

Keyboard F6

F7 458816

Keyboard F7

F8 458817

Keyboard F8

F9 458818

Keyboard F9

F10 458819

Keyboard F10

F11 458820

Keyboard F11

F12 458821

Keyboard F12

PRINT_SCREEN 458822

Keyboard Print Screen

SCROLL_LOCK 458823

Keyboard Scroll Lock

PAUSE 458824

Keyboard Pause

INSERT 458825

Keyboard Insert

HOME 458826

Keyboard Home

PAGE_UP 458827

Keyboard Page Up

DELETE 458828

Keyboard Forward Delete

END 458829

Keyboard End

PAGE_DOWN 458830

Keyboard Page Down

RIGHT 458831

Keyboard Right Arrow

LEFT 458832

Keyboard Left Arrow

DOWN 458833

Keyboard Down Arrow

UP 458834

Keyboard Up Arrow

NON_US_BACKSLASH 458852

Keyboard Non-US \ and |

LEFT_CTRL 458976

Keyboard Left Control

LEFT_SHIFT 458977

Keyboard Left Shift

LEFT_ALT 458978

Keyboard Left Alt

LEFT_META 458979

Keyboard Left GUI (Meta, Windows)

RIGHT_CTRL 458980

Keyboard Right Control

RIGHT_SHIFT 458981

Keyboard Right Shift

RIGHT_ALT 458982

Keyboard Right Alt

RIGHT_META 458983

Keyboard Right GUI (Meta, Windows)

MENU 458870

Keyboard Menu

NUM_LOCK 458835

Keypad Num Lock and Clear

KEYPAD_SLASH 458836

Keypad /

KEYPAD_ASTERISK 458837

Keypad *

KEYPAD_MINUS 458838

Keypad -

KEYPAD_PLUS 458839

Keypad +

KEYPAD_ENTER 458840

Keypad ENTER

KEYPAD_1 458841

Keypad 1 and End

KEYPAD_2 458842

Keypad 2 and Down Arrow

KEYPAD_3 458843

Keypad 3 and Page Down

KEYPAD_4 458844

Keypad 4 and Left Arrow

KEYPAD_5 458845

Keypad 5

KEYPAD_6 458846

Keypad 6 and Right Arrow

KEYPAD_7 458847

Keypad 7 and Home

KEYPAD_8 458848

Keypad 8 and Up Arrow

KEYPAD_9 458849

Keypad 9 and Page Up

KEYPAD_0 458850

Keypad 0 and Insert

KEYPAD_DOT 458851

Keypad . and Delete

KEYPAD_EQUALS 458855

Keypad =

MEDIA_MUTE 786658

Mute

MEDIA_VOLUME_INCREMENT 786665

Volume Increment

MEDIA_VOLUME_DECREMENT 786666

Volume Decrement