Export (0) Print
Expand All

Keys Enumeration

Identifies a particular key on a keyboard.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public enum Keys

 Member nameDescription
AA key
AddAdd key
AppsApplications key
AttnAttn key
BB key
BackBACKSPACE key
BrowserBackWindows 2000/XP: Browser Back key
BrowserFavoritesWindows 2000/XP: Browser Favorites key
BrowserForwardWindows 2000/XP: Browser Forward key
BrowserHomeWindows 2000/XP: Browser Start and Home key
BrowserRefreshWindows 2000/XP: Browser Refresh key
BrowserSearchWindows 2000/XP: Browser Search key
BrowserStopWindows 2000/XP: Browser Stop key
CC key
CapsLockCAPS LOCK key
ChatPadGreenGreen ChatPad key
ChatPadOrangeOrange ChatPad key
CrselCrSel key
DD key
D0Used for miscellaneous characters; it can vary by keyboard.
D1Used for miscellaneous characters; it can vary by keyboard.
D2Used for miscellaneous characters; it can vary by keyboard.
D3Used for miscellaneous characters; it can vary by keyboard.
D4Used for miscellaneous characters; it can vary by keyboard.
D5Used for miscellaneous characters; it can vary by keyboard.
D6Used for miscellaneous characters; it can vary by keyboard.
D7Used for miscellaneous characters; it can vary by keyboard.
D8Used for miscellaneous characters; it can vary by keyboard.
D9Used for miscellaneous characters; it can vary by keyboard.
DecimalDecimal key
DeleteDEL key
DivideDivide key
DownDOWN ARROW key
EE key
EndEND key
EnterENTER key
EraseEofErase EOF key
EscapeESC key
ExecuteEXECUTE key
ExselExSel key
FF key
F1F1 key
F10F10 key
F11F11 key
F12F12 key
F13F13 key
F14F14 key
F15F15 key
F16F16 key
F17F17 key
F18F18 key
F19F19 key
F2F2 key
F20F20 key
F21F21 key
F22F22 key
F23F23 key
F24F24 key
F3F3 key
F4F4 key
F5F5 key
F6F6 key
F7F7 key
F8F8 key
F9F9 key
GG key
HH key
HelpHELP key
HomeHOME key
II key
ImeConvertIME Convert key
ImeNoConvertIME NoConvert key
InsertINS key
JJ key
KK key
KanaKana key on Japanese keyboards
KanjiKanji key on Japanese keyboards
LL key
LaunchApplication1Windows 2000/XP: Start Application 1 key
LaunchApplication2Windows 2000/XP: Start Application 2 key
LaunchMailWindows 2000/XP: Start Mail key
LeftLEFT ARROW key
LeftAltLeft ALT key
LeftControlLeft CONTROL key
LeftShiftLeft SHIFT key
LeftWindowsLeft Windows key
MM key
MediaNextTrackWindows 2000/XP: Next Track key
MediaPlayPauseWindows 2000/XP: Play/Pause Media key
MediaPreviousTrackWindows 2000/XP: Previous Track key
MediaStopWindows 2000/XP: Stop Media key
MultiplyMultiply key
NN key
NoneReserved
NumLockNUM LOCK key
NumPad0Numeric keypad 0 key
NumPad1Numeric keypad 1 key
NumPad2Numeric keypad 2 key
NumPad3Numeric keypad 3 key
NumPad4Numeric keypad 4 key
NumPad5Numeric keypad 5 key
NumPad6Numeric keypad 6 key
NumPad7Numeric keypad 7 key
NumPad8Numeric keypad 8 key
NumPad9Numeric keypad 9 key
OO key
Oem8Used for miscellaneous characters; it can vary by keyboard.
OemAutoOEM Auto key
OemBackslashWindows 2000/XP: The OEM angle bracket or backslash key on the RT 102 key keyboard
OemClearCLEAR key
OemCloseBracketsWindows 2000/XP: The OEM close bracket key on a US standard keyboard
OemCommaWindows 2000/XP: For any country/region, the ',' key
OemCopyOEM Copy key
OemEnlWOEM Enlarge Window key
OemMinusWindows 2000/XP: For any country/region, the '-' key
OemOpenBracketsWindows 2000/XP: The OEM open bracket key on a US standard keyboard
OemPeriodWindows 2000/XP: For any country/region, the '.' key
OemPipeWindows 2000/XP: The OEM pipe key on a US standard keyboard
OemPlusWindows 2000/XP: For any country/region, the '+' key
OemQuestionWindows 2000/XP: The OEM question mark key on a US standard keyboard
OemQuotesWindows 2000/XP: The OEM singled/double quote key on a US standard keyboard
OemSemicolonWindows 2000/XP: The OEM Semicolon key on a US standard keyboard
OemTildeWindows 2000/XP: The OEM tilde key on a US standard keyboard
PP key
Pa1PA1 key
PageDownPAGE DOWN key
PageUpPAGE UP key
PausePAUSE key
PlayPlay key
PrintPRINT key
PrintScreenPRINT SCREEN key
ProcessKeyWindows 95/98/Me, Windows NT 4.0, Windows 2000/XP: IME PROCESS key
QQ key
RR key
RightRIGHT ARROW key
RightAltRight ALT key
RightControlRight CONTROL key
RightShiftRight SHIFT key
RightWindowsRight Windows key
SS key
ScrollSCROLL LOCK key
SelectSELECT key
SelectMediaWindows 2000/XP: Select Media key
SeparatorSeparator key
SleepComputer Sleep key
SpaceSPACEBAR
SubtractSubtract key
TT key
TabTAB key
UU key
UpUP ARROW key
VV key
VolumeDownWindows 2000/XP: Volume Down key
VolumeMuteWindows 2000/XP: Volume Mute key
VolumeUpWindows 2000/XP: Volume Up key
WW key
XX key
YY key
ZZ key
ZoomZoom key

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show:
© 2014 Microsoft