PS4 Button dont work

Need help? Ask here and someone will help
Post Reply
HeulendeSusi
Posts: 3
Joined: Sun Jul 01, 2018 8:38 am

PS4 Button dont work

Post by HeulendeSusi » Sun Jul 01, 2018 8:43 am

Hello

i build my own GIMX with a Arduino Micro Pro and correct firmware but when try to start it doesnt work

Code: Select all

global option -l with value `log.txt'
global option -c with value `Dualshock4.xml'
controller #1: option -p with value `COM7'
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.6 x86_64
Windows 10 (or later) x64
Kernel version: 10.0 (17134)
GIMX adapter detected, controller type is: DS4.
found pass-through device 0x054c:0x09cc
Timer resolution: min=156250 max=5000 current=4960
rounding timer period to 992
registered joystick 0 with name "PS4 Controller"
using default refresh period: 10.00ms
mouse 0 has name 'HID-konforme Maus' and virtual id 0
keyboard 0 has name 'HID-Tastatur' and virtual id 0
keyboard 1 has name 'HID-Tastatur' and virtual id 1
joystick 0 has name 'PS4 Controller' and virtual id 0
Dump of C:\Users\HeulendeSusi\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:05c4
No haptic sink found for joystick 0 (PS4 Controller)
Press the PS button to activate the controller.
rounding timer period to 9920
0 1530434056.875282, lstick x (-5), lstick y (4), rstick x (-2), rstick y (-2)
0 1530434059.543263, lstick x (-5), lstick y (4), rstick x (-2), rstick y (-2), PS (255)
0 1530434062.729276, lstick x (-5), lstick y (4), rstick x (-2), rstick y (-2)
Exiting
libusb_transfer failed with status LIBUSB_TRANSFER_ERROR (endpoint=0x00)

User avatar
Matlo
Posts: 5055
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS4 Button dont work

Post by Matlo » Sun Jul 01, 2018 12:17 pm

Hello,

Did you check the USB cables? Did you make sure to turn off the Dualshock 4 before connecting it to the computer?
GIMX creator Donate Shop

HeulendeSusi
Posts: 3
Joined: Sun Jul 01, 2018 8:38 am

Re: PS4 Button dont work

Post by HeulendeSusi » Sun Jul 01, 2018 6:06 pm

yes i turn off the controller before i connect and "start" i testet a lot off cables

with log Option

src/windows/gprio.c:26 gprio: failed to set priority class

User avatar
Matlo
Posts: 5055
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: PS4 Button dont work

Post by Matlo » Mon Jul 02, 2018 6:44 pm

What happens if you plug both ends of the adapter to the computer?
Does a new device appear in the device manager?
GIMX creator Donate Shop

HeulendeSusi
Posts: 3
Joined: Sun Jul 01, 2018 8:38 am

Re: PS4 Button dont work

Post by HeulendeSusi » Tue Jul 10, 2018 3:42 pm

i testet a other micro Pro and its works :)

Post Reply