I made keyboard to use as shortcuts for EAGLE. Should be exactly what you need. I used it on easypic dev board. Pic should be 18F4550.
Here is complete project My UsbKeyboard.zip

I created that using many examples from forum...