Open borring opened 3 years ago
Update. I've re-enabled the Steam overlay and it is somehow working for FFXV Demo now.
Overlay settings are as follows:
To be clear, I already had the first option checked. But the game only accepted input from controllers when I turned off overlay. I tried again this morning with the same result (controller uses Desktop configuration). Then I decided to re-enable overlay. Now the game is accepting controller input AND the game UI buttons now match the Switch Pro controller buttons instead of showing kbd and mouse btns.
Unfortunately, the same configuration doesn't work with Trine. Having the overlay enabled still cuts off all input from the controller.
I've just tried with another game besides Trine, FFVIII with the same result as Trine. Here's what I see in the logs in both cases
Dec 27 14:36:18 navi.localdomain com.valvesoftware.Steam.desktop[36552]: Could not load local selection (/var/home/username/.local/share/Steam//controller_base/templates/controller_switch_pro_gamepad_fps.vdf), local override (/var/home/username/.local/share/Steam//controller_config/app_39150.vdf), or user path (/var/home/username/.local/share/Steam/userdata/48492577/config/controller_configs/app_39150.vdf), checking last resort path: /var/home/username/.local/share/Steam//controller_base/templates/controller_switch_pro_gamepad_joystick.vdf
Dec 27 14:36:18 navi.localdomain com.valvesoftware.Steam.desktop[36552]: Loaded Config for Last Resort Path for App ID 39150, Controller 0: /var/home/username/.local/share/Steam//controller_base/templates/controller_switch_pro_gamepad_joystick.vdf
Dec 27 14:36:18 navi.localdomain com.valvesoftware.Steam.desktop[36552]: Controller 0 Gamepad uses xinput : true
Dec 27 14:37:50 navi.localdomain com.valvesoftware.Steam.desktop[36552]: OnFocusWindowChanged to window type: k_nGameIDControllerConfigs_Desktop, AppID 413080
Dec 27 14:37:50 navi.localdomain com.valvesoftware.Steam.desktop[36552]: Controller 0 Gamepad uses xinput : true
Dec 27 14:37:50 navi.localdomain com.valvesoftware.Steam.desktop[36552]: Loaded Config for Local Selection Path for App ID 413080, Controller 0: /var/home/username/.local/share/Steam/steamapps/workshop/content/241100/2337173984/1645468685088285545_legacy.bin
Dec 27 14:37:50 navi.localdomain com.valvesoftware.Steam.desktop[36552]: Controller 0 Gamepad uses xinput : true
It looks like it loads gamepad configs, but the game still thinks I will be using mouse and kbd.
Update: For games like Trine with generic gamepad support, it seems like input is cut off when the overlay (BPM) is enabled. Actually this was because the the gamepad configuration was loaded and the game could not properly use those signals. Since the game already assumes that the input is keyboard and mouse, then going into controller config and mapping the controller to kbd and mouse works.
This is odd since the game is advertised as having full controller support.
Your system information
My issue is nearly identical with 6758 except their solution did not work for me.
Please describe your issue in as much detail as possible:
Expected Switch Pro Controller to be usable as a gamepad in games. What actually happens is that it works in desktop mode as well as big picture mode. However, once in-game, the overlay needs to be disabled for the game to receive any input from the controller.
Overlay can't be disabled in Big Picture mode, so that means the game is completely unresponsive in BPM. After disabling overlay and the controller starts working, I notice that the controls are still mapped according to Steam's Desktop Configuration, and not to some game profile configuration.
For example, I am using FFXV Demo (full gamepad support + PS4 controller profile) to test. When I start the game, I see a notification from Steam saying that PS4 configuration will be loaded (with icon of Switch Pro Controller). I expected the PS4 controls to be mapped onto the Switch Pro Controller. Instead, I get the Desktop Configuration (right trigger is left-click, etc..). The game tutorials also show mouse buttons and keyboard letters instead of controller buttons.
When I press the Home btn (guide btn for steam) I see this in the log
Steps for reproducing this issue: