Table of Contents

Enum Button

Namespace
nanoFramework.UI.Input
Assembly
nanoFramework.Graphics.dll

The button or key.

public enum Button

Fields

AppDefined1 = 273
AppDefined2 = 274
AppDefined3 = 275
AppDefined4 = 276
AppDefined5 = 277
AppDefined6 = 278
AppDefined7 = 279
AppDefined8 = 280
LastSystemDefinedButton = 272

Last in the standard MF buttons enumeration

None = 0

None.

VK_0 = 48

0 key

VK_1 = 49

1 key

VK_2 = 50

2 key

VK_3 = 51

3 key

VK_4 = 52

4 key

VK_5 = 53

5 key

VK_6 = 54

6 key

VK_7 = 55

7 key

VK_8 = 56

8 key

VK_9 = 57

9 key

VK_A = 65

A key

VK_ACCEPT = 30

IME accept

VK_ADD = 107

Add key (+)

VK_APOSTROPHE = 222

Apostrophe key

VK_APPS = 93

Applications key (Natural keyboard)

VK_ATTN = 246

Attn key

VK_B = 66

B key

VK_BACK = 8

BACKSPACE key

VK_BACKQUOTE = 192

Back quote key

VK_BACKSLASH = 220

Back slash key

VK_BROWSER_BACK = 166

Browser back key

VK_BROWSER_FAVORITES = 171

Browser favorites key

VK_BROWSER_FORWARD = 167

Browser forward key

VK_BROWSER_HOME = 172

Browser home key

VK_BROWSER_REFRESH = 168

Browser refresh key

Browser search key

VK_BROWSER_STOP = 169

Browser stop key

VK_C = 67

C key

VK_CANCEL = 3

Control-break processing

VK_CAPITAL = 20

CAPS LOCK key

VK_CLEAR = 12

CLEAR key

VK_COMMA = 188

Coma key

VK_CONTROL = 17

CTRL key

VK_CONVERT = 28

IME convert

VK_CRSEL = 247

CrSel key

VK_D = 68

D key

VK_DBE_ALPHANUMERIC = 240
VK_DBE_CODEINPUT = 250
VK_DBE_DBCSCHAR = 244
VK_DBE_DETERMINESTRING = 252
VK_DBE_ENTERDLGCONVERSIONMODE = 253
VK_DBE_ENTERIMECONFIGMODE = 248
VK_DBE_ENTERWORDREGISTERMODE = 247
VK_DBE_FLUSHSTRING = 249
VK_DBE_HIRAGANA = 242
VK_DBE_KATAKANA = 241
VK_DBE_NOCODEINPUT = 251
VK_DBE_NOROMAN = 246
VK_DBE_ROMAN = 245
VK_DBE_SBCSCHAR = 243
VK_DECIMAL = 110

Decimal key (. or ,)

VK_DELETE = 46

DEL key

VK_DIVIDE = 111

Divide key (/)

VK_DOWN = 40

DOWN ARROW key

VK_E = 69

E key

VK_END = 35

END key

VK_EQUAL = 187

Equal key

VK_EREOF = 249

Erase EOF key

VK_ESCAPE = 27

ESC key

VK_EXECUTE = 43

EXECUTE key

VK_EXSEL = 248

ExSel key

VK_F = 70

F key

VK_F1 = 112

F1 key

VK_F10 = 121

F10 key

VK_F11 = 122

F11 key

VK_F12 = 123

F12 key

VK_F13 = 124

F13 key

VK_F14 = 125

F14 key

VK_F15 = 126

F15 key

VK_F16 = 127

F16 key

VK_F17 = 128

F17 key

VK_F18 = 129

F18 key

VK_F19 = 130

F19 key

VK_F2 = 113

F2 key

VK_F20 = 131

F20 key

VK_F21 = 132

F21 key

VK_F22 = 133

F22 key

VK_F23 = 134

F23 key

VK_F24 = 135

F24 key

VK_F3 = 114

F3 key

VK_F4 = 115

F4 key

VK_F5 = 116

F5 key

VK_F6 = 117

F6 key

VK_F7 = 118

F7 key

VK_F8 = 119

F8 key

VK_F9 = 120

F9 key

VK_FINAL = 24

IME final mode

VK_G = 71

G key

VK_H = 72

H key

VK_HANGEUL = 21

IME Hanguel mode (maintained for compatibility; use VK_HANGUL)

VK_HANGUL = 21

IME Hangul mode

VK_HANJA = 25

IME Hanja mode

VK_HELP = 47

HELP key

VK_HOME = 36

HOME key

VK_HYPHEN = 189

Hyphen key

VK_I = 73

I key

VK_ICO_00 = 228

OEM specific

VK_ICO_CLEAR = 230

OEM specific

VK_ICO_HELP = 227

OEM specific

VK_INSERT = 45

INS key

VK_J = 74

J key

VK_JUNJA = 23

IME Junja mode

VK_K = 75

K key

VK_KANA = 21

IME Kana mode

VK_KANJI = 25

IME Kanji mode

VK_L = 76

L key

VK_LAUNCH_APP1 = 182

Launch application 1 key

VK_LAUNCH_APP2 = 183

Launch application 2 key

VK_LAUNCH_MAIL = 180

Launch mail key

VK_LAUNCH_MEDIA_SELECT = 181

Launch media select key

VK_LBRACKET = 219

Left backet key

VK_LBUTTON = 1

Left mouse button

VK_LCONTROL = 162

Left control key

VK_LEFT = 37

LEFT ARROW key

VK_LMENU = 164

Left menu key

VK_LSHIFT = 160

Left shift key

VK_LWIN = 91

Left Windows key (Microsoft Natural keyboard)

VK_M = 77

M key

VK_MBUTTON = 4

Middle mouse button (three-button mouse)

VK_MEDIA_NEXT_TRACK = 176

Media next track key

VK_MEDIA_PLAY_PAUSE = 179

Media play pause key

VK_MEDIA_PREV_TRACK = 177

Media previous track key

VK_MEDIA_STOP = 178

Media stop key

VK_MENU = 18

ALT key

VK_MODECHANGE = 31

IME mode change request

VK_MULTIPLY = 106

Multiply key (*)

VK_N = 78

N key

VK_NEXT = 34

PAGE DOWN key

VK_NONAME = 252

Reserved

VK_NONCONVERT = 29

IME nonconvert

VK_NUMLOCK = 144

NUM LOCK key

VK_NUMPAD0 = 96

Numeric keypad 0 key

VK_NUMPAD1 = 97

Numeric keypad 1 key

VK_NUMPAD2 = 98

Numeric keypad 2 key

VK_NUMPAD3 = 99

Numeric keypad 3 key

VK_NUMPAD4 = 100

Numeric keypad 4 key

VK_NUMPAD5 = 101

Numeric keypad 5 key

VK_NUMPAD6 = 102

Numeric keypad 6 key

VK_NUMPAD7 = 103

Numeric keypad 7 key

VK_NUMPAD8 = 104

Numeric keypad 8 key

VK_NUMPAD9 = 105

Numeric keypad 9 key

VK_O = 79

O key

VK_OEM_1 = 186

OEM 1 key

VK_OEM_102 = 226

OEM specific

VK_OEM_2 = 191

OEM specific

VK_OEM_3 = 192

OEM specific

VK_OEM_4 = 219

OEM specific

VK_OEM_5 = 220

OEM specific

VK_OEM_6 = 221

OEM specific

VK_OEM_7 = 222

OEM specific

VK_OEM_8 = 223

OEM specific

VK_OEM_ATTN = 240

OEM specific

VK_OEM_AUTO = 243

OEM specific

VK_OEM_AX = 225

OEM specific

VK_OEM_CLEAR = 254

Clear key

VK_OEM_COMMA = 188

OEM specific

VK_OEM_COPY = 242

OEM specific

VK_OEM_CUSEL = 239

OEM specific

VK_OEM_ENLW = 244

OEM specific

VK_OEM_FINISH = 241

OEM specific

VK_OEM_JUMP = 234

OEM specific

VK_OEM_MINUS = 189

OEM specific

VK_OEM_PA1 = 235

OEM specific

VK_OEM_PA2 = 236

OEM specific

VK_OEM_PA3 = 237

OEM specific

VK_OEM_PERIOD = 190

OEM specific

VK_OEM_PLUS = 187

OEM specific

VK_OEM_RESET = 233

OEM specific

VK_OEM_WSCTRL = 238

OEM specific

VK_OFF = 223

Off key

VK_P = 80

P key

VK_PA1 = 253

PA1 key

VK_PACKET = 231

Packet key

VK_PAUSE = 19

PAUSE key

VK_PERIOD = 190

Period key

VK_PLAY = 250

Play key

VK_PRINT = 42

PRINT key

VK_PRIOR = 33

PAGE UP key

VK_PROCESSKEY = 229

Clear key

VK_Q = 81

Q key

VK_R = 82

R key

VK_RBRACKET = 221

Righ bracket key

VK_RBUTTON = 2

Right mouse button

VK_RCONTROL = 163

Right control key

VK_RETURN = 13

ENTER key

VK_RIGHT = 39

RIGHT ARROW key

VK_RMENU = 165

Right menu key

VK_RSHIFT = 161

Right shift key

VK_RWIN = 92

Right Windows key (Natural keyboard)

VK_S = 83

S key

VK_SCROLL = 145

Scroll lock key

VK_SELECT = 41

SELECT key

VK_SEMICOLON = 186

Semicolon key

VK_SEPARATOR = 108

Separator key

VK_SHIFT = 16

SHIFT key

VK_SLASH = 191

Slash key

VK_SLEEP = 95

Computer Sleep key

VK_SNAPSHOT = 44

PRINT SCREEN key

VK_SPACE = 32

SPACEBAR

VK_SUBTRACT = 109

Subtract key (-)

VK_T = 84

T key

VK_TAB = 9

TAB key

VK_U = 85

U key

VK_UP = 38

UP ARROW key

VK_V = 86

V key

VK_VOLUME_DOWN = 174

Volume down key

VK_VOLUME_MUTE = 173

Volume mute key

VK_VOLUME_UP = 175

Volume up key

VK_W = 87

W key

VK_X = 88

X key

VK_XBUTTON1 = 5

X1 mouse button

VK_XBUTTON2 = 6

X2 mouse button

VK_Y = 89

Y key

VK_Z = 90

Z key

VK_ZOOM = 251

Zoom key