On 12/31/05, Paul Hutchinson wrote: > To send a shifted "j" key you set the left or right shift key bit in the > modifier byte of the packet and put the "j" key code as the key array data. > The information about modifier keys is in "Device Class Definition for Human > Interface Devices (HID)" document from the USB Implementers Forum. > > To send your first name properly capitalized to notepad you set the modifier > byte to have a shift and put "j" as the only key in the data array and send > it. Next you clear the modifier byte and load "o", "s" and "h" in the data > array and send the packet. Hi Paul, Thanks for the reply. I managed to figure this out a couple of days ago, and I've just been too busy to post my solution back to the list here. Thanks for taking the time to answer! I still find it odd that there are keycodes defined for the modifier keys. Perhaps it's done so that if you wanted you could treat shift, ctrl, and alt as regular keys rather than modifiers. Thanks! Josh -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist