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.

63 lines
2.2 KiB

  1. EXE : DT.EXE
  2. TITLE: USB HID Report Descriptor Tool
  3. OS : Win95 and WinNT
  4. DESC : DT.EXE is a Win32 GUI application intended to aid in the design and
  5. creation of HID report descritpors.
  6. OVERVIEW:
  7. The DT main window is comprised a menu bar, 2 list boxes, and 2 buttons.
  8. :File Menu:
  9. You standard File menu with Open, Save, Print and Exit items.
  10. Open...
  11. Opens DT (.dt) files.
  12. Save...
  13. Saves the current descriptor to file in either 1 of 3
  14. formats:
  15. HID Descriptor File (*.hid) - Binary file
  16. Text File (*.txt) - ASCII file. Same format as on screen
  17. Intel LAVA Data file (*.dcd)- ASCII hex file for Intel LAVA boards
  18. Print...
  19. Prints the current descriptor in the same format as on the screen.
  20. Exit
  21. Exits DT.EXE
  22. :Edit Menu:
  23. Allows you to copy the currently built up descriptor to the clip board.
  24. :Parse Descriptor!:
  25. The Parse Desriptor! Menu Item parses the current descriptor for syntax
  26. validity only (i.e. does not check the number of bytes following an
  27. item or whether the data is valid).
  28. :Items List Box:
  29. The Items list box on the left portion of the window displays a list of
  30. available report descriptor items.
  31. :Report Descriptor List Box:
  32. The Report Descriptor list box on the right side of the window displays
  33. the currently built up descriptor. This list box has 2 modes: Insert and
  34. Add. The default mode is add, Items are added to the end of the list. To
  35. change to insert mode Right click with mouse anywhere in the list box and
  36. select "Insert Mode" from the popup menu. From now on Items will be added
  37. above the currently hilighted item. To go back to Add mode, once again
  38. right click in the list box and uncheck "Insert Mode".
  39. :Manual Entry Button:
  40. The [Manual Entry] button is used to enter values for a descriptor item
  41. that prompts you with a list a predefined values. For example when you
  42. double click on the USAGE_PAGE item a dialog displays a list of values
  43. that you may enter. To set a value not in the current list, hilight
  44. the Item and them click on the [Manual Entry] button.
  45. :Clear Descriptor:
  46. The [Clear Descriptor] button clears the current built up descriptor.