Skip to content
Keys

基础类型 / Keys

Keys Enumeration

按键Key值

Table of contents

Enumeration Members

A = "[A](mw.Keys.md#a)"
Add = "[Add](mw.Keys.md#add)"
AnyKey = "[AnyKey](mw.Keys.md#anykey)"
B = "[B](mw.Keys.md#b)"
Backspace = "BackSpace"
C = "[C](mw.Keys.md#c)"
CapsLock = "[CapsLock](mw.Keys.md#capslock)"
Colon = "[Colon](mw.Keys.md#colon)"
Comma = "[Comma](mw.Keys.md#comma)"
D = "[D](mw.Keys.md#d)"
Decimal = "[Decimal](mw.Keys.md#decimal)"
Delete = "[Delete](mw.Keys.md#delete)"
Divide = "[Divide](mw.Keys.md#divide)"
Dollar = "[Dollar](mw.Keys.md#dollar)"
Down = "[Down](mw.Keys.md#down)"
E = "[E](mw.Keys.md#e)"
Eight = "[Eight](mw.Keys.md#eight)"
End = "[End](mw.Keys.md#end)"
Enter = "[Enter](mw.Keys.md#enter)"
Equals = "[Equals](mw.Keys.md#equals)"
Escape = "[Escape](mw.Keys.md#escape)"
Exclamation = "[Exclamation](mw.Keys.md#exclamation)"
F = "[F](mw.Keys.md#f)"
F1 = "[F1](mw.Keys.md#f1)"
F10 = "[F10](mw.Keys.md#f10)"
F11 = "[F11](mw.Keys.md#f11)"
F12 = "[F12](mw.Keys.md#f12)"
F2 = "[F2](mw.Keys.md#f2)"
F3 = "[F3](mw.Keys.md#f3)"
F4 = "[F4](mw.Keys.md#f4)"
F5 = "[F5](mw.Keys.md#f5)"
F6 = "[F6](mw.Keys.md#f6)"
F7 = "[F7](mw.Keys.md#f7)"
F8 = "[F8](mw.Keys.md#f8)"
F9 = "[F9](mw.Keys.md#f9)"
Five = "[Five](mw.Keys.md#five)"
Four = "[Four](mw.Keys.md#four)"
G = "[G](mw.Keys.md#g)"
H = "[H](mw.Keys.md#h)"
Home = "[Home](mw.Keys.md#home)"
Hyphen = "[Hyphen](mw.Keys.md#hyphen)"
I = "[I](mw.Keys.md#i)"
Insert = "[Insert](mw.Keys.md#insert)"
J = "[J](mw.Keys.md#j)"
K = "[K](mw.Keys.md#k)"
L = "[L](mw.Keys.md#l)"
Left = "[Left](mw.Keys.md#left)"
LeftAlt = "[LeftAlt](mw.Keys.md#leftalt)"
LeftBracket = "[LeftBracket](mw.Keys.md#leftbracket)"
LeftCommand = "[LeftCommand](mw.Keys.md#leftcommand)"
LeftControl = "[LeftControl](mw.Keys.md#leftcontrol)"
LeftMouseButton = "[LeftMouseButton](mw.Keys.md#leftmousebutton)"
LeftShift = "[LeftShift](mw.Keys.md#leftshift)"
M = "[M](mw.Keys.md#m)"
MiddleMouseButton = "[MiddleMouseButton](mw.Keys.md#middlemousebutton)"
Mouse2D = "[Mouse2D](mw.Keys.md#mouse2d)"
MouseScrollDown = "[MouseScrollDown](mw.Keys.md#mousescrolldown)"
MouseScrollUp = "[MouseScrollUp](mw.Keys.md#mousescrollup)"
MouseWheelAxis = "[MouseWheelAxis](mw.Keys.md#mousewheelaxis)"
MouseX = "[MouseX](mw.Keys.md#mousex)"
MouseY = "[MouseY](mw.Keys.md#mousey)"
Multiply = "[Multiply](mw.Keys.md#multiply)"
N = "[N](mw.Keys.md#n)"
Nine = "[Nine](mw.Keys.md#nine)"
NumLock = "[NumLock](mw.Keys.md#numlock)"
NumPadEight = "[NumPadEight](mw.Keys.md#numpadeight)"
NumPadFive = "[NumPadFive](mw.Keys.md#numpadfive)"
NumPadFour = "[NumPadFour](mw.Keys.md#numpadfour)"
NumPadNine = "[NumPadNine](mw.Keys.md#numpadnine)"
NumPadOne = "[NumPadOne](mw.Keys.md#numpadone)"
NumPadSeven = "[NumPadSeven](mw.Keys.md#numpadseven)"
NumPadSix = "[NumPadSix](mw.Keys.md#numpadsix)"
NumPadThree = "[NumPadThree](mw.Keys.md#numpadthree)"
NumPadTwo = "[NumPadTwo](mw.Keys.md#numpadtwo)"
NumPadZero = "[NumPadZero](mw.Keys.md#numpadzero)"
O = "[O](mw.Keys.md#o)"
One = "[One](mw.Keys.md#one)"
P = "[P](mw.Keys.md#p)"
PageDown = "[PageDown](mw.Keys.md#pagedown)"
PageUp = "[PageUp](mw.Keys.md#pageup)"
Pause = "[Pause](mw.Keys.md#pause)"
Period = "[Period](mw.Keys.md#period)"
Q = "[Q](mw.Keys.md#q)"
R = "[R](mw.Keys.md#r)"
Right = "[Right](mw.Keys.md#right)"
RightAlt = "[RightAlt](mw.Keys.md#rightalt)"
RightCommand = "[RightCommand](mw.Keys.md#rightcommand)"
RightControl = "[RightControl](mw.Keys.md#rightcontrol)"
RightMouseButton = "[RightMouseButton](mw.Keys.md#rightmousebutton)"
RightShift = "[RightShift](mw.Keys.md#rightshift)"
S = "[S](mw.Keys.md#s)"
ScrollLock = "[ScrollLock](mw.Keys.md#scrolllock)"
Semicolon = "[Semicolon](mw.Keys.md#semicolon)"
Seven = "[Seven](mw.Keys.md#seven)"
Six = "[Six](mw.Keys.md#six)"
Slash = "[Slash](mw.Keys.md#slash)"
SpaceBar = "[SpaceBar](mw.Keys.md#spacebar)"
Subtract = "[Subtract](mw.Keys.md#subtract)"
T = "[T](mw.Keys.md#t)"
Tab = "[Tab](mw.Keys.md#tab)"
Three = "[Three](mw.Keys.md#three)"
ThumbMouseButton = "[ThumbMouseButton](mw.Keys.md#thumbmousebutton)"
ThumbMouseButton2 = "[ThumbMouseButton2](mw.Keys.md#thumbmousebutton2)"
Tilde = "[Tilde](mw.Keys.md#tilde)"
Two = "[Two](mw.Keys.md#two)"
U = "[U](mw.Keys.md#u)"
Underscore = "[Underscore](mw.Keys.md#underscore)"
Up = "[Up](mw.Keys.md#up)"
V = "[V](mw.Keys.md#v)"
W = "[W](mw.Keys.md#w)"
X = "[X](mw.Keys.md#x)"
Y = "[Y](mw.Keys.md#y)"
Z = "[Z](mw.Keys.md#z)"
Zero = "[Zero](mw.Keys.md#zero)"

Enumeration Members

A

A = "A"

A键


Add

Add = "Add"

小键盘+键位


AnyKey

AnyKey = "AnyKey"

任意按键


B

B = "B"

B键


Backspace

Backspace = "BackSpace"

退位键


C

C = "C"

C键


CapsLock

CapsLock = "CapsLock"

Caps键


Colon

Colon = "Colon"

:号


Comma

Comma = "Comma"

,号


D

D = "D"

D键


Decimal

Decimal = "Decimal"

小键盘dec键位


Delete

Delete = "Delete"

Del键


Divide

Divide = "Divide"

小键盘/键位


Dollar

Dollar = "Dollar"

$号


Down

Down = "Down"

↓键


E

E = "E"

E键


Eight

Eight = "Eight"

8键


End

End = "End"

End键


Enter

Enter = "Enter"

回车键


Equals

Equals = "Equals"

=号


Escape

Escape = "Escape"

Esc键


Exclamation

Exclamation = "Exclamation"

!号


F

F = "F"

F键


F1

F1 = "F1"

F1键


F10

F10 = "F10"

F10键


F11

F11 = "F11"

F11键


F12

F12 = "F12"

F12键


F2

F2 = "F2"

F2键


F3

F3 = "F3"

F3键


F4

F4 = "F4"

F4键


F5

F5 = "F5"

F5键


F6

F6 = "F6"

F6键


F7

F7 = "F7"

F7键


F8

F8 = "F8"

F8键


F9

F9 = "F9"

F9键


Five

Five = "Five"

5键


Four

Four = "Four"

4键


G

G = "G"

G键


H

H = "H"

H键


Home

Home = "Home"

Home键


Hyphen

Hyphen = "Hyphen"

-号


I

I = "I"

I键


Insert

Insert = "Insert"

Ins键


J

J = "J"

J键


K

K = "K"

K键


L

L = "L"

L键


Left

Left = "Left"

←键


LeftAlt

LeftAlt = "LeftAlt"

左Alt键


LeftBracket

LeftBracket = "LeftBracket"

]号


LeftCommand

LeftCommand = "LeftCommand"

左Command键


LeftControl

LeftControl = "LeftControl"

左Control键


LeftMouseButton

LeftMouseButton = "LeftMouseButton"

鼠标左键


LeftShift

LeftShift = "LeftShift"

左Shift键


M

M = "M"

M键


MiddleMouseButton

MiddleMouseButton = "MiddleMouseButton"

鼠标中键


Mouse2D

Mouse2D = "Mouse2D"

鼠标移动


MouseScrollDown

MouseScrollDown = "MouseScrollDown"

鼠标滚轮向下滑


MouseScrollUp

MouseScrollUp = "MouseScrollUp"

鼠标滚轮向上滑


MouseWheelAxis

MouseWheelAxis = "MouseWheelAxis"

鼠标滚轮轴


MouseX

MouseX = "MouseX"

鼠标水平轴移动


MouseY

MouseY = "MouseY"

鼠标竖直轴移动


Multiply

Multiply = "Multiply"

小键盘*键位


N

N = "N"

N键


Nine

Nine = "Nine"

9键


NumLock

NumLock = "NumLock"

NumLock键


NumPadEight

NumPadEight = "NumPadEight"

小键盘8键位


NumPadFive

NumPadFive = "NumPadFive"

小键盘5键位


NumPadFour

NumPadFour = "NumPadFour"

小键盘4键位


NumPadNine

NumPadNine = "NumPadNine"

小键盘9键位


NumPadOne

NumPadOne = "NumPadOne"

小键盘1键位


NumPadSeven

NumPadSeven = "NumPadSeven"

小键盘7键位


NumPadSix

NumPadSix = "NumPadSix"

小键盘6键位


NumPadThree

NumPadThree = "NumPadThree"

小键盘3键位


NumPadTwo

NumPadTwo = "NumPadTwo"

小键盘2键位


NumPadZero

NumPadZero = "NumPadZero"

小键盘0键位


O

O = "O"

O键


One

One = "One"

1键


P

P = "P"

P键


PageDown

PageDown = "PageDown"

PageDown键


PageUp

PageUp = "PageUp"

PageUp键


Pause

Pause = "Pause"

暂停键


Period

Period = "Period"

.号


Q

Q = "Q"

Q键


R

R = "R"

R键


Right = "Right"

→键


RightAlt

RightAlt = "RightAlt"

右Alt键


RightCommand

RightCommand = "RightCommand"

右Command键


RightControl

RightControl = "RightControl"

右Control键


RightMouseButton

RightMouseButton = "RightMouseButton"

鼠标右键


RightShift

RightShift = "RightShift"

右Shift键


S

S = "S"

S键


ScrollLock

ScrollLock = "ScrollLock"

ScrollLock键


Semicolon

Semicolon = "Semicolon"

; 号


Seven

Seven = "Seven"

7键


Six

Six = "Six"

6键


Slash

Slash = "Slash"

/号


SpaceBar

SpaceBar = "SpaceBar"

空格键


Subtract

Subtract = "Subtract"

小键盘-键位


T

T = "T"

T键


Tab

Tab = "Tab"

Tab键


Three

Three = "Three"

3键


ThumbMouseButton

ThumbMouseButton = "ThumbMouseButton"

拇指鼠标上按键


ThumbMouseButton2

ThumbMouseButton2 = "ThumbMouseButton2"

拇指鼠标下按键


Tilde

Tilde = "Tilde"

~号


Two

Two = "Two"

2键


U

U = "U"

U键


Underscore

Underscore = "Underscore"

_号


Up

Up = "Up"

↑键


V

V = "V"

V键


W

W = "W"

W键


X

X = "X"

X键


Y

Y = "Y"

Y键


Z

Z = "Z"

Z键


Zero

Zero = "Zero"

0键