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.
PS/2 mouse false interupts
Re: PS/2 mouse false interupts
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.
-
- Member
- Posts: 100
- Joined: Wed Mar 13, 2013 2:27 am
Re: PS/2 mouse false interupts
There might be a problem with your mouse driver. How about you post the code so we can see it?
TachyonOS - Violates causality on 95% of attempts. Runs at approximately 1.5c.