Just to add, USB HID might still work on Windows, but it might need a 'inf' file making for it - unfortunately it's something nobody's managed to get working yet :(
Worst case, it's entirely possible you could take a cheap USB mouse apart and then wire the motion sensor across one of the buttons on it (assuming the voltages are correct).
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.
Just to add, USB HID might still work on Windows, but it might need a 'inf' file making for it - unfortunately it's something nobody's managed to get working yet :(
Worst case, it's entirely possible you could take a cheap USB mouse apart and then wire the motion sensor across one of the buttons on it (assuming the voltages are correct).