Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Generic PS3 joysticks only works on EmulationStation when connected via USB cable

    GamePad/GPIO/USB encoder
    generic ps3 joysticks connected usb cable
    2
    4
    672
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tincho113
      Tincho113 last edited by

      Hi, I bought two generic PS3 joysticks and I can't pair them with the Raspberry Pi3 (which has recalbox latest version 7.2.2). I've tried connecting them using an USB cable for 10 seconds and then holding the PS button with no luck. I can navigate the EmulationStation menu but they don't work inside the games. I've also tried with the bluez, official and shanwan configurations.

      I used Putty to find out which clone they were, this is the result:

      sdl2-jstest --list

      error: failed to read gamecontrollerdb.txt: Invalid RWops
      Found 1 joystick(s)

      Joystick Name: 'PS3 Controller'
      Joystick Path: '/dev/input/event1'
      Joystick GUID: 030000004c0500006802000011810000
      Joystick Number: 0
      Number of Axes: 6
      Number of Buttons: 17
      Number of Hats: 0
      Number of B***s: 0
      GameControllerConfig:
      Name: 'PS3 Controller'
      Mapping: '030000004c0500006802000011810000,PS3 Controller,a:b0,b:b1,back:b8,dp down:b14,dpleft:b15,dpright:b16,dpup:b13,guide:b10,leftshoulder:b4,leftstick:b11 ,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b12,righttrigger:a 5,rightx:a3,righty:a4,start:b9,x:b3,y:b2,'
      Axis code 0: 0
      Axis code 1: 1
      Axis code 2: 2
      Axis code 3: 3
      Axis code 4: 4
      Axis code 5: 5
      Button code 0: 304
      Button code 1: 305
      Button code 2: 307
      Button code 3: 308
      Button code 4: 310
      Button code 5: 311
      Button code 6: 312
      Button code 7: 313
      Button code 8: 314
      Button code 9: 315
      Button code 10: 316
      Button code 11: 317
      Button code 12: 318
      Button code 13: 544
      Button code 14: 545
      Button code 15: 546
      Button code 16: 547

      Thanks!

      Zing 1 Reply Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator @Tincho113 last edited by

        @tincho113

        I used Putty to find out which clone they were, this is the result:

        You used the command to identify the buttons, to identify the correct driver the command is:
        dmesg

        Read the documentation:
        https://wiki.recalbox.com/en/tutorials/controllers/controllers/ps3-controllers-drivers

        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

        Tincho113 1 Reply Last reply Reply Quote 0
        • Tincho113
          Tincho113 @Zing last edited by Tincho113

          @zing thanks for replying. Sorry for my mistake, I'm new at this. I tried the dmesg command with one of the generic joysticks connected via USB and this is what I got. I don't know which part is important so I copied everything related to controllers I think.

          [ 28.049721] usb 1-1.3: Product: PS3 Controller
          [ 28.052192] usbhid 1-1.3:1.0: can't add hid device: -32
          [ 28.052242] usbhid: probe of 1-1.3:1.0 failed with error -32
          [ 28.129802] usb 1-1.3: USB disconnect, device number 5
          [ 28.943214] usb 1-1.3: new full-speed USB device number 6 using dwc_otg
          [ 29.080832] usb 1-1.3: New USB device found, idVendor=054c, idProduct=0268, b cdDevice= 5.72
          [ 29.080847] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber =0
          [ 29.080855] usb 1-1.3: Product: PS3 Controller
          [ 29.116093] input: PS3 Controller Motion Sensors as /devices/platform/soc/3f9 80000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:054C:0268.0001/input/input1
          [ 29.183778] input: PS3 Controller as /devices/platform/soc/3f980000.usb/usb1/ 1-1/1-1.3/1-1.3:1.0/0003:054C:0268.0001/input/input0
          [ 29.185007] sony 0003:054C:0268.0001: input,hiddev96,hidraw0: USB HID v81.11 Joystick [PS3 Controller] on usb-3f980000.usb-1.3/input0
          [ 76.556613] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
          [ 95.731617] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
          [ 136.773597] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
          [ 142.491866] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

          Zing 1 Reply Last reply Reply Quote 0
          • Zing
            Zing Global moderator Translator @Tincho113 last edited by

            @tincho113 Test with version 8.0 beta and report issues in this topic:
            https://forum.recalbox.com/topic/25351/recalbox-8-0-beta

            Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
            If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

            1 Reply Last reply Reply Quote 0
            • Locked by  admin admin 
            • First post
              Last post

            Want to support us ?

            77
            Online

            99.6k
            Users

            28.1k
            Topics

            187.1k
            Posts

            Copyright © 2021 recalbox.com