I'm afraid Espruino doesn't support being a USB host, so it's not possible to capture anything from USB devices.
However you could still plug in old-style PS/2 devices and read data back that way if you wanted to.
@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.
I'm afraid Espruino doesn't support being a USB host, so it's not possible to capture anything from USB devices.
However you could still plug in old-style PS/2 devices and read data back that way if you wanted to.