Controller Support on Steam

Not favoritedFavorited Favorited 0 favourites
  • 9 posts
From the Asset Store
Controller Support ,TouchScreen Support , Keyboard Support , Action Platformer, Lots of Animations
  • Hey everyone,

    I've got a game coming out on Steam this month and I've had lots of issues with controller support. It's hard to tell which controllers exactly are causing issues, but it seems like Xbox and Off-brand gamepads usually work ok, but Playstation and Switch controllers are completely ignored by the game.

    I configured Steam to install GameInput with the game, which I believe should solve some issues.

    My game also has a full key rebinding system and uses button indices to register controls using the default Gamepad plugin in Construct.

    However, some controllers are just completely unrecognized by the game.

    I just want to better understand how controller support works with Construct 3 and what I can do to make my game as accessible as possible.

    If there's certain types of controllers that just won't work, I would love to know so I know what to tell players who have issues.

    Thanks everyone!

  • We support both XBox and PS controllers in our game, and most players don't have any issues. We use the official Gamepad plugin, nothing special.

    If something isn't working, we advise players to try enabling or disabling Steam Input in the game's settings. That usually does the trick.

  • Interesting. Thanks for sharing. I'm curious if you've set anything specific in the SteamInput section of your game?

    I've messed with the area a few times, but not sure if that would help or hurt the situation. Using SteamInput sometimes fixes issues I have with my controller rumble not working.

    Either way, very helpful to know that PS should be working. Your game looks beautiful, by the way.

    Thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm curious if you've set anything specific in the SteamInput section of your game?

    I don't think we have.

    So when you discover that a controller doesn't work in your Steam game, does it start working when you disable Steam Input? Maybe you should disable it then.

  • I would suggest trying disabling Steam Input entirely. Construct doesn't use the Steam Input APIs at all - it uses either the browser's own gamepad APIs, or for the time being, Microsoft's GameInput for Windows exports. If you enable Steam Input I think it might in some cases redirect gamepad input to Steam for its own Steam Input API, which is then ignored.

  • I'm also having a lot of problems with controller support in my game, Zueirama 2, exported for Steam using Construct 3.

    Several players have reported that their controllers aren't working properly.

    One workaround that helped me was removing the `scirra-gameinput-x64.ext.dll` file from the exported game folder. This improved compatibility with some controllers, although it hasn't completely solved the problem.

    I've also experienced a strange issue where my generic controller only works when the game window is **not focused**. When the game window is active, the controller stops responding.

    Controller support on Steam has been quite frustrating to deal with.

    I'm really hoping the Construct 3 team will release updates to improve controller compatibility and make Steam exports more reliable, especially for generic controllers.

  • Are you installing the latest version of GameInput with your game, as described in the Steamworks plugin documentation?

  • Hi Ashley, thanks for your reply!

    Yes, I followed the Steamworks plugin documentation, including configuring Steam to install Microsoft GameInput using `GameInputRedist.msi` and an `installscript.vdf` file.

    I've also updated to Construct 3 r507 and tested the latest GameInput integration.

    After many tests, the configuration that has worked best for my game, Zueirama 2, is:

    - Exporting for Windows WebView2 with Steam support.

    - Removing `scirra-gameinput-x64.ext.dll` from the exported game.

    - Keeping `GameInputRedist.msi` and the installation script so Steam can install Microsoft GameInput on the player's computer.

    - Using the regular Steam Overlay mode instead of Capture Mode.

    A friend tested this version on his computer, and his controller worked correctly. Other configurations caused controller detection problems.

    However, **one strange issue still remains on my computer**: my generic controller only works when the game window is not focused. As soon as I focus the game window, the controller stops responding. If I switch to another window, the controller starts working again.

    The same controller works perfectly in Construct 3 Preview and in other Steam games.

    I've already tried enabling and disabling Steam Input, disabling the Steam Overlay, and changing `allow-host-input-processing` between `true` and `false`, without resolving this issue.

    My Microsoft Edge WebView2 Runtime version is `155.0.4283.62`.

    So while I've managed to get controller support working on another computer, I still haven't found a reliable solution for generic controllers on all systems.

    Is there anything else I can do to fix this focus-related issue? Could this be a WebView2 Gamepad API bug?

    Thanks again for your help!

  • If you export to Windows WebView2 with Steam support, and you remove scirra-gameinput-x64.ext.dll, then you will run into a bug with WebView2 that our GameInput DLL works around. So you are using a known broken configuration there. You need to use GameInput with Steam exports to avoid that problem.

    Are you sure you're installing the right version of GameInput? As of r507, Construct now uses GameInput v4.0.300. If you install an older version then GameInput won't work.

    When using GameInput you can open the browser console (press F12) and see diagnostic messages in the console. It should have messages telling you if GameInput initialized successfully, and when it identifies gamepads being connected and disconnected.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)