Re: USB HID Absolute Positioning Mouse Resolution Issues
- From: "Doron Holan [MS]" <doronh@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Jul 2005 00:54:47 -0700
SendInput() is how you report mouse data in UM
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Sanjeev" <Sanjeev@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CE1C3902-FC68-465A-BD3C-C368F9A7101B@xxxxxxxxxxxxxxxx
> Doron,
>
> Thank you for your replies to both posts.
>
> I wasn't clear in my question here. Ofcourse, we will be using the HID
> miniport driver for handling our device data. My question was more for
> being
> able to do emuate a mouse device from the Windows user space? Linux lets
> you
> emulate an input device from user space (using uinput kernel driver).
>
> I was going to use it to checkout the windows behivor by supplying
> absolute
> mouse data. Thanks,
> -Sanjeev
>
> "Doron Holan [MS]" wrote:
>
>> if your driver does not need to communicate with user mode, a HID
>> miniport
>> driver is the easiest way to go. you just report the data, the rest of
>> the
>> stack deals with getting into the mouse stack.
>>
>> d
>>
>> --
>> Please do not send e-mail directly to this alias. this alias is for
>> newsgroup purposes only.
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>>
>>
>> "Sanjeev" <Sanjeev@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:79570436-1163-48E2-AEC7-CE9FF5C97447@xxxxxxxxxxxxxxxx
>> > Hi Prashant,
>> >
>> > We also have a need similar to yours as we will be emulating a USB
>> > absolute
>> > positioning device too.
>> >
>> > 1) How are you emulating the device? Is there a way to do this
>> > emulation
>> > using windows software?
>> >
>> > 2) In your experiment, was windows application software able to
>> > recognize
>> > the absolute movement correctly? In Linux, there is a problem as X
>> > Server
>> > mouse driver only accepts the relative mouse data, thus the kernel
>> > driver
>> > has
>> > to translate the absolute data to relative data and hence mouse
>> > movements
>> > are
>> > not very smooth.
>> >
>> > I will appreciate any input you can provide.
>> >
>> > Regards,
>> > -Sanjeev
>> > ssood344@xxxxxxxxxxx
>> >
>> >
>> > "PrashantR" wrote:
>> >
>> >> With help from the USB-IF newsgroup, we figure out the problem:
>> >> 1. the size of the report desc was not properly set in the HID desc
>> >> (ie. it was hardcoded)
>> >> 2. the packet size was not properly set in the endpoint desc
>> >>
>> >> Problem solved. We have no resolution problems.
>> >>
>> >> prashant.
>> >>
>> >>
>>
>>
>>
.
- References:
- USB HID Absolute Positioning Mouse Resolution Issues
- From: PrashantR
- Re: USB HID Absolute Positioning Mouse Resolution Issues
- From: PrashantR
- Re: USB HID Absolute Positioning Mouse Resolution Issues
- From: Sanjeev
- Re: USB HID Absolute Positioning Mouse Resolution Issues
- From: Doron Holan [MS]
- Re: USB HID Absolute Positioning Mouse Resolution Issues
- From: Sanjeev
- USB HID Absolute Positioning Mouse Resolution Issues
- Prev by Date: RE: Implementing watermarks in the print processor
- Next by Date: Re: Dispatch routine completing IRP
- Previous by thread: Re: USB HID Absolute Positioning Mouse Resolution Issues
- Next by thread: version 8 and 9 of installshield co-exist
- Index(es):
Relevant Pages
|