Skip to content

KeyCode

1 min read

Import: import system.window;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

This type spans several pages: part 1 · part 2 · part 3 · part 4 · part 5.

F11

Function key F11.

F11 = 47

F12

Function key F12.

F12 = 48

F13

Function key F13.

F13 = 49

F14

Function key F14.

F14 = 50

F15

Function key F15.

F15 = 51

F16

Function key F16.

F16 = 52

F17

Function key F17.

F17 = 53

F18

Function key F18.

F18 = 54

F19

Function key F19.

F19 = 55

F20

Function key F20.

F20 = 56

F21

Function key F21.

F21 = 57

F22

Function key F22.

F22 = 58

F23

Function key F23.

F23 = 59

F24

Function key F24.

F24 = 60

Escape

The Escape key.

Escape = 61

Enter

The main Enter (Return) key.

Enter = 62

Tab

The Tab key.

Tab = 63

Backspace

The Backspace key.

Backspace = 64

Space

The space bar.

Space = 65

Insert

The Insert key.

Insert = 66

Delete

The forward Delete key.

Delete = 67

ArrowRight

The right arrow key.

ArrowRight = 68

ArrowLeft

The left arrow key.

ArrowLeft = 69

ArrowDown

The down arrow key.

ArrowDown = 70