Dualsense controller not recognized in game

After updating some packages.
My dualsense controller isn’t recognize in game.
I have to reboot to resolve the problem.

When it occurs, it stills work in Steam callibration’s tool.

It feels likes 'the controller doesn’t have the focus on the window".

This errors occurs almost only when switching workspace or when a previous game was launched.

I’m running Wayland.

Could you give some more details? Do you use Steam games and Steam Input? Do you use the controller wirelessly or via USB? Have you tried other non-Steam games that support DualSense? Do you know if your controller is recognized as “player 1” in the Steam controller settings while the game is running?

You might want to try to go to “Settings”, “Game Controller” and uncheck “Allow using as pointer and keyboard” as this has seemingly caused issues for many people recently.

My controller is connected via bluetooth.
Launching a game with lutris worked so it seems a steam related issue (but I don’t know if the game was dualsense compatible).

Disabling trackpad doesn’t resolve the problem.

Sometimes logout helps, sometimes disabling steam input or enabling it helps.

It’s not a very consistent problem. Sometimes it just worked. Sometimes nothing worked until I reboot or logout.