For Espruino it would actually require modifications to the firmware though - it's not something you could do in pure JavaScript...
For now, I wonder whether there is any possibility of making the VCP device pretend it was a PS/2 keyboard. I guess that might be more easily done on Linux than other operating systems though...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
USB HID devices actually enumerate themselves differently to a USB VCP (COM) device - but there's no physical hardware difference, it's all software.
There's a feature request on GitHub for adding this, and I'd definitely like to get it done at some point - https://github.com/espruino/Espruino/issues/221
For Espruino it would actually require modifications to the firmware though - it's not something you could do in pure JavaScript...
For now, I wonder whether there is any possibility of making the VCP device pretend it was a PS/2 keyboard. I guess that might be more easily done on Linux than other operating systems though...