PlayStation Plus and the baffling touchpad click

Questions about Wine on Linux
Locked
Davide De Luca
Newbie
Newbie
Posts: 1
Joined: Wed Jun 22, 2022 5:46 am

PlayStation Plus and the baffling touchpad click

Post by Davide De Luca »

I wanted to reach the Wine experts for a baffling issue I have been facing with some Windows-only software such as PlayStation Plus (formerly known as PlayStation Now), for which I have performed some successful tests: https://appdb.winehq.org/objectManager. ... &iId=35029

The only thing which is actually not working at the moment is the the emulation of the dualshock4/dualsense touchpad, and in particular the touchpad click functionality, which as you might know, it maps some significant outcome in several PS4 Games (it is basically the Start button in any PS4 Game).

Would it be feasible to have a solution for the simulation of the touchpad click in Wine?

I tested it with a DualSense. When opening the Game Controllers applet in the Wine Control Panel, the controller is displayed as a Connected xinput device and named "Wireless Controller". In this way, it would work exactly as a Xbox controller, with 10 buttons mapped and no support of the touchpad. Would it be possible to make it look exactly as the PS application is expecting (with touchpad buttons too)?

For the touchpad emulation, all the available solutions in Windows are making use of the Kernel Mode Driver Framework API (https://www.microsoft.com/whdc/driver/wdf/KMDF.mspx).

In Wine, a standard Xbox One controller (or any Xbox360 compatibel controller) is recognized by Xinput as a 10-buttons controller, as in the picture here below:
Image

But is it there any way to simulate more than 10 buttons in the controller model, maybe by mapping them from the keyboard or the mouse buttons?
Locked