Hello. I'm trying to use "USB HID Mouse Only" OS feature
in my embedded platform (PXA270 / WinCE 5.0).
Everything works nice except one thing: USB HID mouse
driver uses incorrect screen width: mouse pointer crosses
the screen twice while moving horizontal. However there are no
problems with vertical mouse movement!?
Actually, the problem appears when mouse HID calls
"mouse_event" API. It calls "mouse_event" with relative
movement coordinates, and there are no problems with
this. My screen resolution is 640x480, it seems that "mouse_event"
uses 800x480 or something > 640 for horizontal screen resolution.

Any ideas?

Thanks, Oleg

Re: USB HID Mouse Driver problem by Tom

Tom
Mon Oct 25 09:07:10 CDT 2004

Have you checked for math errors in the cursor drawing routines of your
platform's display driver?

Tom Gensel (eMVP)


Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/community/newsgroups



"Oleg" <OV@KARO-electronics.de> wrote in message
news:OCSTGmnuEHA.1400@TK2MSFTNGP11.phx.gbl...
> Hello. I'm trying to use "USB HID Mouse Only" OS feature
> in my embedded platform (PXA270 / WinCE 5.0).
> Everything works nice except one thing: USB HID mouse
> driver uses incorrect screen width: mouse pointer crosses
> the screen twice while moving horizontal. However there are no
> problems with vertical mouse movement!?
> Actually, the problem appears when mouse HID calls
> "mouse_event" API. It calls "mouse_event" with relative
> movement coordinates, and there are no problems with
> this. My screen resolution is 640x480, it seems that "mouse_event"
> uses 800x480 or something > 640 for horizontal screen resolution.
>
> Any ideas?
>
> Thanks, Oleg
>
>