reading data from HID device
Starting to use MAXonly recently i would like to know how i could read data from USB HID inputdevice (i am developping the device myself and have full control over datastructure ) I am useing Windows XP SP2 , somehow HI refuses to see any HID device coinnected to my computer where some HID-Terminal program finds 4 of them.
The HI object seems to see every HID device on my Macintosh (including usb mice, keyboard, trackpad etc), but the HI object on my Windows machine, can only see my usb gamepad.
Is there a problem with the windows HI object?
Jonathan.
jonathan wrote:
> The HI object seems to see every HID device on my Macintosh (including usb mice, keyboard, trackpad etc), but the HI object on my Windows machine, can only see my usb gamepad.
>
> Is there a problem with the windows HI object?
There is just a problem with Windows: it doesn't give you access to
keyboards and mice. And no, there is actually no easy way around that.
Olaf
whilst developping my own device , i have full controll over the USB-descriptor , is there anything special required to get around this problem ?
jpc wrote:
> whilst developping my own device , i have full controll over the USB-descriptor , is there anything special required to get around this problem ?
First, don't make your device identify itself as keyboard or mouse.
Second, stick to the HID specs (even some commercial devices ignore them
in parts). I have used Dan Overholt's CUI with [hi] and it did work but
I remember Dan said something that he had to hack it's firmware in a
special way in order to be recognized by the [hi] object (or in order to
work correctly, can't remember the details anymore).
Olaf