WWWBoard New Message: Message 1050: HID Report Descriptors



WWWBoard: Message 1050


[ Follow Ups ] [ Post Followup ] [ ]



   Posted by Brian St. Jacques on 04/24/02 at 5:58 PM

Subject:   HID Report Descriptors


Message Posted

Hi,

I am working on developing a USB peripheral device and I am having trouble figuring out how to properly build a report descriptor. I have been searching for days and I am stuck!

I started with USB.org and got the HID Class Definition and HID Usage tables. This information seems very incomplete for someone trying to build a report for HID communication. Many standard HID usages are listed, but nothing about what information is required along with the useage. For instance, I want to build a mouse. The documentation states software will search for an application collection of either Mouse or Pointer. Great. Nowhere does it state that a Mouse or Pointer usage have to have an X and Y usage defined. Ok, fine, but now X and Y have to have logical minmums and maximums defined, where the buttons on the mouse in the example have USAGE min/max, etc. Just having a Mouse under an application collection doesn't cut it.

There is a HID report descriptor tool I found on the net that gives the numerical values for the different items and does some basic error checking, but it just doesn't give me what I need.

How can I find out what has to be defined for each of the HID usages?? How do I correctly build report descriptors??

Any help grealy appreciated, consulting fees considered.

Brian



  

Follow Ups:





Post a Followup

Name:
E-Mail:
Subject:

Message to Post




 



[ Posting Rules | Follow Ups | Return to WWWBoard ]