On Sun, 26 Jul 1998, Ake Hedman wrote: > Most mouse devices today is compatible with a well known mouse from a > Redmond based company so a PIC that handles that protocol should solve the > "mouse problem". Beg pardon, I will say nothing of the consequence of that company in breaking its own standards. I will only say that my mention of Mouse Systems mouse protocols was not accidental. The Mouse Systems protocol is supported by all M$ products, offers 3 buttons to the benefit of Unices and is not likely to change in the future, so no-one is going to pull the carpet from under your design in say, like 6 months or so ? with a 'bugfix' that will put you out of business as far as this product will be concerned. Of course, supporting both protocols is better. An automatic detection is trivial, based on the packet length which is different, and which you can determine by examining a few 'blocks' of consecutive packets for the number of bytes in them (to find one that is divisible by 3 and not by 5 and vice versa ;). sorry for being blunt , Peter