PS/2 Mouse Data Problem
Posted: Fri Mar 05, 2004 12:00 am
hi friends,
I have a problem with the PS/2 Mouse. Though I could make a decent PS/2 mouse driver from your help(CodeSlasher and others) and using the chapweske tutorial from the panda site, there is a problem when I test my code with my system.(It runs perfectly with VMWare - trial version).
The problem is this:
====================
In VMWare I get 3 bytes of movement data for each mouse Interrupt whereas in the real system the mouse seems to send only one data byte at each interrupt.
That means I have to internally buffer two bytes of data till the third interrupt occurs and I send a mouse data message to my GUI Server only then. Though this approach works I still get a somewhat dizzy mouse pointer(looks like a drunkard mouse )
Could you tell me what's wrong.
Thank you all and special thanx to CodeSlasher
rgds
Gandalf
I have a problem with the PS/2 Mouse. Though I could make a decent PS/2 mouse driver from your help(CodeSlasher and others) and using the chapweske tutorial from the panda site, there is a problem when I test my code with my system.(It runs perfectly with VMWare - trial version).
The problem is this:
====================
In VMWare I get 3 bytes of movement data for each mouse Interrupt whereas in the real system the mouse seems to send only one data byte at each interrupt.
That means I have to internally buffer two bytes of data till the third interrupt occurs and I send a mouse data message to my GUI Server only then. Though this approach works I still get a somewhat dizzy mouse pointer(looks like a drunkard mouse )
Could you tell me what's wrong.
Thank you all and special thanx to CodeSlasher
rgds
Gandalf