DS4 button mapping wrong with new device

Need help? Ask here and someone will help
Post Reply
Beetlepig
Posts: 2
Joined: Mon Dec 02, 2024 9:50 pm

DS4 button mapping wrong with new device

Post by Beetlepig »

Hi Folks,

I've been using the adapter with my laptop for a while and it has been fine with the DS4. However, upon changing my setup the button mapping seems to have messed up. While the logs are showing the correct button inputs, they are not correlating to the actions on screen (e.g. cross and circle move up and down a menu rather than selecting or navigating).

I have tried re-flashing the firmware (I'm aware I'm using the PS3 setup, but this has been fine in the past as it recognises the correct inputs), but to no avail.

My previous setup:
Laptop -> GIMX adapter -> USBc to USB -> Same Laptop

New setup:
New Laptop -> GIMX adapter -> UBSc to USB (same cable) -> Laptop

log.txt:

Code: Select all

global option -l with value `log.txt'
global option -c with value `Dualshock4.xml'
controller #1: option -p with value `COM3'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
auto-grab flag is set
GIMX 8.0 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (22631)
GIMX adapter detected, controller type is: Sixaxis.
Firmware version: 8.0
Reset sent to the GIMX adapter.
Current baudrate: 500000 bps.
Trying baudrate: 2000000 bps.
Using baudrate: 2000000 bps.
no pass-through device is needed
using default refresh period: 10.00ms
mouse 0 has name 'HID-compliant mouse' and virtual id 0
mouse 1 has name 'PS/2 Compatible Mouse' and virtual id 0
keyboard 0 has name 'HID Keyboard Device' and virtual id 0
keyboard 1 has name 'Standard PS/2 Keyboard' and virtual id 0
keyboard 2 has name 'HID Keyboard Device' and virtual id 1
joystick 0 has name 'PS4 Controller' and virtual id 0
Dump of C:\Users\ne22153\AppData\Roaming/gimx/config/Dualshock4.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="0" type="DS4">
    <configuration id="1">
      <trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
      <mouse_options_list/>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_17" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="15"/>
        </button>
        <button id="abs_axis_10" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_9" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="0"/>
        </button>
        <button id="abs_axis_8" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_7" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_11" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="9"/>
        </button>
        <button id="abs_axis_12" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="10"/>
        </button>
        <button id="abs_axis_0" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="4"/>
        </button>
        <button id="abs_axis_1" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="6"/>
        </button>
        <button id="abs_axis_15" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="7"/>
        </button>
        <button id="abs_axis_16" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="8"/>
        </button>
        <button id="abs_axis_2" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="5"/>
        </button>
        <button id="abs_axis_3" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="11"/>
        </button>
        <button id="abs_axis_4" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="14"/>
        </button>
        <button id="abs_axis_5" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="12"/>
        </button>
        <button id="abs_axis_6" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="13"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_0" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="0" dead_zone="0" multiplier="0.004" exponent="1.00" shape="Circle"/>
        </axis>
        <axis id="rel_axis_1" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="1" dead_zone="0" multiplier="0.004" exponent="1.00" shape="Circle"/>
        </axis>
        <axis id="rel_axis_2" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="2" dead_zone="0" multiplier="0.004" exponent="1.00" shape="Circle"/>
        </axis>
        <axis id="rel_axis_3" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="3" dead_zone="0" multiplier="0.004" exponent="1.00" shape="Circle"/>
        </axis>
        <axis id="abs_axis_13" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="4" dead_zone="0" multiplier="0.008" exponent="1.00" shape="Circle"/>
        </axis>
        <axis id="abs_axis_14" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="axis" id="5" dead_zone="0" multiplier="0.008" exponent="1.00" shape="Circle"/>
        </axis>
      </axis_map>
    </configuration>
  </controller>
</root>
Haptic core has source haptic_source_rumble for device 054c:0268
Haptic core has sink haptic_sink_ds4 for joystick 0 (PS4 Controller)
FFB invert: no
FFB gain: rumble=100
0 1266874120.408969, down (255)
0 1266874120.589023
0 1266874120.869134, up (255)
0 1266874121.049226
0 1266874121.259331, circle (255)
0 1266874121.429442
0 1266874121.689478, circle (255)
0 1266874121.849531
0 1266874122.009593, circle (255)
0 1266874122.189672
0 1266874122.720341, circle (255)
0 1266874122.870496
0 1266874123.150663, triangle (255)
0 1266874123.300721
0 1266874123.520832, triangle (255)
0 1266874123.660906
0 1266874123.881014, triangle (255)
0 1266874124.001066
0 1266874124.221178, triangle (255)
0 1266874124.361292
0 1266874128.983328, circle (255)
0 1266874129.123376
0 1266874129.353422, circle (255)
0 1266874129.473507
0 1266874129.653602, circle (255)
0 1266874129.783633
0 1266874130.874103, r2 (49)
0 1266874130.884137, r2 (149)
0 1266874130.894134, r2 (220)
0 1266874130.904126, r2 (255)
0 1266874131.064206, r2 (188)
0 1266874131.074201, r2 (137)
0 1266874131.084203, r2 (55)
0 1266874131.094204
0 1266874131.224253, l2 (14)
0 1266874131.234257, l2 (50)
0 1266874131.244257, l2 (156)
0 1266874131.254262, l2 (212)
0 1266874131.264259, l2 (255)
0 1266874131.404355, l2 (246)
0 1266874131.414350, l2 (213)
0 1266874131.424370, l2 (130)
0 1266874131.434374, l2 (82)
0 1266874131.444375, l2 (29)
0 1266874131.454424
src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask fExiting
ailed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

src/windows/gprio.c:105 restoreprocess: SetProcessAffinityMask failed with error: The parameter is incorrect.

User avatar
ckaiycool
Posts: 498
Joined: Thu Jul 10, 2014 8:16 pm
Location: Sweden

Re: DS4 button mapping wrong with new device

Post by ckaiycool »

Hey.
I tried opening the Config in GIMX Config but i can't see anything wrong with it.
Have you changed any buttonmapping/gamepad configuration in the game?
Have you assigned any special button mapping in the PS4 settings?

Make a new config and try again?
Beetlepig
Posts: 2
Joined: Mon Dec 02, 2024 9:50 pm

Re: DS4 button mapping wrong with new device

Post by Beetlepig »

For some reason it seems that when the adapter is going between different machines, it causes issues. I've managed to isolate the process to just run on one computer.

However, when playing games, the inputs don't seem to be picked up some of the time. Like it'll be running fine, and then all inputs will not go through for a few seconds. The logs themselves don't seem to have any glaring issues. Do you know what might cause this, as it's been an issue on both machines I've tried?

I've attached a link to my gameplay recording (https://drive.google.com/file/d/1BAAIOs ... sp=sharing), the point at which the player stops moving completely is when the inputs cut out, I was pressing buttons at the time but to no avail.
User avatar
ckaiycool
Posts: 498
Joined: Thu Jul 10, 2014 8:16 pm
Location: Sweden

Re: DS4 button mapping wrong with new device

Post by ckaiycool »

Very strange.
I suppose that you are running windows 10 on both machines?

Try downloading the latest CP210x driver https://www.silabs.com/developer-tools/ ... cp-drivers
If you haven't i suggest you download the latest chipset driver for your computer.
Sound like timeout issue.

After installing drivers, check that no timeout is set on the USB devices in Power Options for windows.
Post Reply