Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

159 lines
7.7 KiB

  1. dik_def(DIK_ESCAPE ,0x01)
  2. dik_def(DIK_1 ,0x02)
  3. dik_def(DIK_2 ,0x03)
  4. dik_def(DIK_3 ,0x04)
  5. dik_def(DIK_4 ,0x05)
  6. dik_def(DIK_5 ,0x06)
  7. dik_def(DIK_6 ,0x07)
  8. dik_def(DIK_7 ,0x08)
  9. dik_def(DIK_8 ,0x09)
  10. dik_def(DIK_9 ,0x0A)
  11. dik_def(DIK_0 ,0x0B)
  12. dik_def(DIK_MINUS ,0x0C) /* - on main keyboard */
  13. dik_def(DIK_EQUALS ,0x0D)
  14. dik_def(DIK_BACK ,0x0E) /* backspace */
  15. dik_def(DIK_TAB ,0x0F)
  16. dik_def(DIK_Q ,0x10)
  17. dik_def(DIK_W ,0x11)
  18. dik_def(DIK_E ,0x12)
  19. dik_def(DIK_R ,0x13)
  20. dik_def(DIK_T ,0x14)
  21. dik_def(DIK_Y ,0x15)
  22. dik_def(DIK_U ,0x16)
  23. dik_def(DIK_I ,0x17)
  24. dik_def(DIK_O ,0x18)
  25. dik_def(DIK_P ,0x19)
  26. dik_def(DIK_LBRACKET ,0x1A)
  27. dik_def(DIK_RBRACKET ,0x1B)
  28. dik_def(DIK_RETURN ,0x1C) /* Enter on main keyboard */
  29. dik_def(DIK_LCONTROL ,0x1D)
  30. dik_def(DIK_A ,0x1E)
  31. dik_def(DIK_S ,0x1F)
  32. dik_def(DIK_D ,0x20)
  33. dik_def(DIK_F ,0x21)
  34. dik_def(DIK_G ,0x22)
  35. dik_def(DIK_H ,0x23)
  36. dik_def(DIK_J ,0x24)
  37. dik_def(DIK_K ,0x25)
  38. dik_def(DIK_L ,0x26)
  39. dik_def(DIK_SEMICOLON ,0x27)
  40. dik_def(DIK_APOSTROPHE ,0x28)
  41. dik_def(DIK_GRAVE ,0x29) /* accent grave */
  42. dik_def(DIK_LSHIFT ,0x2A)
  43. dik_def(DIK_BACKSLASH ,0x2B)
  44. dik_def(DIK_Z ,0x2C)
  45. dik_def(DIK_X ,0x2D)
  46. dik_def(DIK_C ,0x2E)
  47. dik_def(DIK_V ,0x2F)
  48. dik_def(DIK_B ,0x30)
  49. dik_def(DIK_N ,0x31)
  50. dik_def(DIK_M ,0x32)
  51. dik_def(DIK_COMMA ,0x33)
  52. dik_def(DIK_PERIOD ,0x34) /* . on main keyboard */
  53. dik_def(DIK_SLASH ,0x35) /* / on main keyboard */
  54. dik_def(DIK_RSHIFT ,0x36)
  55. dik_def(DIK_MULTIPLY ,0x37) /* * on numeric keypad */
  56. dik_def(DIK_LMENU ,0x38) /* left Alt */
  57. dik_def(DIK_SPACE ,0x39)
  58. dik_def(DIK_CAPITAL ,0x3A)
  59. dik_def(DIK_F1 ,0x3B)
  60. dik_def(DIK_F2 ,0x3C)
  61. dik_def(DIK_F3 ,0x3D)
  62. dik_def(DIK_F4 ,0x3E)
  63. dik_def(DIK_F5 ,0x3F)
  64. dik_def(DIK_F6 ,0x40)
  65. dik_def(DIK_F7 ,0x41)
  66. dik_def(DIK_F8 ,0x42)
  67. dik_def(DIK_F9 ,0x43)
  68. dik_def(DIK_F10 ,0x44)
  69. dik_def(DIK_NUMLOCK ,0x45)
  70. dik_def(DIK_SCROLL ,0x46) /* Scroll Lock */
  71. dik_def(DIK_NUMPAD7 ,0x47)
  72. dik_def(DIK_NUMPAD8 ,0x48)
  73. dik_def(DIK_NUMPAD9 ,0x49)
  74. dik_def(DIK_SUBTRACT ,0x4A) /* - on numeric keypad */
  75. dik_def(DIK_NUMPAD4 ,0x4B)
  76. dik_def(DIK_NUMPAD5 ,0x4C)
  77. dik_def(DIK_NUMPAD6 ,0x4D)
  78. dik_def(DIK_ADD ,0x4E) /* + on numeric keypad */
  79. dik_def(DIK_NUMPAD1 ,0x4F)
  80. dik_def(DIK_NUMPAD2 ,0x50)
  81. dik_def(DIK_NUMPAD3 ,0x51)
  82. dik_def(DIK_NUMPAD0 ,0x52)
  83. dik_def(DIK_DECIMAL ,0x53) /* . on numeric keypad */
  84. dik_def(DIK_OEM_102 ,0x56) /* <> or \| on RT 102-key keyboard (Non-U.S.) */
  85. dik_def(DIK_F11 ,0x57)
  86. dik_def(DIK_F12 ,0x58)
  87. dik_def(DIK_F13 ,0x64) /* (NEC PC98) */
  88. dik_def(DIK_F14 ,0x65) /* (NEC PC98) */
  89. dik_def(DIK_F15 ,0x66) /* (NEC PC98) */
  90. ;begin_internal
  91. // NT puts them here in their keyboard driver
  92. // So keep them in the same place to avoid problems later
  93. dik_def(DIK_F16 ,0x67) //;Internal NT
  94. dik_def(DIK_F17 ,0x68) //;Internal NT
  95. dik_def(DIK_F18 ,0x69) //;Internal NT
  96. dik_def(DIK_F19 ,0x6A) //;Internal NT
  97. dik_def(DIK_F20 ,0x6B) //;Internal NT
  98. dik_def(DIK_F21 ,0x6C) //;Internal NT
  99. dik_def(DIK_F22 ,0x6D) //;Internal NT
  100. dik_def(DIK_F23 ,0x6E) //;Internal NT
  101. ;end_internal
  102. dik_def(DIK_KANA ,0x70) /* (Japanese keyboard) */
  103. dik_def(DIK_ABNT_C1 ,0x73) /* /? on Brazilian keyboard */
  104. dik_def(DIK_F24 ,0x76) //;Internal NT
  105. dik_def(DIK_CONVERT ,0x79) /* (Japanese keyboard) */
  106. dik_def(DIK_NOCONVERT ,0x7B) /* (Japanese keyboard) */
  107. dik_def(DIK_YEN ,0x7D) /* (Japanese keyboard) */
  108. dik_def(DIK_ABNT_C2 ,0x7E) /* Numpad . on Brazilian keyboard */
  109. dik_def(DIK_SHARP ,0x84) /* Hash-mark */;internal
  110. dik_def(DIK_NUMPADEQUALS ,0x8D) /* = on numeric keypad (NEC PC98) */
  111. dik_def(DIK_PREVTRACK ,0x90) /* Previous Track (DIK_CIRCUMFLEX on Japanese keyboard) */
  112. dik_def(DIK_AT ,0x91) /* (NEC PC98) */
  113. dik_def(DIK_COLON ,0x92) /* (NEC PC98) */
  114. dik_def(DIK_UNDERLINE ,0x93) /* (NEC PC98) */
  115. dik_def(DIK_KANJI ,0x94) /* (Japanese keyboard) */
  116. dik_def(DIK_STOP ,0x95) /* (NEC PC98) */
  117. dik_def(DIK_AX ,0x96) /* (Japan AX) */
  118. dik_def(DIK_UNLABELED ,0x97) /* (J3100) */
  119. dik_def(DIK_NEXTTRACK ,0x99) /* Next Track */
  120. dik_def(DIK_NUMPADENTER ,0x9C) /* Enter on numeric keypad */
  121. dik_def(DIK_RCONTROL ,0x9D)
  122. dik_def(DIK_MUTE ,0xA0) /* Mute */
  123. dik_def(DIK_CALCULATOR ,0xA1) /* Calculator */
  124. dik_def(DIK_PLAYPAUSE ,0xA2) /* Play / Pause */
  125. dik_def(DIK_MEDIASTOP ,0xA4) /* Media Stop */
  126. dik_def(DIK_VOLUMEDOWN ,0xAE) /* Volume - */
  127. dik_def(DIK_VOLUMEUP ,0xB0) /* Volume + */
  128. dik_def(DIK_WEBHOME ,0xB2) /* Web home */
  129. dik_def(DIK_NUMPADCOMMA ,0xB3) /* , on numeric keypad (NEC PC98) */
  130. dik_def(DIK_DIVIDE ,0xB5) /* / on numeric keypad */
  131. dik_def(DIK_SYSRQ ,0xB7)
  132. dik_def(DIK_RMENU ,0xB8) /* right Alt */
  133. //k_def(DIK_SNAPSHOT ,0xC5) /* Print Screen */;internal
  134. dik_def(DIK_PAUSE ,0xC5) /* Pause */
  135. dik_def(DIK_HOME ,0xC7) /* Home on arrow keypad */
  136. dik_def(DIK_UP ,0xC8) /* UpArrow on arrow keypad */
  137. dik_def(DIK_PRIOR ,0xC9) /* PgUp on arrow keypad */
  138. dik_def(DIK_LEFT ,0xCB) /* LeftArrow on arrow keypad */
  139. dik_def(DIK_RIGHT ,0xCD) /* RightArrow on arrow keypad */
  140. dik_def(DIK_END ,0xCF) /* End on arrow keypad */
  141. dik_def(DIK_DOWN ,0xD0) /* DownArrow on arrow keypad */
  142. dik_def(DIK_NEXT ,0xD1) /* PgDn on arrow keypad */
  143. dik_def(DIK_INSERT ,0xD2) /* Insert on arrow keypad */
  144. dik_def(DIK_DELETE ,0xD3) /* Delete on arrow keypad */
  145. dik_def(DIK_LWIN ,0xDB) /* Left Windows key */
  146. dik_def(DIK_RWIN ,0xDC) /* Right Windows key */
  147. dik_def(DIK_APPS ,0xDD) /* AppMenu key */
  148. dik_def(DIK_POWER ,0xDE) /* System Power */
  149. dik_def(DIK_SLEEP ,0xDF) /* System Sleep */
  150. dik_def(DIK_WAKE ,0xE3) /* System Wake */
  151. dik_def(DIK_WEBSEARCH ,0xE5) /* Web Search */
  152. dik_def(DIK_WEBFAVORITES ,0xE6) /* Web Favorites */
  153. dik_def(DIK_WEBREFRESH ,0xE7) /* Web Refresh */
  154. dik_def(DIK_WEBSTOP ,0xE8) /* Web Stop */
  155. dik_def(DIK_WEBFORWARD ,0xE9) /* Web Forward */
  156. dik_def(DIK_WEBBACK ,0xEA) /* Web Back */
  157. dik_def(DIK_MYCOMPUTER ,0xEB) /* My Computer */
  158. dik_def(DIK_MAIL ,0xEC) /* Mail */
  159. dik_def(DIK_MEDIASELECT ,0xED) /* Media Select */