Source code of Windows XP (NT5)
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.

227 lines
9.4 KiB

  1. //****************************************************************************
  2. //
  3. // File: rcids.h
  4. // Content: resource constants
  5. // History:
  6. // Date By Reason
  7. // ==== == ======
  8. // 29-nov-94 craige split from mmse
  9. // 15-dec-94 craige allow N joysticks
  10. // 05-jan-95 craige new centering confirmation messages
  11. // 04-mar-95 craige bug 10761 - separate strings for pluralization
  12. //
  13. // Copyright (c) Microsoft Corporation 1994, 1995
  14. //
  15. //****************************************************************************
  16. #ifndef __RCIDS_INCLUDED__
  17. #define __RCIDS_INCLUDED__
  18. #include "joyhelp.h"
  19. #define ID_GENERIC_START 0x1000
  20. /*
  21. * Icons
  22. */
  23. #define IDI_JOYPOV_NONE 102
  24. #define IDI_JOYPOV_UP 103
  25. #define IDI_JOYPOV_DOWN 104
  26. #define IDI_JOYPOV_LEFT 105
  27. #define IDI_JOYPOV_RIGHT 106
  28. #define IDI_JOYPOV_GRAYED 107
  29. #define IDI_JOYPOV_OFF 108
  30. #define IDI_BUTTONOFF 120
  31. #define IDI_BUTTONON 121
  32. #define IDC_JOYBTN1 1001
  33. #define IDC_JOYBTN2 1002
  34. #define IDC_JOYBTN3 1003
  35. #define IDC_JOYBTN4 1004
  36. #define IDC_JOYBTN5 1005
  37. #define IDC_JOYBTN6 1006
  38. #define IDC_JOYBTN7 1007
  39. #define IDC_JOYBTN8 1008
  40. #define IDC_JOYBTN9 1009
  41. #define IDC_JOYBTN10 1010
  42. #define IDC_JOYBTN11 1011
  43. #define IDC_JOYBTN12 1012
  44. #define IDC_JOYBTN13 1013
  45. #define IDC_JOYBTN14 1014
  46. #define IDC_JOYBTN15 1015
  47. #define IDC_JOYBTN16 1016
  48. #define IDC_SIDEWINDERICON 1017
  49. /*
  50. * strings
  51. */
  52. #if 0
  53. #define IDS_GENERIC_START (ID_GENERIC_START)
  54. #define IDS_GENERIC_STRINGS (IDS_GENERIC_START)
  55. #define IDS_JOYINFO (IDS_GENERIC_STRINGS + 0x0001)
  56. #define IDS_JOY (IDS_GENERIC_STRINGS + 0x0002)
  57. #define IDS_JOY2 (IDS_GENERIC_STRINGS + 0x0003)
  58. #define IDS_JOY2S (IDS_GENERIC_STRINGS + 0x0004)
  59. #define IDS_JOYSTICK_STRINGS (IDS_GENERIC_START+0x0100)
  60. #define IDS_JOYCALXY_CENTER (IDS_JOYSTICK_STRINGS+0x0001)
  61. #define IDS_JOYCALXY_MOVE (IDS_JOYSTICK_STRINGS+0x0002)
  62. #define IDS_JOYCALZ_MOVE (IDS_JOYSTICK_STRINGS+0x0003)
  63. #define IDS_JOYCALPOV_MOVE (IDS_JOYSTICK_STRINGS+0x0004)
  64. #define IDS_JOYCAL_UP (IDS_JOYSTICK_STRINGS+0x0005)
  65. #define IDS_JOYCAL_DOWN (IDS_JOYSTICK_STRINGS+0x0006)
  66. #define IDS_JOYCAL_LEFT (IDS_JOYSTICK_STRINGS+0x0007)
  67. #define IDS_JOYCAL_RIGHT (IDS_JOYSTICK_STRINGS+0x0008)
  68. #define IDS_JOYTESTCAPN (IDS_JOYSTICK_STRINGS+0x0009)
  69. /* 0x000a unused */
  70. #define IDS_JOYBUTTON1 (IDS_JOYSTICK_STRINGS+0x000b)
  71. #define IDS_JOYBUTTON2 (IDS_JOYSTICK_STRINGS+0x000c)
  72. #define IDS_JOYCALCAPN (IDS_JOYSTICK_STRINGS+0x000d)
  73. /* 0x000e unused */
  74. #define IDS_JOYUNPLUGGED (IDS_JOYSTICK_STRINGS+0x000f)
  75. #define IDS_JOYCALXY_MOVEYOKE (IDS_JOYSTICK_STRINGS+0x0010)
  76. #define IDS_JOYCAL_DONE (IDS_JOYSTICK_STRINGS+0x0011)
  77. #define IDS_JOYCALXY_MOVEGAMEPAD (IDS_JOYSTICK_STRINGS+0x0012)
  78. #define IDS_JOYCALXY_CENTERGAMEPAD (IDS_JOYSTICK_STRINGS+0x0013)
  79. #define IDS_JOYCALXY_CENTERYOKE (IDS_JOYSTICK_STRINGS+0x0014)
  80. #define IDS_JOYREADERROR (IDS_JOYSTICK_STRINGS+0x0015)
  81. #define IDS_JOYCALRUDDER_MOVE (IDS_JOYSTICK_STRINGS+0x0016)
  82. #define IDS_JOYCALXY_MOVECAR (IDS_JOYSTICK_STRINGS+0x0017)
  83. #define IDS_JOYCALXY_CENTERCAR (IDS_JOYSTICK_STRINGS+0x0018)
  84. #define IDS_JOYCALXY_CENTER2 (IDS_JOYSTICK_STRINGS+0x0019)
  85. #define IDS_JOYCAL_YOKE (IDS_JOYSTICK_STRINGS+0x001a)
  86. #define IDS_JOYCAL_CAR (IDS_JOYSTICK_STRINGS+0x001b)
  87. #define IDS_JOYCAL_GAMEPAD (IDS_JOYSTICK_STRINGS+0x001c)
  88. #define IDS_JOYNOTPRESENT (IDS_JOYSTICK_STRINGS+0x001d)
  89. #define IDS_JOYCAL_NOTDONE (IDS_JOYSTICK_STRINGS+0x001e)
  90. #define IDS_JOYCALU_MOVE (IDS_JOYSTICK_STRINGS+0x001f)
  91. #define IDS_JOYCALV_MOVE (IDS_JOYSTICK_STRINGS+0x0020)
  92. #define IDS_JOYRESTARTMSG1 (IDS_JOYSTICK_STRINGS+0x0021)
  93. #define IDS_JOYRESTARTMSG2 (IDS_JOYSTICK_STRINGS+0x0022)
  94. #define IDS_JOYCALXY_CENTERGAMEPAD2 (IDS_JOYSTICK_STRINGS+0x0023)
  95. #define IDS_JOYCALXY_CENTERYOKE2 (IDS_JOYSTICK_STRINGS+0x0024)
  96. #define IDS_JOYCALXY_CENTERCAR2 (IDS_JOYSTICK_STRINGS+0x0025)
  97. #define IDS_JOYCAL_YOKES (IDS_JOYSTICK_STRINGS+0x0026)
  98. #define IDS_JOYCAL_CARS (IDS_JOYSTICK_STRINGS+0x0027)
  99. #define IDS_JOYCAL_GAMEPADS (IDS_JOYSTICK_STRINGS+0x0028)
  100. #define IDS_JOYCALINDICATOR (IDS_JOYSTICK_STRINGS+0x0029)
  101. #define IDS_VAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002a)
  102. #define IDS_UAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002b)
  103. #define IDS_POVAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002c)
  104. #define IDS_ZAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002d)
  105. #define IDS_XYAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002e)
  106. #define IDS_RAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002f)
  107. #define IDS_JOYHW0 (IDS_JOYSTICK_STRINGS+0x0040)
  108. #define IDS_JOYHW1 (IDS_JOYSTICK_STRINGS+0x0041)
  109. #define IDS_JOYHW2 (IDS_JOYSTICK_STRINGS+0x0042)
  110. #define IDS_JOYHW3 (IDS_JOYSTICK_STRINGS+0x0043)
  111. #define IDS_JOYHW4 (IDS_JOYSTICK_STRINGS+0x0044)
  112. #define IDS_JOYHW5 (IDS_JOYSTICK_STRINGS+0x0045)
  113. #define IDS_JOYHW6 (IDS_JOYSTICK_STRINGS+0x0046)
  114. #define IDS_JOYHW7 (IDS_JOYSTICK_STRINGS+0x0047)
  115. #define IDS_JOYHW8 (IDS_JOYSTICK_STRINGS+0x0048)
  116. #define IDS_JOYHW9 (IDS_JOYSTICK_STRINGS+0x0049)
  117. #define IDS_JOYHW10 (IDS_JOYSTICK_STRINGS+0x004a)
  118. #define IDS_JOYHW11 (IDS_JOYSTICK_STRINGS+0x004b)
  119. #define IDS_JOYHWLAST (IDS_JOYSTICK_STRINGS+0x004c)
  120. #endif // 0
  121. /*
  122. * dialog ids
  123. */
  124. #define IDD_JOYSTICK 0x1000
  125. #define IDD_JOYCALIBRATE 0x1001
  126. #define IDD_JOYTEST 0x1002
  127. #define IDD_JOYCUSTOM 0x1003
  128. #define IDD_JOYTEST1 0x1004
  129. #define IDD_JOYCALIBRATE1 0x1005
  130. /*
  131. * dialog constants
  132. */
  133. #ifndef IDC_STATIC
  134. #define IDC_STATIC -1
  135. #endif
  136. #define ID_START (ID_GENERIC_START+0x1000)
  137. #define ID_APPLY (ID_START + 0x0001)
  138. #define ID_INIT (ID_START + 0x0002)
  139. #define IDC_ICON_1 (ID_START + 0x0003)
  140. #define IDC_ICON_2 (ID_START + 0x0004)
  141. #define IDC_TEXT_1 (ID_START + 0x0005)
  142. #define IDC_TEXT_2 (ID_START + 0x0006)
  143. #define IDC_GROUPBOX (ID_START + 0x0007)
  144. #define IDC_GROUPBOX_2 (ID_START + 0x0008)
  145. #define IDC_GROUPBOX_3 (ID_START + 0x0009)
  146. #define ID_JOYSTICK_START (ID_GENERIC_START+0x2000)
  147. #define IDC_JOYSTICK1_FRAME (ID_JOYSTICK_START+0x0001)
  148. #define IDC_JOYSTICK2_FRAME (ID_JOYSTICK_START+0x0002)
  149. #define IDC_JOYCALIBRATE (ID_JOYSTICK_START+0x0003)
  150. #define IDC_JOYTEST (ID_JOYSTICK_START+0x0004)
  151. #define IDC_JOYLIST1 (ID_JOYSTICK_START+0x0005)
  152. #define IDC_JOYCALSTEP (ID_JOYSTICK_START+0x0006)
  153. #define IDC_JOYCALICON (ID_JOYSTICK_START+0x0007)
  154. #define IDC_JOYTESTBTN (ID_JOYSTICK_START+0x0008)
  155. #define IDC_JOYSELECT (ID_JOYSTICK_START+0x0009)
  156. #define IDC_JOYSELECT2 (ID_JOYSTICK_START+0x000a)
  157. #define IDC_JOYSELECTMSG (ID_JOYSTICK_START+0x000b)
  158. #define IDC_JOYSELECTMSG2 (ID_JOYSTICK_START+0x000c)
  159. #define IDC_JOYXYPOS (ID_JOYSTICK_START+0x000d)
  160. #define IDC_JOYB1 (ID_JOYSTICK_START+0x000e)
  161. #define IDC_JOYB2 (ID_JOYSTICK_START+0x000f)
  162. #define IDC_JOYB3 (ID_JOYSTICK_START+0x0010)
  163. #define IDC_JOYB4 (ID_JOYSTICK_START+0x0011)
  164. #define IDC_JOYB3TXT (ID_JOYSTICK_START+0x0012)
  165. #define IDC_JOYB4TXT (ID_JOYSTICK_START+0x0013)
  166. #define IDC_JOYLIST2 (ID_JOYSTICK_START+0x0014)
  167. #define IDC_JOYPOV (ID_JOYSTICK_START+0x0015)
  168. #define IDC_JOYB1_LABEL (ID_JOYSTICK_START+0x0016)
  169. #define IDC_JOYB2_LABEL (ID_JOYSTICK_START+0x0017)
  170. #define IDC_JOYB3_LABEL (ID_JOYSTICK_START+0x0018)
  171. #define IDC_JOYB4_LABEL (ID_JOYSTICK_START+0x0019)
  172. #define IDC_JOYLIST1_LABEL (ID_JOYSTICK_START+0x001a)
  173. #define IDC_JOYLIST2_LABEL (ID_JOYSTICK_START+0x001b)
  174. #define IDC_JOYPOV_LABEL (ID_JOYSTICK_START+0x001c)
  175. #define IDC_JOYCALIBRATE2 (ID_JOYSTICK_START+0x001d)
  176. #define IDC_JOYTEST2 (ID_JOYSTICK_START+0x001e)
  177. #define IDC_JOYMSG (ID_JOYSTICK_START+0x001f)
  178. #define IDC_JOYCALMSG (ID_JOYSTICK_START+0x0020)
  179. #define IDC_JOYCALDONE (ID_JOYSTICK_START+0x0021)
  180. #define IDC_JOYHASPOV (ID_JOYSTICK_START+0x0022)
  181. #define IDC_JOYISYOKE (ID_JOYSTICK_START+0x0023)
  182. #define IDC_JOYISGAMEPAD (ID_JOYSTICK_START+0x0024)
  183. #define IDC_JOYISCARCTRL (ID_JOYSTICK_START+0x0025)
  184. #define IDC_JOY2BUTTON (ID_JOYSTICK_START+0x0026)
  185. #define IDC_JOY4BUTTON (ID_JOYSTICK_START+0x0027)
  186. #define IDC_JOYPICKPOV (ID_JOYSTICK_START+0x0028)
  187. #define IDC_JOYCALBACK (ID_JOYSTICK_START+0x0029)
  188. #define IDC_JOYCALNEXT (ID_JOYSTICK_START+0x002a)
  189. #define IDC_JOYSPECIALBOX (ID_JOYSTICK_START+0x002b)
  190. #define IDC_JOYUSESPECIAL (ID_JOYSTICK_START+0x002c)
  191. #define IDC_JOY1HASRUDDER (ID_JOYSTICK_START+0x002d)
  192. #define IDC_JOYLIST3 (ID_JOYSTICK_START+0x002e)
  193. #define IDC_JOYLIST3_LABEL (ID_JOYSTICK_START+0x002f)
  194. #define IDC_JOY2AXIS (ID_JOYSTICK_START+0x0030)
  195. #define IDC_JOY3AXIS (ID_JOYSTICK_START+0x0031)
  196. #define IDC_JOY4AXIS (ID_JOYSTICK_START+0x0032)
  197. #define IDC_JOY_UNCAL1 (ID_JOYSTICK_START+0x0033)
  198. #define IDC_JOY_UNCAL2 (ID_JOYSTICK_START+0x0034)
  199. #define IDC_JOY_UNCAL3 (ID_JOYSTICK_START+0x0035)
  200. #define IDC_JOY_UNCAL4 (ID_JOYSTICK_START+0x0036)
  201. #define IDC_JOY_UNCAL5 (ID_JOYSTICK_START+0x0037)
  202. #define IDC_JOY_UNCAL6 (ID_JOYSTICK_START+0x0038)
  203. #define IDC_JOYCURRENTID (ID_JOYSTICK_START+0x0039)
  204. #define IDC_JOYCURRENTIDMSG (ID_JOYSTICK_START+0x003a)
  205. #define IDC_JOYLIST4 (ID_JOYSTICK_START+0x003b)
  206. #define IDC_JOYLIST4_LABEL (ID_JOYSTICK_START+0x003c)
  207. #define IDC_JOYLIST5 (ID_JOYSTICK_START+0x003d)
  208. #define IDC_JOYLIST5_LABEL (ID_JOYSTICK_START+0x003e)
  209. #define IDC_JOYRESET (ID_JOYSTICK_START+0x003f)
  210. #define IDC_JOYTROUBLESHOOT_FRAME (ID_JOYSTICK_START+0x0040)
  211. #define IDC_JOYTROUBLESHOOT_TEXT (ID_JOYSTICK_START+0x0041)
  212. #endif