Quote Originally Posted by Squibcakes View Post
Thanks nimonia,

Yeah I just use EP 1 for my usb programs and it seems to always work. There is a lot of stuff out there on USB, but most of it's jargon and doesn't explain it easily.

I too have been messing with a HID keyboard interface and almost have it working.

I can mimic the Num lock, scroll lock, and caps lock leds on my test PCB when they're pressed on the main PC keyboard.

I can send the special keys (shift, control, GUI)

I can and send regular key chars but... I have a problem with the chars repeating. So if I press the key "J" for instances it keeps on sending, my program seems to be stuck in the DoUSBout out loop. I've tried sending a $00 code as a keystop but this doesn't work.

Have you run into this problem at all? Anyone else?
Cheers
Squib

----

OK I sussed this one out hrs after posting... always the way!
Squibcakes, could you post your code for using USBIN to receive the PC's packets with the keyboard LED status?

I'm also making a USB keyboard, and I've got the PIC->PC communication working perfectly, but struggling with the PC->PIC communication.

Thanks