I am definitely feeling the USB pain. I have spent the past 4 days scouring this site and the rest of the world for a working PBP example code of a HID USB Keyboard.
I have tried literally dozens of variations on keyboard descriptor files.
The PBP usb mouse demo works just fine. But all other files pertaining to keyboards, both on this site, other sites, and ones that I have pieced together do not work.
I have tried the file from this post http://www.picbasic.co.uk/forum/showthread.php?t=2872 a dozen different ways with no luck.
Usually one of three things happen:
1. The computer locks up and needs rebooted.
2. The computer indicates an unknown USB device is connected.
3. The computer does not recognize a new USB device at all.

Does somebody, anybody have a working demo? Even if it is only a single keystroke.
You might just keep me from committing suicide.