Closed s4m2d closed 7 years ago
I've not actively supported this project in a long time, I'm not even sure if it works at all anymore, have you looked at the web gamepad api: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API/Using_the_Gamepad_API
Thanks for answering, The reason to use your module relies on the rumble access which the webAPI isn't capable of. Your module still works very well with xbox360 and One controllers.
The issue is in node-hid, which runs a different node module version than electron. It always fails for electron-rebuild- don't know a solution till yet.
Just wanted to give feedback. Considering this as closed, I will have a detailed look on rebuilding node-hid. Thanks for your time!
By running it in pure nodeJS environment I didn't expected any issues. But as soon as running it in an wrapper as electron it crashes the whole application. I am not sure were the issue is located, since I am not that deep into the topic.
If you require it in the first lines, electron won't start the process, if you paste it after the window-process is created it crashes.
crash:
won't run: