PS2 Mouse
Posted: Mon Aug 27, 2001 11:00 pm
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
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