Gamepad configuration

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
azon8
Newbie
Newbie
Posts: 2
Joined: Tue Oct 20, 2020 10:19 am

Gamepad configuration

Post by azon8 »

So, I want to play 4 player split screen ( Left 4 Dead 2 ) by running the game multiple times. This works :D (joining the game etc).

All the way up to setting up the right joy stick with the right instance. And now i'm stuck.

I have three "Sony PLAYSTATION(R)3 Controller" controllers.
The solution i hoped would work was using the Game Controllers control panel to disable each selectively for each wineprefix instance.

But there appears to be a bug where wine can't tell the joysticks apart. Looking at registry for CURRENT_USER/Software/Wine/Directinput/Joysticks indeed shows that the Name is set to "Sony PLAYSTATION(R)3 Controller" which is not unique. ( the Game Controller GUI also appears to bug out )

Is it possible to differentiate these controllers or can anybody suggest different method?
azon8
Newbie
Newbie
Posts: 2
Joined: Tue Oct 20, 2020 10:19 am

Re: Gamepad configuration

Post by azon8 »

As a roundabout way of doing this, i found that firejail can block access to /dev/input/jsX which achieves what i want.

But a more direct solution would be appreciated.
Locked