PS/2 mouse false interupts

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
buc030
Posts: 1
Joined: Sat Jun 15, 2013 5:40 pm

PS/2 mouse false interupts

Post 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.
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: PS/2 mouse false interupts

Post 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.
Prochamber
Member
Member
Posts: 100
Joined: Wed Mar 13, 2013 2:27 am

Re: PS/2 mouse false interupts

Post by Prochamber »

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