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.

201 lines
8.5 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_JOYSTICK 100
  24. #define IDI_JOYBTN 101
  25. #define IDI_JOYPOV_NONE 102
  26. #define IDI_JOYPOV_UP 103
  27. #define IDI_JOYPOV_DOWN 104
  28. #define IDI_JOYPOV_LEFT 105
  29. #define IDI_JOYPOV_RIGHT 106
  30. #define IDI_JOYPOV_GRAYED 107
  31. /*
  32. * strings
  33. */
  34. #define IDS_GENERIC_START (ID_GENERIC_START)
  35. #define IDS_GENERIC_STRINGS (IDS_GENERIC_START)
  36. #define IDS_JOYINFO (IDS_GENERIC_STRINGS + 0x0001)
  37. #define IDS_JOY (IDS_GENERIC_STRINGS + 0x0002)
  38. #define IDS_JOY2 (IDS_GENERIC_STRINGS + 0x0003)
  39. #define IDS_JOY2S (IDS_GENERIC_STRINGS + 0x0004)
  40. #define IDS_JOYSTICK_STRINGS (IDS_GENERIC_START+0x0100)
  41. #define IDS_JOYCALXY_CENTER (IDS_JOYSTICK_STRINGS+0x0001)
  42. #define IDS_JOYCALXY_MOVE (IDS_JOYSTICK_STRINGS+0x0002)
  43. #define IDS_JOYCALZ_MOVE (IDS_JOYSTICK_STRINGS+0x0003)
  44. #define IDS_JOYCALPOV_MOVE (IDS_JOYSTICK_STRINGS+0x0004)
  45. #define IDS_JOYCAL_UP (IDS_JOYSTICK_STRINGS+0x0005)
  46. #define IDS_JOYCAL_DOWN (IDS_JOYSTICK_STRINGS+0x0006)
  47. #define IDS_JOYCAL_LEFT (IDS_JOYSTICK_STRINGS+0x0007)
  48. #define IDS_JOYCAL_RIGHT (IDS_JOYSTICK_STRINGS+0x0008)
  49. #define IDS_JOYTESTCAPN (IDS_JOYSTICK_STRINGS+0x0009)
  50. /* 0x000a unused */
  51. #define IDS_JOYBUTTON1 (IDS_JOYSTICK_STRINGS+0x000b)
  52. #define IDS_JOYBUTTON2 (IDS_JOYSTICK_STRINGS+0x000c)
  53. #define IDS_JOYCALCAPN (IDS_JOYSTICK_STRINGS+0x000d)
  54. /* 0x000e unused */
  55. #define IDS_JOYUNPLUGGED (IDS_JOYSTICK_STRINGS+0x000f)
  56. #define IDS_JOYCALXY_MOVEYOKE (IDS_JOYSTICK_STRINGS+0x0010)
  57. #define IDS_JOYCAL_DONE (IDS_JOYSTICK_STRINGS+0x0011)
  58. #define IDS_JOYCALXY_MOVEGAMEPAD (IDS_JOYSTICK_STRINGS+0x0012)
  59. #define IDS_JOYCALXY_CENTERGAMEPAD (IDS_JOYSTICK_STRINGS+0x0013)
  60. #define IDS_JOYCALXY_CENTERYOKE (IDS_JOYSTICK_STRINGS+0x0014)
  61. #define IDS_JOYREADERROR (IDS_JOYSTICK_STRINGS+0x0015)
  62. #define IDS_JOYCALRUDDER_MOVE (IDS_JOYSTICK_STRINGS+0x0016)
  63. #define IDS_JOYCALXY_MOVECAR (IDS_JOYSTICK_STRINGS+0x0017)
  64. #define IDS_JOYCALXY_CENTERCAR (IDS_JOYSTICK_STRINGS+0x0018)
  65. #define IDS_JOYCALXY_CENTER2 (IDS_JOYSTICK_STRINGS+0x0019)
  66. #define IDS_JOYCAL_YOKE (IDS_JOYSTICK_STRINGS+0x001a)
  67. #define IDS_JOYCAL_CAR (IDS_JOYSTICK_STRINGS+0x001b)
  68. #define IDS_JOYCAL_GAMEPAD (IDS_JOYSTICK_STRINGS+0x001c)
  69. #define IDS_JOYNOTPRESENT (IDS_JOYSTICK_STRINGS+0x001d)
  70. #define IDS_JOYCAL_NOTDONE (IDS_JOYSTICK_STRINGS+0x001e)
  71. #define IDS_JOYCALU_MOVE (IDS_JOYSTICK_STRINGS+0x001f)
  72. #define IDS_JOYCALV_MOVE (IDS_JOYSTICK_STRINGS+0x0020)
  73. #define IDS_JOYRESTARTMSG1 (IDS_JOYSTICK_STRINGS+0x0021)
  74. #define IDS_JOYRESTARTMSG2 (IDS_JOYSTICK_STRINGS+0x0022)
  75. #define IDS_JOYCALXY_CENTERGAMEPAD2 (IDS_JOYSTICK_STRINGS+0x0023)
  76. #define IDS_JOYCALXY_CENTERYOKE2 (IDS_JOYSTICK_STRINGS+0x0024)
  77. #define IDS_JOYCALXY_CENTERCAR2 (IDS_JOYSTICK_STRINGS+0x0025)
  78. #define IDS_JOYCAL_YOKES (IDS_JOYSTICK_STRINGS+0x0026)
  79. #define IDS_JOYCAL_CARS (IDS_JOYSTICK_STRINGS+0x0027)
  80. #define IDS_JOYCAL_GAMEPADS (IDS_JOYSTICK_STRINGS+0x0028)
  81. #define IDS_JOYCALINDICATOR (IDS_JOYSTICK_STRINGS+0x0029)
  82. #define IDS_VAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002a)
  83. #define IDS_UAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002b)
  84. #define IDS_POVAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002c)
  85. #define IDS_ZAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002d)
  86. #define IDS_XYAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002e)
  87. #define IDS_RAXIS_LABEL (IDS_JOYSTICK_STRINGS+0x002f)
  88. #define IDS_JOYHW0 (IDS_JOYSTICK_STRINGS+0x0040)
  89. #define IDS_JOYHW1 (IDS_JOYSTICK_STRINGS+0x0041)
  90. #define IDS_JOYHW2 (IDS_JOYSTICK_STRINGS+0x0042)
  91. #define IDS_JOYHW3 (IDS_JOYSTICK_STRINGS+0x0043)
  92. #define IDS_JOYHW4 (IDS_JOYSTICK_STRINGS+0x0044)
  93. #define IDS_JOYHW5 (IDS_JOYSTICK_STRINGS+0x0045)
  94. #define IDS_JOYHW6 (IDS_JOYSTICK_STRINGS+0x0046)
  95. #define IDS_JOYHW7 (IDS_JOYSTICK_STRINGS+0x0047)
  96. #define IDS_JOYHW8 (IDS_JOYSTICK_STRINGS+0x0048)
  97. #define IDS_JOYHW9 (IDS_JOYSTICK_STRINGS+0x0049)
  98. #define IDS_JOYHW10 (IDS_JOYSTICK_STRINGS+0x004a)
  99. #define IDS_JOYHW11 (IDS_JOYSTICK_STRINGS+0x004b)
  100. /*
  101. * dialog ids
  102. */
  103. #define IDD_JOYSTICK 0x1000
  104. #define IDD_JOYCALIBRATE 0x1001
  105. #define IDD_JOYTEST 0x1002
  106. #define IDD_JOYCUSTOM 0x1003
  107. #define IDD_JOYTEST1 0x1004
  108. #define IDD_JOYCALIBRATE1 0x1005
  109. /*
  110. * dialog constants
  111. */
  112. #define IDC_STATIC -1
  113. #define ID_START (ID_GENERIC_START+0x1000)
  114. #define ID_APPLY (ID_START + 0x0001)
  115. #define ID_INIT (ID_START + 0x0002)
  116. #define IDC_ICON_1 (ID_START + 0x0003)
  117. #define IDC_ICON_2 (ID_START + 0x0004)
  118. #define IDC_TEXT_1 (ID_START + 0x0005)
  119. #define IDC_TEXT_2 (ID_START + 0x0006)
  120. #define IDC_GROUPBOX (ID_START + 0x0007)
  121. #define IDC_GROUPBOX_2 (ID_START + 0x0008)
  122. #define IDC_GROUPBOX_3 (ID_START + 0x0009)
  123. #define ID_JOYSTICK_START (ID_GENERIC_START+0x2000)
  124. #define IDC_JOYSTICK1_FRAME (ID_JOYSTICK_START+0x0001)
  125. #define IDC_JOYSTICK2_FRAME (ID_JOYSTICK_START+0x0002)
  126. #define IDC_JOYCALIBRATE (ID_JOYSTICK_START+0x0003)
  127. #define IDC_JOYTEST (ID_JOYSTICK_START+0x0004)
  128. #define IDC_JOYLIST1 (ID_JOYSTICK_START+0x0005)
  129. #define IDC_JOYCALSTEP (ID_JOYSTICK_START+0x0006)
  130. #define IDC_JOYCALICON (ID_JOYSTICK_START+0x0007)
  131. #define IDC_JOYTESTBTN (ID_JOYSTICK_START+0x0008)
  132. #define IDC_JOYSELECT (ID_JOYSTICK_START+0x0009)
  133. #define IDC_JOYSELECT2 (ID_JOYSTICK_START+0x000a)
  134. #define IDC_JOYSELECTMSG (ID_JOYSTICK_START+0x000b)
  135. #define IDC_JOYSELECTMSG2 (ID_JOYSTICK_START+0x000c)
  136. #define IDC_JOYXYPOS (ID_JOYSTICK_START+0x000d)
  137. #define IDC_JOYB1 (ID_JOYSTICK_START+0x000e)
  138. #define IDC_JOYB2 (ID_JOYSTICK_START+0x000f)
  139. #define IDC_JOYB3 (ID_JOYSTICK_START+0x0010)
  140. #define IDC_JOYB4 (ID_JOYSTICK_START+0x0011)
  141. #define IDC_JOYB3TXT (ID_JOYSTICK_START+0x0012)
  142. #define IDC_JOYB4TXT (ID_JOYSTICK_START+0x0013)
  143. #define IDC_JOYLIST2 (ID_JOYSTICK_START+0x0014)
  144. #define IDC_JOYPOV (ID_JOYSTICK_START+0x0015)
  145. #define IDC_JOYB1_LABEL (ID_JOYSTICK_START+0x0016)
  146. #define IDC_JOYB2_LABEL (ID_JOYSTICK_START+0x0017)
  147. #define IDC_JOYB3_LABEL (ID_JOYSTICK_START+0x0018)
  148. #define IDC_JOYB4_LABEL (ID_JOYSTICK_START+0x0019)
  149. #define IDC_JOYLIST1_LABEL (ID_JOYSTICK_START+0x001a)
  150. #define IDC_JOYLIST2_LABEL (ID_JOYSTICK_START+0x001b)
  151. #define IDC_JOYPOV_LABEL (ID_JOYSTICK_START+0x001c)
  152. #define IDC_JOYCALIBRATE2 (ID_JOYSTICK_START+0x001d)
  153. #define IDC_JOYTEST2 (ID_JOYSTICK_START+0x001e)
  154. #define IDC_JOYMSG (ID_JOYSTICK_START+0x001f)
  155. #define IDC_JOYCALMSG (ID_JOYSTICK_START+0x0020)
  156. #define IDC_JOYCALDONE (ID_JOYSTICK_START+0x0021)
  157. #define IDC_JOYHASPOV (ID_JOYSTICK_START+0x0022)
  158. #define IDC_JOYISYOKE (ID_JOYSTICK_START+0x0023)
  159. #define IDC_JOYISGAMEPAD (ID_JOYSTICK_START+0x0024)
  160. #define IDC_JOYISCARCTRL (ID_JOYSTICK_START+0x0025)
  161. #define IDC_JOY2BUTTON (ID_JOYSTICK_START+0x0026)
  162. #define IDC_JOY4BUTTON (ID_JOYSTICK_START+0x0027)
  163. #define IDC_JOYPICKPOV (ID_JOYSTICK_START+0x0028)
  164. #define IDC_JOYCALBACK (ID_JOYSTICK_START+0x0029)
  165. #define IDC_JOYCALNEXT (ID_JOYSTICK_START+0x002a)
  166. #define IDC_JOYSPECIALBOX (ID_JOYSTICK_START+0x002b)
  167. #define IDC_JOYUSESPECIAL (ID_JOYSTICK_START+0x002c)
  168. #define IDC_JOY1HASRUDDER (ID_JOYSTICK_START+0x002d)
  169. #define IDC_JOYLIST3 (ID_JOYSTICK_START+0x002e)
  170. #define IDC_JOYLIST3_LABEL (ID_JOYSTICK_START+0x002f)
  171. #define IDC_JOY2AXIS (ID_JOYSTICK_START+0x0030)
  172. #define IDC_JOY3AXIS (ID_JOYSTICK_START+0x0031)
  173. #define IDC_JOY4AXIS (ID_JOYSTICK_START+0x0032)
  174. #define IDC_JOY_UNCAL1 (ID_JOYSTICK_START+0x0033)
  175. #define IDC_JOY_UNCAL2 (ID_JOYSTICK_START+0x0034)
  176. #define IDC_JOY_UNCAL3 (ID_JOYSTICK_START+0x0035)
  177. #define IDC_JOY_UNCAL4 (ID_JOYSTICK_START+0x0036)
  178. #define IDC_JOY_UNCAL5 (ID_JOYSTICK_START+0x0037)
  179. #define IDC_JOY_UNCAL6 (ID_JOYSTICK_START+0x0038)
  180. #define IDC_JOYCURRENTID (ID_JOYSTICK_START+0x0039)
  181. #define IDC_JOYCURRENTIDMSG (ID_JOYSTICK_START+0x003a)
  182. #define IDC_JOYLIST4 (ID_JOYSTICK_START+0x003b)
  183. #define IDC_JOYLIST4_LABEL (ID_JOYSTICK_START+0x003c)
  184. #define IDC_JOYLIST5 (ID_JOYSTICK_START+0x003d)
  185. #define IDC_JOYLIST5_LABEL (ID_JOYSTICK_START+0x003e)
  186. #define IDC_JOYRESET (ID_JOYSTICK_START+0x003f)
  187. #define IDC_JOYTROUBLESHOOT_FRAME (ID_JOYSTICK_START+0x0040)
  188. #define IDC_JOYTROUBLESHOOT_TEXT (ID_JOYSTICK_START+0x0041)
  189. #endif