• I'm afraid there's no way to do that at the moment. Espruino's USB HID uses only one USB endpoint (running from the Espruino to the PC), so there's only ever one-directional data transfer.

    Having said that, you may not need it depending on what you're planning. As far as I know, keyboards send the key that's pressed - but for instance that would just be the 'A' key - there's no understanding of what is upper and lower case. That is handled by the PC.

    If you press 'shift-A' it sends 'A' but with a 'shift' modifier. Caps lock doesn't have any effect on what is sent back.

About

Avatar for Gordon @Gordon started