Keyboard

Are you getting NO keyboard input or just the wrong keyboard input?

The library example KeyboardSerial does almost the same thing. It uses type 'char' instead of type 'byte'. Perhaps that is significant.