Edited WebUSB sample. Removed all webUSB stuff Added Xinput Update: has been quite a while, the code here isn't clear at all. I'll update the repo with better code.