Re: Can windows process USB mouse data in absolute mode?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Ray,

Thanks for your time. Yes, our report descriptor will describe the absolute
event. So HID driver should be able to intrepret it.

However, my question still remains if X Server equivalent windows
application can handle this absolute mouse data?

Also, when you say it may only work on main display, you mean the main
console window. Where would it not work: virtual displays and why? I will
appreciate any insight you can provide.

Best regards,
-Sanjeev

"Ray Trent" wrote:

> In short, yes. There is no reason why you couldn't make a HID device
> that reports absolute position packets and have it work. It would have
> different HID descriptors than a "USB 1.1 compliant HID mouse", because
> that implies relative mode. Being a HID device, you have have it report
> any other kind of HID data you want, too. There are caveats, like it
> probably will only work on the main display.
>
> Sanjeev wrote:
> > Hello,
> >
> > On a PC platform, we are going to emulate a USB 1.1 compliant HID mouse.
> > This device will generate the positioning data only in the absolute mode.
> > Windows HID driver should be able to process this absolute input. However, my
> > question is related to the mouse driver and applications above it.
> >
> > 1. Can mouse driver accept absolute positioning data from the HID driver?
> > Since there are very few absolute positioning mouse devices, it may not be
> > likely. Linux mouse driver does accept the absolute positioning data.
> >
> > 2. Can the Windowing applications receiving input from mouse driver accept
> > the absolute positioning data or does it require the mouse data to do the
> > conversion from absolute to relative mode (if 1 is true)? E.g. on Linux,
> > X-Server only accepts mouse data in relative mode, thus mouse driver has to
> > convert the absolute input into relative data.
> >
> > 3. If 2 is not being done, should we emulate our mouse device like a tablet?
> > Does tablet driver allow to pass in buttons & scroll wheel inputs?
> >
> > I will appreciate any insight into this. Please let me know if I am not
> > clear enough in my questions. Best regards,
> > -Sanjeev
>
>
> --
> .../ray\..
>
.


Quantcast