node-gamecontroller
node-gamecontroller copied to clipboard
this._hid.disconnect is not a function
When using the xplorer guitar, calling .close() will generate an error. Looking at the _hid property I can see that there is no such function.
https://github.com/infusion/node-gamecontroller/blob/deebd1c58ce81e900814e63d18569f06daf102f7/gamecontroller.js#L94
It seems they renamed the function to close()
. Hmpf, thanks for the hint!
I fixed it, thanks!
Could you also update the NPM package?