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.

139 lines
8.0 KiB

  1. #include "hidusage.h"
  2. #ifndef HID_USAGE_PAGE_ORDINALS
  3. #define HID_USAGE_PAGE_ORDINALS ((USAGE) 0x0A)
  4. #endif
  5. #define HID_USAGE_PAGE_PID ((USAGE) 0x0F)
  6. #define HID_USAGE_PID_PHYSICAL_INTERFACE_DEVICE ((USAGE) 0x01)
  7. #define HID_USAGE_PID_NORMAL ((USAGE) 0x20)
  8. #define HID_USAGE_PID_SET_EFFECT_REPORT ((USAGE) 0x21)
  9. #define HID_USAGE_PID_EFFECT_BLOCK_INDEX ((USAGE) 0x22)
  10. #define HID_USAGE_PID_PARAMETER_BLOCK_OFFSET ((USAGE) 0x23)
  11. #define HID_USAGE_PID_ROM_FLAG ((USAGE) 0x24)
  12. #define HID_USAGE_PID_EFFECT_TYPE ((USAGE) 0x25)
  13. #define HID_USAGE_PID_ET_CONSTANT ((USAGE) 0x26)
  14. #define HID_USAGE_PID_ET_RAMP ((USAGE) 0x27)
  15. #define HID_USAGE_PID_ET_CUSTOM ((USAGE) 0x28)
  16. #define HID_USAGE_PID_ET_SQUARE ((USAGE) 0x30)
  17. #define HID_USAGE_PID_ET_SINE ((USAGE) 0x31)
  18. #define HID_USAGE_PID_ET_TRIANGLE ((USAGE) 0x32)
  19. #define HID_USAGE_PID_ET_SAWTOOTH_UP ((USAGE) 0x33)
  20. #define HID_USAGE_PID_ET_SAWTOOTH_DOWN ((USAGE) 0x34)
  21. #define HID_USAGE_PID_ET_SPRING ((USAGE) 0x40)
  22. #define HID_USAGE_PID_ET_DAMPER ((USAGE) 0x41)
  23. #define HID_USAGE_PID_ET_INERTIA ((USAGE) 0x42)
  24. #define HID_USAGE_PID_ET_FRICTION ((USAGE) 0x43)
  25. #define HID_USAGE_PID_DURATION ((USAGE) 0x50)
  26. #define HID_USAGE_PID_SAMPLE_PERIOD ((USAGE) 0x51)
  27. #define HID_USAGE_PID_GAIN ((USAGE) 0x52)
  28. #define HID_USAGE_PID_TRIGGER_BUTTON ((USAGE) 0x53)
  29. #define HID_USAGE_PID_TRIGGER_REPEAT_INTERVAL ((USAGE) 0x54)
  30. #define HID_USAGE_PID_AXES_ENABLE ((USAGE) 0x55)
  31. #define HID_USAGE_PID_DIRECTION_ENABLE ((USAGE) 0x56)
  32. #define HID_USAGE_PID_DIRECTION ((USAGE) 0x57)
  33. #define HID_USAGE_PID_TYPE_SPECIFIC_BLOCK_OFFSET ((USAGE) 0x58)
  34. #define HID_USAGE_PID_BLOCK_TYPE ((USAGE) 0x59)
  35. #define HID_USAGE_PID_SET_ENVELOPE_REPORT ((USAGE) 0x5A)
  36. #define HID_USAGE_PID_ATTACK_LEVEL ((USAGE) 0x5B)
  37. #define HID_USAGE_PID_ATTACK_TIME ((USAGE) 0x5C)
  38. #define HID_USAGE_PID_FADE_LEVEL ((USAGE) 0x5D)
  39. #define HID_USAGE_PID_FADE_TIME ((USAGE) 0x5E)
  40. #define HID_USAGE_PID_SET_CONDITION_REPORT ((USAGE) 0x5F)
  41. #define HID_USAGE_PID_CP_OFFSET ((USAGE) 0x60)
  42. #define HID_USAGE_PID_POSITIVE_COEFFICIENT ((USAGE) 0x61)
  43. #define HID_USAGE_PID_NEGATIVE_COEFFICIENT ((USAGE) 0x62)
  44. #define HID_USAGE_PID_POSITIVE_SATURATION ((USAGE) 0x63)
  45. #define HID_USAGE_PID_NEGATIVE_SATURATION ((USAGE) 0x64)
  46. #define HID_USAGE_PID_DEAD_BAND ((USAGE) 0x65)
  47. #define HID_USAGE_PID_DOWNLOAD_FORCE_SAMPLE ((USAGE) 0x66)
  48. #define HID_USAGE_PID_ISOCH_CUSTOM_FORCE_ENABLE ((USAGE) 0x67)
  49. #define HID_USAGE_PID_CUSTOM_FORCE_DATA_REPORT ((USAGE) 0x68)
  50. #define HID_USAGE_PID_CUSTOM_FORCE_DATA ((USAGE) 0x69)
  51. #define HID_USAGE_PID_CUSTOM_FORCE_VENDOR_DEFINED ((USAGE) 0x6A)
  52. #define HID_USAGE_PID_SET_CUSTOM_FORCE_REPORT ((USAGE) 0x6B)
  53. #define HID_USAGE_PID_CUSTOM_FORCE_DATA_OFFSET ((USAGE) 0x6C)
  54. #define HID_USAGE_PID_SAMPLE_COUNT ((USAGE) 0x6D)
  55. #define HID_USAGE_PID_SET_PERIODIC_REPORT ((USAGE) 0x6E)
  56. #define HID_USAGE_PID_OFFSET ((USAGE) 0x6F)
  57. #define HID_USAGE_PID_MAGNITUDE ((USAGE) 0x70)
  58. #define HID_USAGE_PID_PHASE ((USAGE) 0x71)
  59. #define HID_USAGE_PID_PERIOD ((USAGE) 0x72)
  60. #define HID_USAGE_PID_SET_CONSTANT_FORCE_REPORT ((USAGE) 0x73)
  61. #define HID_USAGE_PID_SET_RAMP_FORCE_REPORT ((USAGE) 0x74)
  62. #define HID_USAGE_PID_RAMP_START ((USAGE) 0x75)
  63. #define HID_USAGE_PID_RAMP_END ((USAGE) 0x76)
  64. #define HID_USAGE_PID_EFFECT_OPERATION_REPORT ((USAGE) 0x77)
  65. #define HID_USAGE_PID_EFFECT_OPERATION ((USAGE) 0x78)
  66. #define HID_USAGE_PID_OP_EFFECT_START ((USAGE) 0x79)
  67. #define HID_USAGE_PID_OP_EFFECT_START_SOLO ((USAGE) 0x7A)
  68. #define HID_USAGE_PID_OP_EFFECT_STOP ((USAGE) 0x7B)
  69. #define HID_USAGE_PID_LOOP_COUNT ((USAGE) 0x7C)
  70. #define HID_USAGE_PID_DEVICE_GAIN_REPORT ((USAGE) 0x7D)
  71. #define HID_USAGE_PID_DEVICE_GAIN ((USAGE) 0x7E)
  72. #define HID_USAGE_PID_POOL_REPORT ((USAGE) 0x7F)
  73. #define HID_USAGE_PID_RAM_POOL_SIZE ((USAGE) 0x80)
  74. #define HID_USAGE_PID_ROM_POOL_SIZE ((USAGE) 0x81)
  75. #define HID_USAGE_PID_ROM_EFFECT_BLOCK_COUNT ((USAGE) 0x82)
  76. #define HID_USAGE_PID_SIMULTANEOUS_EFFECTS_MAX ((USAGE) 0x83)
  77. #define HID_USAGE_PID_POOL_ALIGNMENT ((USAGE) 0x84)
  78. #define HID_USAGE_PID_POOL_MOVE_REPORT ((USAGE) 0x85)
  79. #define HID_USAGE_PID_MOVE_SOURCE ((USAGE) 0x86)
  80. #define HID_USAGE_PID_MOVE_DESTINATION ((USAGE) 0x87)
  81. #define HID_USAGE_PID_MOVE_LENGTH ((USAGE) 0x88)
  82. #define HID_USAGE_PID_BLOCK_LOAD_REPORT ((USAGE) 0x89)
  83. #define HID_USAGE_PID_HANDSHAKE_KEY ((USAGE) 0x8A)
  84. #define HID_USAGE_PID_BLOCK_LOAD_STATUS ((USAGE) 0x8B)
  85. #define HID_USAGE_PID_BLOCK_LOAD_SUCCESS ((USAGE) 0x8C)
  86. #define HID_USAGE_PID_BLOCK_LOAD_FULL ((USAGE) 0x8D)
  87. #define HID_USAGE_PID_BLOCK_LOAD_ERROR ((USAGE) 0x8E)
  88. #define HID_USAGE_PID_BLOCK_HANDLE ((USAGE) 0x8F)
  89. #define HID_USAGE_PID_BLOCK_FREE_REPORT ((USAGE) 0x90)
  90. #define HID_USAGE_PID_TYPE_SPECIFIC_BLOCK_HANDLE ((USAGE) 0x91)
  91. #define HID_USAGE_PID_STATE_REPORT ((USAGE) 0x92)
  92. #define HID_USAGE_PID_EFFECT_STATE ((USAGE) 0x93)
  93. #define HID_USAGE_PID_EFFECT_PLAYING ((USAGE) 0x94)
  94. #define HID_USAGE_PID_DEVICE_CONTROL ((USAGE) 0x96)
  95. #define HID_USAGE_PID_DC_ENABLE_ACTUATORS ((USAGE) 0x97)
  96. #define HID_USAGE_PID_DC_DISABLE_ACTUATORS ((USAGE) 0x98)
  97. #define HID_USAGE_PID_DC_STOP_ALL_EFFECTS ((USAGE) 0x99)
  98. #define HID_USAGE_PID_DC_DEVICE_RESET ((USAGE) 0x9A)
  99. #define HID_USAGE_PID_DC_DEVICE_PAUSE ((USAGE) 0x9B)
  100. #define HID_USAGE_PID_DC_DEVICE_CONTINUE ((USAGE) 0x9C)
  101. #define HID_USAGE_PID_DEVICE_PAUSED ((USAGE) 0x9F)
  102. #define HID_USAGE_PID_ACTUATORS_ENABLED ((USAGE) 0xA0)
  103. #define HID_USAGE_PID_SAFETY_SWITCH ((USAGE) 0xA4)
  104. #define HID_USAGE_PID_ACTUATOR_OVERRIDE_SWITCH ((USAGE) 0xA5)
  105. #define HID_USAGE_PID_ACTUATOR_POWER ((USAGE) 0xA6)
  106. #define HID_USAGE_PID_START_DELAY ((USAGE) 0xA7)
  107. #define HID_USAGE_PID_PARAMETER_BLOCK_SIZE ((USAGE) 0xA8)
  108. #define HID_USAGE_PID_DEVICE_MANAGED_POOL ((USAGE) 0xA9)
  109. #define HID_USAGE_PID_SHARED_PARAMETER_BLOCKS ((USAGE) 0xAA)
  110. #define HID_USAGE_PID_CREATE_NEW_EFFECT ((USAGE) 0xAB)
  111. #define HID_USAGE_PID_RAMPOOL_AVAILABLE ((USAGE) 0xAC)