PS2 Mouse

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Vitaly CHIPOUNOV

PS2 Mouse

Post 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
Guest

RE:PS2 Mouse

Post 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]
Post Reply