Page 1 of 2

xbox360 with ds4 incorrect mapping issue

Posted: Wed Jan 13, 2021 11:48 am
by wahef58696
Hi everyone. Thank you Matlo for this great project. I am trying to use a DIY adapter on Xbox360 console with Dualshock4 controller.
I have modified gimxcontroller/firmware code to authenticate with a 3rd party Afterglow controller (used a tutorial from this forum).
When I start Gimx with Dualshock4.xml file, DS4 is working, but all the mappings are incorrect :(

Edit: Fixed it by creating a new config file with the Gimx configurator.

Re: xbox360 with ds4 incorrect mapping issue

Posted: Wed Jan 13, 2021 12:32 pm
by LoneWolf81
Hi

If you open the file with the config editor is the type set to 360pad ? From the log file it looks like its still set to Dualshock 4

Re: xbox360 with ds4 incorrect mapping issue

Posted: Wed Jan 13, 2021 12:53 pm
by wahef58696
changed it to type="360pad" now, but nothing changed :( . RS sends guide, guide sends LS, triangle sends B etc.
what exactly does type variable do?

another note:
after launching Gimx, it starts working immediately (after the vibration) without pressing the guide button. it still
says "Press the guide button of the controller for 2 seconds". Meanwhile xbox controller's light is a complete ring
fading in and out (like the wireless controller waiting to be synced). However holding the guide button does nothing.
Is is that because I am using a 3rd party controller for authentication?

Re: xbox360 with ds4 incorrect mapping issue

Posted: Thu Jan 14, 2021 1:09 am
by kaiba_seto2004
Bus 001 Device 003: ID 0e6f:0213 Logic3 Afterglow Gamepad for Xbox 360
On wiki, we used a genuine wired 360 controller.
I think you need to remap buttons in gimx-config.

Re: xbox360 with ds4 incorrect mapping issue

Posted: Thu Jan 14, 2021 6:50 am
by wahef58696
isn't Xbox gamepad only used for authentication? DS4 is a genuine one.

Re: xbox360 with ds4 incorrect mapping issue

Posted: Thu Jan 14, 2021 8:20 am
by kaiba_seto2004
If target console is X360, X360 wired controller is required. I'm not sure if Logic3 Afterglow Gamepad works or not.

Re: xbox360 with ds4 incorrect mapping issue

Posted: Thu Jan 14, 2021 8:51 am
by wahef58696
wahef58696 wrote: Wed Jan 13, 2021 11:48 am i have modified the code to authenticate with an Afterglow controller (used the tutorial from this forum).
when i start Gimx with Dualshock4.xml file, DS4 is working, but all the mappings are incorrect.

Re: xbox360 with ds4 incorrect mapping issue

Posted: Thu Jan 21, 2021 9:38 pm
by wahef58696
I realized Dualshock4.xml is only a test file for PS4.

Re: xbox360 with ds4 incorrect mapping issue

Posted: Sat Jan 30, 2021 1:22 pm
by Matlo
Hello,

Actually it did work with earlier Linux kernels, and some recent development in the Linux kernel (probably to add touchpad and motion sensing support) broke the mappings.

I'll update the default configuration.

Thanks for letting us know about this issue :)

Re: xbox360 with ds4 incorrect mapping issue

Posted: Fri Feb 18, 2022 8:20 pm
by Mike
Sorry to revive an old thread, but does anyone know which tutorial might be the one referenced?
I have modified gimxcontroller/firmware code to authenticate with a 3rd party Afterglow controller (used a tutorial from this forum).
I saw in another thread that involved someone was trying to change the vendor and product id. https://gimx.fr/forum/viewtopic.php?t=3604