Free PS/2 mouse code

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
emadrezvani
Posts: 7
Joined: Sun Jun 08, 2014 2:17 am

Free PS/2 mouse code

Post by emadrezvani »

[edit by Candy] For the original thread at: http://forum.osdev.org/viewtopic.php?f=1&t=10247 [/edit]

ignore mouse errors.

Code: Select all

   if (mouse_byte[0]  &  0x08 ) 
    {
         // Click events code
    }else
        return;
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re: Free PS/2 mouse code

Post by Candy »

Please try not to resurrect posts from 2005 :-)
Post Reply