PS5 controller is recoginized as XBOX controller when gaming in Bottles

I managed to use a ps5 controller to play games in bottles (followed the WINE games section). But the game thinks I’m using the xbox controller. And providing me the lower quality of haptic feedback which is for xbox controller. The ps5 controller can do better than that.

Anyone using ps5 controller playing windoz games on Linux?

Suggested solution from AI

The issue you’re describing—a PS5 DualSense controller being recognized as an Xbox controller in Wine on Linux, leading to suboptimal haptic feedback in games—stems from Wine’s incomplete native support for the DualSense and the game’s level of DualSense vibration support. There’s no single, guaranteed solution to achieve optimal vibration in all games.

Solutions involve trying different tools and methods, with no guarantee of success:

  • Steam Input: Steam’s Input configuration allows customizing various controllers, including haptic feedback. If the game runs through Steam, try remapping the controller’s buttons and vibration within Steam’s controller settings to map DualSense outputs to a vibration mode the game understands.

  • xboxdrv: This common Linux driver for Xbox controllers might better handle DualSense input, offering some vibration control options, even though it’s recognized as an Xbox controller.

  • However, this doesn’t guarantee the game will correctly utilize all DualSense haptic features.

  • dualsensectl: This tool provides finer control over the DualSense, including vibration.

  • Experiment with its settings to see if it improves Wine’s vibration handling. Its effectiveness depends on the game’s DualSense support.

  • Modifying Game Configuration Files: Some games let you adjust controller input and vibration in configuration files. Search for relevant files to see if vibration settings can be tweaked. This is game-specific and lacks a universal method.

  • Proton/Proton GE: If the game runs through Steam, try Proton or Proton GE for improved compatibility, potentially including haptic feedback.

  • Proton is a Steam compatibility layer for Windows games.

  • Game’s Native Support: The most fundamental solution relies on the game’s native DualSense support. If the game lacks full DualSense feature support, even these methods might not yield optimal vibration.

In short, multiple approaches are needed, and success depends on game and Wine compatibility. No single method guarantees a perfect fix. Start with Steam Input; if that fails, try other options.

Also, monitor Wine and related tool updates for improved compatibility.