> the requirement is PS2 mouse. > If I do not need to know any thing about windows then > how windows is going to determine as new hardware found? If it is PS/2, then Windows will find the mouse because the mouse sends 0xAA to the computer over the PS/2 bus, indicating that it is ready for operation. Windows can force the mouse to send this code by sending 0xFF to the mouse. Of course, windows will also figure out that there is a PS/2 once it starts receiving 3-byte movement/button packets over the bus. You can find more information at: http://www.computer-engineering.org/ps2protocol/ Greetings, Maarten Hofman. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist