I'm currently working on an update to my existing game, so I've planned to add gamepad support to the game. The control works until I minimize the preview window. When I restore the window, the gamepad controls stopped working and the preview can't detect the gamepad anymore. It occurred on NW.js and Torch (a browser based on Google Chrome). I don't have Firefox or Chrome.
I'm using my smartphone as a virtual wireless Xbox 360 controller with Monect PC Remote. Any ideas instead of purchasing a real Xbox 360 controller?