It can. What you're looking to do is basically implementing a USB keyboard using USB HID. When connected it will, to the PC, look like any old USB keyboard. I've managed to do it using examples on the forum, the tricky parts are to get the descriptor correct and the various scan codes. I can't get to the code right now but I can probably dig it out later - if you haven't already found examples to work from by then.

/Henrik.