andrew / node-xbox-controller

:video_game: [UNMAINTAINED] Interface for Xbox 360 game controller into Node.js
http://libraries.io/npm/xbox-controller
MIT License
270 stars 49 forks source link

Can't find Xbox controller on refresh #64

Closed electrovir closed 7 years ago

electrovir commented 8 years ago

I'm experimenting with using this within a NW.js project. I've discovered that if I reload the window in NW.js, my Xbox controller can no longer be found. If I quit NW.js completely and relaunch it, then it works just fine again.

I noticed that after reloading, my xbox object has an hid property set to false, rather than an object.

andrew commented 8 years ago

I'm not sure how to fix this, might be a bug in the underlying HID module

andrew commented 7 years ago

I'm no longer supporting this library as I don't use it any longer so I'm going to close this issue.