PDA

View Full Version : Simulate a mouse with a PIC



peterdeco1
- 20th September 2006, 19:30
Hello Everyone. I would like to simulate a USB, PS/2 or serial mouse with a PIC with pushbuttons. The idea here is 1 switch is up, 2 down, 3 left, 4 right. Pressing 2 & 3 will go down left, etc. I searched this forum and did a google search on mouse protocol but couldn't find anything definative with connecter pinouts, etc. Any ideas? Thanks.

Raflex
- 21st September 2006, 00:13
Hello. Take a look on the usb mouse example (usb18 folder inside picbasic directory)