I do not know what board you have, but any Espruino can do.
I'm afraid this isn't the case. The Original Espruino won't do USB HID, however both the Espruino Pico and WiFi boards will. There's some info and example code on using them here: http://www.espruino.com/USB
Another option if you wanted to go Wireless is to use Puck.js, as that can emulate a Bluetooth LE wireless keyboard, and you can still connect your gyro: http://www.espruino.com/Puck.js+Keyboard
If you're dead set on using the original Espruino then you'd have to write some code on your PC to take the data sent over USB and translate it to keypresses/mouse input though, which could end up being a bit more of a pain - we could still try and help you with that 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!
I'm afraid this isn't the case. The Original Espruino won't do USB HID, however both the Espruino Pico and WiFi boards will. There's some info and example code on using them here: http://www.espruino.com/USB
Another option if you wanted to go Wireless is to use Puck.js, as that can emulate a Bluetooth LE wireless keyboard, and you can still connect your gyro: http://www.espruino.com/Puck.js+Keyboard
If you're dead set on using the original Espruino then you'd have to write some code on your PC to take the data sent over USB and translate it to keypresses/mouse input though, which could end up being a bit more of a pain - we could still try and help you with that though.