The original PICDemUSB boards, the ones for the 16C74X series, come completely setup to emulate mouse and keyboard HID's with all the firmware written in MPASM. Microchip also provided a good set of application notes with firmware for many HID applications including PS/2 mouse and keyboard to USB translators. It has been over a year since I played around with it but I believe the Microchip code was fairly easy to understand and modify. I would hope Microchip updated the app notes and code for the new USB Pics. You should be able to get all the app notes and assembly source code on their web site. Paul >-----Original Message----- >From: piclist-bounces@mit.edu On Behalf Of Josh Koffman >Sent: Wednesday, April 13, 2005 11:06 AM > >Well, my thought was that if I make my device enumerate as a mouse, >then I don't have to mess with the PC side. So, I'm trying to figure >out how to get the USB PIC to tell the PC that it's a mouse, then how >I am supposed to format those "I'm scrolling up now" type messages. I >don't think I need to do serial emulation...unless that's how all the >mice work. Low down, do they just emulate PS/2 or serial over USB? >Seems kind of a backwards way to do it. > >You are right, my application would just use the data as if it were >coming from a mouse. Yes, I know I could probably just hack up a cheap >mouse, but this seems more configurable (I could add extra buttons in >the future), plus I will have more freedom with what I use to actually >trigger the "I'm scrolling" messages. > >Josh -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist