I am trying to mimmick mouse clicks using PIC 16F876A, but am running into problems because everything I can find for using the mouse is done using assembly other than the PIC's. I am planning to wire a button to RBO, RB1 etc.. and program to say when RBO pushed left click etc... but am not sure how to access the mouse using PIC or what exactly the clicking mechanisms send to the PC when pushed. Any help would be greatly appreciated.

Thanks.