MiY4MOTO Posted March 9, 2016 Share Posted March 9, 2016 I'm trying to implement controller support and have been testing using the Xbox One's MS Edge browser. Everything renders fine & runs well (sounds, animation etc.) but the controller doesn't respond. I used the code from the examples, and when I switch between 'browser' & 'gamepad' mode in the Xbox UI, the "controller connected" code (game.input.gamepad.supported && game.input.gamepad.active && pad.connected) executes fine and shows the correct connected / disconnected status. However, it appears that the browser only receives a single response from the pad while connecting / disconnecting as whatever action I do or button I press whilst connecting triggers endlessly until I disconnect via the Xbox UI. By trialling all of the different inputs I can see that it's recognised the same as a 360 controller (Phaser.Gamepad.XBOX360_DPAD_UP etc.) but I'm at a loss at why it won't work correctly, only receiving inputs on connect. I even tried browsing the the phaser.io examples pages using the XB1 browser but found that they didn't work as expected either. I know there *are* browser games for the XB1 that work with the controller (I.e. http://playboxie.com/x1) but does anyone know of one that uses GamePad mode with Phaser (rather than emulating mouse controls) so I can take a look at an example that works as I'm at a loss? Link to comment Share on other sites More sharing options...
MiY4MOTO Posted March 12, 2016 Author Share Posted March 12, 2016 Apparently my code behaves the same on a regular PC with the latest version of MS Edge. Can anyone point me in the direction of an example with working game pad controls in MS Edge? Link to comment Share on other sites More sharing options...
Recommended Posts