Using DS4 as a device within gimx config

Need help? Ask here and someone will help
onetymeohnly
Posts: 39
Joined: Sun Aug 16, 2015 12:58 am

Using DS4 as a device within gimx config

Post by onetymeohnly »

GIMX 4.3
Windows 8.1 x64
DIY USB Adapter from dummies guide
Firmware 4.3 PS3 DS3
PS3/Vita
Ultimate Marvel vs Capcom 3
Keyboard and PS360+

Hi I'm trying to use the DS4 as an input device for GIMX and when it auto detects L2 and R1 they both appear as "Button 10" and L3 and R2 both appear as "Button 7," never mind the fact that those numbers are totally different than what appears on the "Wireless Controller" test properties. What can I do to correct this?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Using DS4 as a device within gimx config

Post by Matlo »

Hi,

It's possible to use L2 and R2 as axes instead of regular buttons.
I suggest you to download the Dualshock4.xml config using the Help>Download menu.
GIMX creator
onetymeohnly
Posts: 39
Joined: Sun Aug 16, 2015 12:58 am

Re: Using DS4 as a device within gimx config

Post by onetymeohnly »

I downloaded it but it still has the same problem even when L2 and R2 are set as axes.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Using DS4 as a device within gimx config

Post by Matlo »

The problem lies in a third-party library (libSDL).
I'll try to add a work-around in the next release (GIMX 5.0).
GIMX creator
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Using DS4 as a device within gimx config

Post by Matlo »

Download the following archive: link.
Extract the SDL2.dll file into the GIMX installation directory (replace the existing SDL2.dll file).
GIMX creator
onetymeohnly
Posts: 39
Joined: Sun Aug 16, 2015 12:58 am

Re: Using DS4 as a device within gimx config

Post by onetymeohnly »

gimx-launcher won't open with that SDL2.dll. I restored the old one and it opened up

Problem signature:
Problem Event Name: APPCRASH
Application Name: gimx-launcher.exe
Application Version: 4.3.0.0
Application Timestamp: 558e72f4
Fault Module Name: ntdll.dll
Fault Module Version: 6.3.9600.17936
Fault Module Timestamp: 55a68dd1
Exception Code: c000007b
Exception Offset: 0009d4f2
OS Version: 6.3.9600.2.0.0.256.103
Locale ID: 1033
Additional Information 1: 1abe
Additional Information 2: 1abee00edb3fc1158f9ad6f44f0f6be8
Additional Information 3: 1abe
Additional Information 4: 1abee00edb3fc1158f9ad6f44f0f6be8
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Using DS4 as a device within gimx config

Post by Matlo »

I think some of my build tools was updated, and that the generated dll is not backward compatible.
The issue will be fixed in GIMX 5.0 that I intend to release in the next days.
GIMX creator
onetymeohnly
Posts: 39
Joined: Sun Aug 16, 2015 12:58 am

Re: Using DS4 as a device within gimx config

Post by onetymeohnly »

Ok, thank you Matlo!
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Using DS4 as a device within gimx config

Post by Matlo »

GIMX 5.0 is out: http://forum.gimx.fr/viewtopic.php?f=2&t=1267
The conflict should be fixed. You'll have to use the L2 and R2 buttons as axes.
To control buttons with axes, select "axis up" or "axis down" before clicking on auto-detect.
Please let me know if the issue is fixed.
GIMX creator
onetymeohnly
Posts: 39
Joined: Sun Aug 16, 2015 12:58 am

Re: Using DS4 as a device within gimx config

Post by onetymeohnly »

I'm getting this error

src/windows/async.c:248 GetOverlappedResult failed with error: The I/O operation has been aborted because of either a thread exit or an application request.

src/windows/async.c:230 ReadFile failed with error: The supplied user buffer is not valid for the requested operation.

can't read packet data
No controller detected.
adapter_detect failed

Edit: Ok I got it to work, I solved it by not using the new firmware 5.0 for the teensy and it started working again. Also, DS4 is working as well! All buttons are now separated.
Locked