Page 1 of 1

PS2 Mouse

Posted: Mon Aug 27, 2001 11:00 pm
by Vitaly CHIPOUNOV
My PS2 Mouse works in my OS but its movements are
not smooth. When I move the pointer from one place
to another, it moves in a different place.
I analyzed the different values returned by the
mouse and found that frequently, they are not
continuous. For eg. If I move the mouse slowly
the x and y counters return +2 but suddenly they
return sth like +27 even if the speed is
the same, then it becomes normal +2.

I tried to detect these cases and it works better
but not enough...

Can anyone tell me also how to communicate
with the mouse through IO ports to send commands
to it. All I found is undocumented pieces of code.

Thanks

RE:PS2 Mouse

Posted: Tue Aug 28, 2001 11:00 pm
by Guest
>On 2001-08-28 05:17:59, Vitaly CHIPOUNOV wrote:
>My PS2 Mouse works in my OS but its movements are
>not smooth. When I move the pointer from one place
>to another, it moves in a different place.
>I analyzed the different values returned by the
>mouse and found that frequently, they are not
>continuous. For eg. If I move the mouse slowly
>the x and y counters return +2 but suddenly they
>return sth like +27 even if the speed is
>the same, then it becomes normal +2.
>
>I tried to detect these cases and it works better
>but not enough...
>
>Can anyone tell me also how to communicate
>with the mouse through IO ports to send commands
>to it. All I found is undocumented pieces of code.
>
>Thanks

mail me, if you need a complete c source. [email protected]