Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Tested in Chrome on PC with Xbox One controller and it works well, although I needed to manually add the extra buttons for start and select as they weren't in there by default. The left joystick is also set up as the default control method and need to manually change to D-Pad keys if you want to use that instead. You can only have one or the other though, not both control methods at same time.
I also tested on Xbox One and there are some issues there on Edge Browser. There is an option that pops up to use controller buttons for gaming rather than for browser navigation, this gets around the issue of when you press B button it would usually jump to previous browser page.
However when I tried to map keys for start and select to the controller buttons they seem to come up as unidentified buttons.

Thanks for testing. Your feedback is really helpful.

You should be able to use the d-pad by default (instead of the joystick) by toggling the analog button, if your controller has one. Also, with analog off, you can use both the d-pad and left joystick at the same time. 

Because the buttons map differently for different controllers, I decided to not map start and select by default. Although it is interesting that yours also mapped to 8 and 9, same as for my PC gamepad. 

Not being able to identify the start and select button on Edge is unfortunate. Likely down to Edge implementing the Gamepad API slightly differently. But I suppose you can always map those controls to some other button on your controller.

Thanks again for the feedback.

Xbox One controller doesn't have an analog switch unfortunately but that's not a big issue.

My comments regarding Edge were in relation to attempting to play on my Xbox One X (not on PC).

Edge browser on Xbox uses a few of the controller's buttons and joysticks for browser navigation purposes however you can override this when your game starts up to some degree (I think you need to hold down the menu button to switch controller mode to "Use game controls" rather than the usual browser controls.

One issue is that when you need to remap the controller buttons in "Use game controls" mode, you cant of course move around the game's menu system as the joysticks no longer work for controlling the mouse cursor so you need to plug a mouse into the Xbox to enable you to select the menu items. If you attempt to remap buttons whilst the controller is still in browser control mode then most of the controller buttons come up as unidentified.

A further issue, when I finally managed to remap the start and select buttons to controller using the mouse method above, it seems to remove the keyboard mapping and simply marks the original keyboard key settings as unidentified under the keyboard column, which is a bit strange. This also causes a problem with game control as this unidentified keymapping seems to want to press the start and select buttons whenever you press any other button/joystick in game.

I think for gaming on Xbox Edge, you would need to create a mapping preset at your end and give the user the ability to select that as the default mapping.

On my Xbox One X I can only play fullscreen (at 1080p) if I select the low definition mode in game. Higher definition crashes the game and browser needs to be restarted due to webgl crash I think (cant simply reload the game page, need to close browser and restart it).

(1 edit)

Hmm, the Select and Start buttons must also be generating a keyboard event which is why the keyboard mapping gets overridden :( For now I've uploaded a new build with these mapped by default. So far, it seems that buttons 8 and 9 are generally mapped to Start and Select (although that is only based on three gamepads tested),  so hopefully it will work for most controllers. And of course people can still reassign them to the correct buttons if that's not the case.

As for performance of the Edge browser on Xbox , not sure how much more I can optimize the WebGL to improve the performance or prevent crashes. I need to do some more research.

I'd like to create a profile for the button names for your XBox controller on PC, so if you have the time, maybe you can do something similar to this post?