| Key Enumeration | Language: | 
      
      
      
      
      Definition
      
        
          
            | Visual Basic | Public Enum Key | 
          
            | C# | public enum Key | 
          
            | C++ | public enum class Key | 
          
            | JScript | public enum Key | 
        
      
      Members
      
        
          
            | Member | Value | Description | 
          
            | Sleep | 223 |  | 
          
            | Next | 209 |  | 
          
            | Stop | 149 |  | 
          
            | Convert | 121 |  | 
          
            | Decimal | 83 |  | 
          
            | X | 45 |  | 
          
            | Y | 21 |  | 
          
            | Escape | 1 |  | 
          
            | Circumflex | 144 |  | 
          
            | PageDown | 209 |  | 
          
            | DownArrow | 208 |  | 
          
            | RightArrow | 205 |  | 
          
            | LeftArrow | 203 |  | 
          
            | PageUp | 201 |  | 
          
            | UpArrow | 200 |  | 
          
            | RightAlt | 184 |  | 
          
            | NumPadSlash | 181 |  | 
          
            | NumPadPeriod | 83 |  | 
          
            | NumPadPlus | 78 |  | 
          
            | NumPadMinus | 74 |  | 
          
            | CapsLock | 58 |  | 
          
            | LeftAlt | 56 |  | 
          
            | NumPadStar | 55 |  | 
          
            | BackSpace | 14 |  | 
          
            | MediaSelect | 237 |  | 
          
            | Mail | 236 |  | 
          
            | MyComputer | 235 |  | 
          
            | WebBack | 234 |  | 
          
            | WebForward | 233 |  | 
          
            | WebStop | 232 |  | 
          
            | WebRefresh | 231 |  | 
          
            | WebFavorites | 230 |  | 
          
            | WebSearch | 229 |  | 
          
            | Wake | 227 |  | 
          
            | Power | 222 |  | 
          
            | Apps | 221 |  | 
          
            | RightWindows | 220 |  | 
          
            | LeftWindows | 219 |  | 
          
            | Down | 208 |  | 
          
            | End | 207 |  | 
          
            | Prior | 201 |  | 
          
            | Up | 200 |  | 
          
            | Home | 199 |  | 
          
            | RightMenu | 184 |  | 
          
            | SysRq | 183 |  | 
          
            | Divide | 181 |  | 
          
            | NumPadComma | 179 |  | 
          
            | WebHome | 178 |  | 
          
            | VolumeUp | 176 |  | 
          
            | VolumeDown | 174 |  | 
          
            | MediaStop | 164 |  | 
          
            | PlayPause | 162 |  | 
          
            | Calculator | 161 |  | 
          
            | Mute | 160 |  | 
          
            | RightControl | 157 |  | 
          
            | NumPadEnter | 156 |  | 
          
            | NextTrack | 153 |  | 
          
            | Unlabeled | 151 |  | 
          
            | AX | 150 |  | 
          
            | Kanji | 148 |  | 
          
            | Underline | 147 |  | 
          
            | Colon | 146 |  | 
          
            | At | 145 |  | 
          
            | PrevTrack | 144 |  | 
          
            | NumPadEquals | 141 |  | 
          
            | AbntC2 | 126 |  | 
          
            | Yen | 125 |  | 
          
            | NoConvert | 123 |  | 
          
            | AbntC1 | 115 |  | 
          
            | Kana | 112 |  | 
          
            | F15 | 102 |  | 
          
            | F14 | 101 |  | 
          
            | F13 | 100 |  | 
          
            | F12 | 88 |  | 
          
            | F11 | 87 |  | 
          
            | OEM102 | 86 |  | 
          
            | NumPad0 | 82 |  | 
          
            | NumPad3 | 81 |  | 
          
            | NumPad2 | 80 |  | 
          
            | NumPad1 | 79 |  | 
          
            | NumPad6 | 77 |  | 
          
            | NumPad5 | 76 |  | 
          
            | NumPad4 | 75 |  | 
          
            | Subtract | 74 |  | 
          
            | NumPad9 | 73 |  | 
          
            | NumPad8 | 72 |  | 
          
            | NumPad7 | 71 |  | 
          
            | Scroll | 70 |  | 
          
            | Numlock | 69 |  | 
          
            | F10 | 68 |  | 
          
            | F9 | 67 |  | 
          
            | F8 | 66 |  | 
          
            | F7 | 65 |  | 
          
            | F6 | 64 |  | 
          
            | F5 | 63 |  | 
          
            | F4 | 62 |  | 
          
            | F3 | 61 |  | 
          
            | F2 | 60 |  | 
          
            | F1 | 59 |  | 
          
            | Capital | 58 |  | 
          
            | Space | 57 |  | 
          
            | LeftMenu | 56 |  | 
          
            | Multiply | 55 |  | 
          
            | RightShift | 54 |  | 
          
            | Slash | 53 |  | 
          
            | Period | 52 |  | 
          
            | Comma | 51 |  | 
          
            | M | 50 |  | 
          
            | N | 49 |  | 
          
            | B | 48 |  | 
          
            | V | 47 |  | 
          
            | C | 46 |  | 
          
            | Z | 44 |  | 
          
            | BackSlash | 43 |  | 
          
            | LeftShift | 42 |  | 
          
            | Grave | 41 |  | 
          
            | Apostrophe | 40 |  | 
          
            | SemiColon | 39 |  | 
          
            | L | 38 |  | 
          
            | K | 37 |  | 
          
            | J | 36 |  | 
          
            | H | 35 |  | 
          
            | G | 34 |  | 
          
            | F | 33 |  | 
          
            | D | 32 |  | 
          
            | S | 31 |  | 
          
            | A | 30 |  | 
          
            | LeftControl | 29 |  | 
          
            | Return | 28 |  | 
          
            | RightBracket | 27 |  | 
          
            | LeftBracket | 26 |  | 
          
            | P | 25 |  | 
          
            | O | 24 |  | 
          
            | I | 23 |  | 
          
            | U | 22 |  | 
          
            | T | 20 |  | 
          
            | R | 19 |  | 
          
            | E | 18 |  | 
          
            | W | 17 |  | 
          
            | Tab | 15 |  | 
          
            | Back | 14 |  | 
          
            | Equals | 13 | Returns a value indicating whether this instance is equal to a specified object. | 
          
            | Minus | 12 |  | 
          
            | D0 | 11 |  | 
          
            | D9 | 10 |  | 
          
            | D8 | 9 |  | 
          
            | D7 | 8 |  | 
          
            | D6 | 7 |  | 
          
            | D5 | 6 |  | 
          
            | D4 | 5 |  | 
          
            | D3 | 4 |  | 
          
            | D2 | 3 |  | 
          
            | D1 | 2 |  | 
          
            | Insert | 210 | Inserts an element into the collection at the specified index. | 
          
            | Right | 205 |  | 
          
            | Left | 203 |  | 
          
            | Pause | 197 |  | 
          
            | Add | 78 |  | 
          
            | Delete | 211 |  | 
          
            | Q | 16 |  | 
        
      
      Enumeration Information
      
        
          
            | Namespace | Microsoft.DirectX.DirectInput | 
          
            | Assembly | Microsoft.DirectX.DirectInput (microsoft.directx.directinput.dll) | 
          
            | Strong Name | Microsoft.DirectX.DirectInput,
       Version=1.0.900.0,
       Culture=neutral,
       PublicKeyToken=d3231b57b74a1492 | 
        
      
      
      Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
      
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center