Original Post
Hi, I want to understand how a USB mouse outputs data (movement and buttons) so that I can write a driver for a device I have that has a USB socket. I cant seem to find any information about if this is some standard protocol. I need to know things like, do I have to initialize the mouse somehow? Or do I just need to read from its port and it will automatically send me data as it moves/clicks? Can anyone point me to any information about this? I tried MSDN but the little information I can dig up all relates to writing windows drivers, but eventually I will be writing this in Java (belive me, dont ask). At this point even the smallest piece of information would be useful. Thanks, Alan