Unable to install the package
The dependency on node-hid is so old that the latest no longer compiles and won't install.
I tested on Windows 10 and also WSL2.
The current version:
"node-hid": "^2.1.1"
The package was created using:
"node-hid": "^0.4.0",
https://github.com/tgraupmann/xbox-controller-node/commit/941e19f39066a6e55e813c38b59c4089b2b1eb22
I forked, updated the package version, and copied the project to its node-modules subfolder.
It's the same as running:
npm run test
I'm using an Xbox One controller and it keeps printing.
Notice: Xbox controller connected
Moving [LEFTSTICK] LEFT
Moving [LEFTSTICK] UP
Moving [RIGHTSTICK] LEFT
Moving [RIGHTSTICK] UP
Moving [LEFTSTICK] LEFT
Moving [LEFTSTICK] UP
Hi there, I had the same issue with being unable to build.
@tgraupmann's solution worked to solve the node-hid version issue for me (Windows and Linux). Is there any possibility of this package being updated to solve these issues?