matlo / GIMX

The GIMX software.
GNU General Public License v3.0
581 stars 104 forks source link

Gimx-config does not detect touchpad button on DS4 #524

Open GodlikeRU opened 6 years ago

GodlikeRU commented 6 years ago

Hi Mathieu,

I found that gimx-config does not detect touchpad button in auto-detect mode when you try to assign that button. If i manually edited the config file file however, by trial/error method I found out that touchpad button is button number 15and when I assigned it to the abs_axis_17 it worked in game so it's only config editor problem.

Steps to reproduce:

  1. Start gimx-config
  2. Click auto-detect
  3. Press touchpad button on DS4 (nothing happens)

My hardware: PS4 5.05 White Dualshock 4 V2

GodlikeRU commented 6 years ago

Well I see in \shared\gimxcontroller\include\ds4.h there's a line for WIN32 that says

#define DS4_TOUCHPAD_ID 15//not detected by the default hid driver

Looks like it may be not fixeable but a workaround should be provided as if I manually write it in the config then it works. Ginput test program does not detect it

matlo commented 6 years ago

Hi Daniel,

Communicating with the dualshock 4 directly would allow to fix this. This is done when the dualshock 4 is used for authenticating with a PS4, which explains why the button is detected in this specific case.

This is something doable but I lack time to address this.