Originally Posted by
Kamikaze47
Hi,
I realize I am resurrecting an old thread here, but I'm trying to get an 18F4550 to act as a "virtual keyboard". I've used Merfy's KBDDESC.ASM (above) and i've managed to get the PC to detect it as a keyboard, and can send keystrokes, however when I do, it seems to send the keystroke over and over and over until I send another one.
If I do this for example (and keep in mind this line is only run once):
USBOut 1, buffer, 8, endgame
where buffer=[0,0,$14,0,0,0,0,0] ' ($14=q)
the pc types "qqqqqqqqqqqqqqqqqqqqqq....." and on forever.
any suggestions?