
i
i
i
i
i
i
i
i
502 17. Programming Input and Force Feedback
• The endpoint descriptor has 6 fields occupying 7 bytes. It specifies how
the USB device is to be driven; for example, by the interrupt mech-
anism with a polling interval of 10 ms that allows the PC to receive
position updates 100 times per second.
• The HID descriptor has 7 fields occupying 9 bytes. It informs the PC
of the number of report descriptors and to which USB standard it is
working, e.g., USB 1.
• The report descriptor is the one that specifies the format of the data being
sent by the USB device; for example, 6 bytes of data to the PC. There
is no correct way of writing this report, as any ...