Button assignments are not transmitted (DIY, PS4)

Need help? Ask here and someone will help
Post Reply
toby_gee
Posts: 3
Joined: Sat Mar 02, 2019 4:29 pm

Button assignments are not transmitted (DIY, PS4)

Post by toby_gee »

Hey guys.

I built the DIY USB adapter, installed the GIMX software and flashed the device. The firmware was installed successfully and I connected the adapter to both the console (PS4) and the computer (following the guide on your website). Then I plugged the PS4 controller into my computer (the controller was turned off).
I selected a profile (PS4_Battlefield1_Godlike) and the check was okay (just the Info 'A device name is empty. Multiple mice and keyboards are not managed.'.

Problem:
When I hit 'start' there is no error message whatsoever, but I can hear the sound on my pc that a USB device is removed.
When I press the button on my keyboard (backspace in this case) for the PS-button, nothing on my PS4 happens. When I exit the capturing, I can hear the sound that a USB device is plugged in again.

The log shows that the PS-button is pressed, but nothing happens on the playstation.

I tried:
- using different USB-cables, both connections (adapter -> PS4, as well as computer -> controller)
- reinstalling the GIMX software
- making sure everything is connected/wired properly
- using different profiles
- pressing the button for several seconds
- updating/reflashing the microcontroller
- restarting the computer after installing the software

More information:
- The pins are soldered properly to the board.
- GIMX software is up-to-date
- PS4 controller is one of the first generation, I tried a brand new one as well

Thank you in advance

https://imgur.com/QNlV37c
https://imgur.com/ncB3KI6
https://imgur.com/Ckav9VB

Code: Select all

global option -l with value `log.txt'
global option -c with value `PS4_Battlefield1_Godlike.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 7.10 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (17134)
GIMX adapter detected, controller type is: DS4.
found pass-through device 0x054c:0x05c4
Timer resolution: min=156250 max=5000 current=4991
rounding timer period to 998
registered joystick 0 with name "PS4 Controller"
using default refresh period: 10.00ms
mouse 0 has name 'HID-compliant mouse' and virtual id 0
mouse 1 has name 'HID-compliant mouse' and virtual id 1
keyboard 0 has name 'HID Keyboard Device' and virtual id 0
keyboard 1 has name 'HID Keyboard Device' and virtual id 1
keyboard 2 has name 'HID Keyboard Device' and virtual id 2
keyboard 3 has name 'HID Keyboard Device' and virtual id 3
joystick 0 has name 'PS4 Controller' and virtual id 0
Dump of C:\Users\Tobias\AppData\Roaming/gimx/config/PS4_Battlefield1_Godlike.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="3600" type="DS4">
    <configuration id="1">
      <trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_16" label="Melee">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="v"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_14" label="Shoot">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_13" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_12" label="Last weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_11" label="Grenade">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="g"/>
        </button>
        <button id="abs_axis_10" label="Reload/Use">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_8" label="Duck">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LCTRL"/>
        </button>
        <button id="abs_axis_7" label="Secondary Weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="f"/>
        </button>
        <button id="abs_axis_6" label="D-Pad Left">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_5" label="D-Pad Down">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_4" label="D-Pad Right">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_3" label="D-Pad Up">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
        <button id="abs_axis_1" label="Start">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKQUOTE"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="TAB"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="15"/>
        </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_10" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="2"/>
        </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_8" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="1"/>
        </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_15" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="7"/>
        </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_6" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="13"/>
        </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_1" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="6"/>
        </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_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_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="1" multiplier="8.05" exponent="0.60" shape="Circle"/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="1" multiplier="7.32" exponent="0.60" shape="Circle"/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </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=""/>
        </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=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
    <configuration id="2">
      <trigger type="mouse" id="0" name="" button_id="BUTTON_RIGHT" switch_back="yes" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_16" label="Melee">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="v"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_14" label="Shoot">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_13" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_12" label="Last weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_11" label="Grenade">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="g"/>
        </button>
        <button id="abs_axis_10" label="Reload/Use">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_8" label="Duck">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LCTRL"/>
        </button>
        <button id="abs_axis_7" label="Secondary Weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="f"/>
        </button>
        <button id="abs_axis_6" label="D-Pad Left">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_5" label="D-Pad Down">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_4" label="D-Pad Right">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_3" label="D-Pad Up">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
        <button id="abs_axis_1" label="Start">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKQUOTE"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="TAB"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="15"/>
        </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_10" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="2"/>
        </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_8" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="1"/>
        </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_15" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="7"/>
        </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_6" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="13"/>
        </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_1" label="">
          <device type="joystick" id="0" name="PS4 Controller"/>
          <event type="button" id="6"/>
        </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_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_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="1" multiplier="6.38" exponent="0.58" shape="Circle"/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="1" multiplier="6.38" exponent="0.58" shape="Circle"/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </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=""/>
        </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=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
  </controller>
</root>Warning: A device name is empty. Multiple mice and keyboards are not managed.
Press the PS button to activate the controller.
rounding timer period to 9982
0 1551544041.770694
0 1551544044.681001, PS (255)
0 1551544045.154978
0 1551544046.798024, l3 (255)
Exiting
toby_gee
Posts: 3
Joined: Sat Mar 02, 2019 4:29 pm

Re: Button assignments are not transmitted (DIY, PS4)

Post by toby_gee »

Okay I figured it has to be related to the connection from the board to the playstation, so I bought a new micro-USB cable.
It fixed the problem, but now I ran into another issue.

The adapter works fine for a while, but sometimes it jumps out of the application and loses its focus.
As a result, the process stops and I have to click on start again for the adapter to work.

I closed all other applications in the background, it still loses the focus.
It only happens sometimes when I right- or leftclick with the mouse.

In another thread I read that the screen resolution might be an issue (I do have a widescreen monitor), so I changed that to 1920x1080. Still the same.
User avatar
kaiba_seto2004
Posts: 553
Joined: Sat Jul 15, 2017 9:15 am

Re: Button assignments are not transmitted (DIY, PS4)

Post by kaiba_seto2004 »

My friends sometimes face to this problem too. It just lost focus and need to be started again.
Try with input mode elevated privileges or window events.
PS4 enthusiast.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Button assignments are not transmitted (DIY, PS4)

Post by Matlo »

Please post a new log file for the mouse capture issue. Make sure to get the issue while generating the log file. If it's too big to be posted here, please keep only the first 100 lines and the last 100 lines.
GIMX creator
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Button assignments are not transmitted (DIY, PS4)

Post by Matlo »

Maybe an inadvertent alt + tab press?
GIMX creator
toby_gee
Posts: 3
Joined: Sat Mar 02, 2019 4:29 pm

Re: Button assignments are not transmitted (DIY, PS4)

Post by toby_gee »

No I did not press Alt + Tab.
I did not have time to deal with the issue within the recent days.
So today when I connected everything I ran into another issue:

When I hit the right mouse button (to aim), it recognizes the button and does what it's supposed to do (press R1).
But it 'freezes' this signal, so it just keeps holding R1 in this case.
Every other button works fine, it is just the right mouse button that does not work any more after being pressed once.

Log file:

Code: Select all

global option -l with value `log.txt'
global option -c with value `PS4_Apex_1.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
GIMX 7.10 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (17134)
GIMX adapter detected, controller type is: DS4.
found pass-through device 0x054c:0x05c4
Timer resolution: min=156250 max=5000 current=4991
rounding timer period to 998
registered joystick 0 with name "PS4 Controller"
using default refresh period: 10.00ms
mouse 0 has name 'HID-compliant mouse' and virtual id 0
mouse 1 has name 'HID-compliant mouse' and virtual id 1
keyboard 0 has name 'HID Keyboard Device' and virtual id 0
keyboard 1 has name 'HID Keyboard Device' and virtual id 1
keyboard 2 has name 'HID Keyboard Device' and virtual id 2
keyboard 3 has name 'HID Keyboard Device' and virtual id 3
joystick 0 has name 'PS4 Controller' and virtual id 0
Dump of C:\Users\Tobias\AppData\Roaming/gimx/config/PS4_Apex_1.xml:
<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="6400" type="DS4">
    <configuration id="1">
      <trigger type="joystick" id="0" name="PS4 Controller" button_id="5" switch_back="no" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
        <button id="abs_axis_1" label="Start">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKQUOTE"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="TAB"/>
        </button>
        <button id="abs_axis_11" label="Shoot">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_7" label="Last weapon">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELDOWN"/>
        </button>
        <button id="abs_axis_8" label="Duck">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LALT"/>
        </button>
        <button id="abs_axis_10" label="Reload/Use">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_X1"/>
        </button>
        <button id="abs_axis_13" label="Ping">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_14" label="Ability">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_4" label="Grenade">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_3" label="heal">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="f"/>
        </button>
        <button id="abs_axis_12" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="15" multiplier="5.52" exponent="0.75" shape="Circle"/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="15" multiplier="6.00" exponent="0.95" shape="Circle"/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
    <configuration id="2">
      <trigger type="mouse" id="0" name="" button_id="BUTTON_RIGHT" switch_back="yes" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_16" label="Melee">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="v"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_14" label="Shoot">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_13" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_12" label="Ability 2">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="g"/>
        </button>
        <button id="abs_axis_11" label="Ability 1">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_10" label="Reload/Use">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_8" label="Duck">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LCTRL"/>
        </button>
        <button id="abs_axis_7" label="Secondary weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="f"/>
        </button>
        <button id="abs_axis_6" label="D-Pad Left">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_5" label="D-Pad Down">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_4" label="D-Pad Right">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_3" label="D-Pad Up">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
        <button id="abs_axis_1" label="Start">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKQUOTE"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="TAB"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="19" multiplier="8.52" exponent="0.55" shape="Circle"/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="19" multiplier="6.00" exponent="0.55" shape="Circle"/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
    <configuration id="3">
      <trigger type="joystick" id="0" name="PS4 Controller" button_id="5" 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_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=""/>
        </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=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
  </controller>
</root>
Warning: A device name is empty. Multiple mice and keyboards are not managed.
Haptic core has source haptic_source_rumble for device 054c:05c4
No haptic sink found for joystick 0 (PS4 Controller)
Press the PS button to activate the controller.
rounding timer period to 9982
0 1552667200.707171, PS (255)
0 1552667200.787528
0 1552667204.652849, rstick x (21)
0 1552667204.662846, rstick x (46)
0 1552667204.672843, rstick x (80), rstick y (-13)
0 1552667204.682840, rstick x (92), rstick y (-13)
0 1552667204.692837, rstick x (92)
0 1552667204.702834, rstick x (97), rstick y (-6)
0 1552667204.712830, rstick x (108), rstick y (-13)
0 1552667204.722827, rstick x (120), rstick y (-6)
0 1552667204.732824, rstick x (136), rstick y (-6)
0 1552667204.742820, rstick x (147)
0 1552667204.752812, rstick x (147)
0 1552667204.762814, rstick x (130)
0 1552667204.772811, rstick x (108), rstick y (6)
0 1552667204.782808, rstick x (92)
0 1552667204.792804, rstick x (81)
0 1552667204.802802, rstick x (75)
0 1552667204.812787, rstick x (69), rstick y (7)
0 1552667204.822780, rstick x (34)
0 1552667204.832796, rstick x (21)
0 1552667204.842864
0 1552667205.303493 controller 0 is switched from profile 0 to 1
0 1552667205.303493, r1 (255)
0 1552667205.383485 controller 0 is switched from profile 1 to 0
0 1552667205.383485, r1 (255)
0 1552667206.355103, l1 (255), r1 (255)
0 1552667206.555536, r1 (255)
0 1552667207.056051 controller 0 is switched from profile 0 to 1
0 1552667207.056051, r1 (255)
0 1552667207.166392 controller 0 is switched from profile 1 to 0
0 1552667207.166392, r1 (255)
0 1552667207.326629 controller 0 is switched from profile 0 to 1
0 1552667207.326629, r1 (255)
0 1552667207.426684 controller 0 is switched from profile 1 to 0
0 1552667207.426684, r1 (255)
0 1552667207.546774 controller 0 is switched from profile 0 to 1
0 1552667207.546774, r1 (255)
0 1552667207.626840 controller 0 is switched from profile 1 to 0
0 1552667207.626840, r1 (255)
0 1552667207.736997 controller 0 is switched from profile 0 to 1
0 1552667207.736997, r1 (255)
0 1552667207.836992 controller 0 is switched from profile 1 to 0
0 1552667207.836992, r1 (255)
0 1552667207.947051 controller 0 is switched from profile 0 to 1
0 1552667207.947051, r1 (255)
0 1552667208.037501 controller 0 is switched from profile 1 to 0
0 1552667208.037501, r1 (255)
0 1552667208.137565 controller 0 is switched from profile 0 to 1
0 1552667208.137565, r1 (255)
0 1552667208.237618 controller 0 is switched from profile 1 to 0
0 1552667208.237618, r1 (255)
0 1552667208.337967 controller 0 is switched from profile 0 to 1
0 1552667208.337967, r1 (255)
0 1552667208.428081 controller 0 is switched from profile 1 to 0
0 1552667208.428081, r1 (255)
0 1552667208.538103 controller 0 is switched from profile 0 to 1
0 1552667208.538103, r1 (255)
0 1552667208.628423 controller 0 is switched from profile 1 to 0
0 1552667208.628423, r1 (255)
0 1552667209.618923, r1 (255), l3 (255)
Exiting
As you can see, it says
controller 0 is switched from profile 1 to 0
when I press right mouse button again:
controller 0 is switched from profile 0 to 1

It keeps switching these profiles, whatever that means?
User avatar
kaiba_seto2004
Posts: 553
Joined: Sat Jul 15, 2017 9:15 am

Re: Button assignments are not transmitted (DIY, PS4)

Post by kaiba_seto2004 »

It related to profile switch - Hip fire sensitivity and ADS sensitivity. In default RIGHT MOUSE BUTTON is the switch profile button. When you aim with ADS (press and hold right mouse button), profile 1 will be activated. Then when you release right mouse button, profile 1 will switch back to profile 0.

So what you need to do is remove switch profile button and (or) delete profile.
Please test this config:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<root>
  <controller id="1" dpi="6400" type="DS4">
    <configuration id="1">
      <trigger type="joystick" id="0" name="PS4 Controller" button_id="5" switch_back="no" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
        <button id="abs_axis_1" label="Start">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKQUOTE"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="TAB"/>
        </button>
        <button id="abs_axis_11" label="Shoot">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_7" label="Last weapon">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_WHEELDOWN"/>
        </button>
        <button id="abs_axis_8" label="Duck">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LALT"/>
        </button>
        <button id="abs_axis_10" label="Reload/Use">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_X1"/>
        </button>
        <button id="abs_axis_13" label="Ping">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_14" label="Ability">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_4" label="Grenade">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_3" label="heal">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="f"/>
        </button>
        <button id="abs_axis_12" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="15" multiplier="5.52" exponent="0.75" shape="Circle"/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="15" multiplier="6.00" exponent="0.95" shape="Circle"/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
    <configuration id="2">
      <trigger type="" id="" name="" button_id="" switch_back="no" delay="0"/>
      <mouse_options_list>
        <mouse name="" id="0" mode="Aiming" buffer_size="1" filter="0.00"/>
      </mouse_options_list>
      <intensity_list/>
      <button_map>
        <button id="abs_axis_16" label="Melee">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="v"/>
        </button>
        <button id="abs_axis_15" label="Sprint">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LSHIFT"/>
        </button>
        <button id="abs_axis_14" label="Shoot">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_LEFT"/>
        </button>
        <button id="abs_axis_13" label="Aim">
          <device type="mouse" id="0" name=""/>
          <event type="button" id="BUTTON_RIGHT"/>
        </button>
        <button id="abs_axis_12" label="Ability 2">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="g"/>
        </button>
        <button id="abs_axis_11" label="Ability 1">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="e"/>
        </button>
        <button id="abs_axis_10" label="Reload/Use">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="r"/>
        </button>
        <button id="abs_axis_9" label="Jump">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="SPACE"/>
        </button>
        <button id="abs_axis_8" label="Duck">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="LCTRL"/>
        </button>
        <button id="abs_axis_7" label="Secondary weapon">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="f"/>
        </button>
        <button id="abs_axis_6" label="D-Pad Left">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="1"/>
        </button>
        <button id="abs_axis_5" label="D-Pad Down">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="q"/>
        </button>
        <button id="abs_axis_4" label="D-Pad Right">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="3"/>
        </button>
        <button id="abs_axis_3" label="D-Pad Up">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="2"/>
        </button>
        <button id="abs_axis_2" label="PS">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKSPACE"/>
        </button>
        <button id="abs_axis_1" label="Start">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="RETURN"/>
        </button>
        <button id="abs_axis_0" label="Share">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="BACKQUOTE"/>
        </button>
        <button id="abs_axis_17" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="TAB"/>
        </button>
      </button_map>
      <axis_map>
        <axis id="rel_axis_3" label="Aiming - y axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="y" dead_zone="19" multiplier="8.52" exponent="0.55" shape="Circle"/>
        </axis>
        <axis id="rel_axis_2" label="Aiming - x axis">
          <device type="mouse" id="0" name=""/>
          <event type="axis" id="x" dead_zone="19" multiplier="6.00" exponent="0.55" shape="Circle"/>
        </axis>
        <axis id="rel_axis_0-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="a"/>
        </axis>
        <axis id="rel_axis_1+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="s"/>
        </axis>
        <axis id="rel_axis_0+" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="d"/>
        </axis>
        <axis id="rel_axis_1-" label="">
          <device type="keyboard" id="0" name=""/>
          <event type="button" id="w"/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
    <configuration id="3">
      <trigger type="joystick" id="0" name="PS4 Controller" button_id="5" 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_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=""/>
        </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=""/>
        </axis>
      </axis_map>
      <joystick_corrections_list/>
    </configuration>
  </controller>
</root>
PS4 enthusiast.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Button assignments are not transmitted (DIY, PS4)

Post by Matlo »

Profile trigger can be configured or deleted using gimx-config, in the "Overall" tab:
https://gimx.fr/wiki/index.php?title=Gi ... verall_tab
GIMX creator
Post Reply