As @Ollie says, keyboard emulation is probably the best bet - unless you are writing an app.
See the answers from when this was asked before
@Gordon started
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.
As @Ollie says, keyboard emulation is probably the best bet - unless you are writing an app.
See the answers from when this was asked before