Page 1 of 1

PS/2 mouse false interupts

Posted: Sat Jun 15, 2013 5:53 pm
by buc030
Hey guys,
I'm trying to implement window system to my OS, as part of it I'm implementing a mouse driver...

Anyways, to the point... for some reason I get false input from the mouse, like the bit for left button set when I didn't press it,
or like huge movement values... I've tried to search online but it I couldn't find anything that seems related..
Did anyone encounter this? How can I overcome this (Maybe a way to identify false input and filter it)?

Thanks,
Shai.

Re: PS/2 mouse false interupts

Posted: Sun Jun 16, 2013 1:57 pm
by bewing
It sounds to me like your mouse packets are getting misaligned. There is no way to "filter" bad mouse packets except with sanity checks, but you almost never get a bad mouse datapacket.

Re: PS/2 mouse false interupts

Posted: Wed Jun 19, 2013 4:53 pm
by Prochamber
There might be a problem with your mouse driver. How about you post the code so we can see it?