Recalbox Forum

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

    Controller paired in Bluetooth but no input

    GamePad/GPIO/USB encoder
    paired bluetooth input
    2
    2
    344
    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.
    • nerocide
      nerocide last edited by nerocide

      Hi,

      i recently bought a controller (generic Nintendo switch pro controler).

      Plugin it in using USB works perfectly, but when paired with bluetooth, i can't see any inputs.

      I'm using recalbox v 6.1.1 on a RPI3 & onboard BT.

      In USB

                      DEVICE
      
      I: Bus=0003 Vendor=045e Product=028e Version=0110
      N: Name="Microsoft X-Box 360 pad"
      P: Phys=usb-3f980000.usb-1.3/input0
      S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input4
      U: Uniq=
      H: Handlers=js0 event0
      B: PROP=0
      
      B: EV=20000b
      B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0
      B: ABS=3001b
      B: FF=1 7030000 0 0
      
                      DMESG
      
      [  206.911557] usb 1-1.3: new full-speed USB device number 8 using dwc_otg
      [  207.048311] usb 1-1.3: New USB device found, idVendor=045e, idProduct=028e
      [  207.048320] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
      [  207.048324] usb 1-1.3: Product: Controller
      [  207.048328] usb 1-1.3: Manufacturer: ZhiXu
      [  207.049298] input: Microsoft X-Box 360 pad as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input4
      
                     INPUT
      
      /dev/input/js0
      
                     EVENTS CAPTURE
      # sdl2-jstest -e 0
      Joystick Name:     'Microsoft X-Box 360 pad'
      Joystick Path:     '/dev/input/event0'
      Joystick GUID:     030000005e0400008e02000010010000
      Joystick Number:    0
      Number of Axes:     4
      Number of Buttons: 13
      Number of Hats:     1
      Number of B***s:    0
      GameController:
        not a gamepad
      Axis code  0:    0
      Axis code  1:    1
      Axis code  2:    3
      Axis code  3:    4
      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
      Hat code  0:   16
      
      Entering joystick test loop, press Ctrl-c to exit
      SDL_JOYDEVICEADDED which:0
      SDL_CONTROLLERDEVICEADDED which:0
      SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 0 code: 1
      SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 902 code: 1
      SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 7094 code: 1
      SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 14060 code: 1
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: 0 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -5289 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 22058 code: 1
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -9417 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 31604 code: 1
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -14835 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 32636 code: 1
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -24639 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -26703 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -25413 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -24639 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -23607 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -22575 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -21801 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -21285 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -21801 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -20511 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -13545 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: -129 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 7094 code: 1
      SDL_JOYAXISMOTION: joystick: 0 axis: 0 value: 0 code: 0
      SDL_JOYAXISMOTION: joystick: 0 axis: 1 value: 0 code: 1
      
      

      In Bluetooth

                      DEVICE
      
      I: Bus=0005 Vendor=057e Product=2009 Version=0001
      N: Name="Pro Controller"
      P: Phys=b8:27:eb:aa:99:b2
      S: Sysfs=/devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:057E:2009.0004/input/input5
      U: Uniq=98:b6:e9:e3:2b:54
      H: Handlers=js0 event0
      B: PROP=0
      B: EV=10001b
      B: KEY=ffff0000 0 0 0 0 0 0 0 0 0
      B: ABS=3001b
      B: MSC=10
      
                      DMESG
      
      [  299.092213] hid-generic 0005:057E:2009.0004: unknown main item tag 0x0
      [  299.092507] input: Pro Controller as /devices/platform/soc/3f201000.serial/tty/ttyAMA0/hci0/hci0:12/0005:057E:2009.0004/input/input5
      [  299.093951] hid-generic 0005:057E:2009.0004: input,hidraw0: BLUETOOTH HID v0.01 Gamepad [Pro Controller] on b8:27:eb:aa:99:b2
      
                      INPUT
      
      /dev/input/js0
      
                     EVENTS CAPTURE
      
      # sdl2-jstest -e 0
      Joystick Name:     'Pro Controller'
      Joystick Path:     '/dev/input/event0'
      Joystick GUID:     050000007e0500000920000001000000
      Joystick Number:    0
      Number of Axes:     4
      Number of Buttons: 16
      Number of Hats:     1
      Number of B***s:    0
      GameController:
        not a gamepad
      Axis code  0:    0
      Axis code  1:    1
      Axis code  2:    3
      Axis code  3:    4
      Button code  0:   304
      Button code  1:   305
      Button code  2:   306
      Button code  3:   307
      Button code  4:   308
      Button code  5:   309
      Button code  6:   310
      Button code  7:   311
      Button code  8:   312
      Button code  9:   313
      Button code 10:   314
      Button code 11:   315
      Button code 12:   316
      Button code 13:   317
      Button code 14:   318
      Button code 15:   319
      Hat code  0:   16
      
      Entering joystick test loop, press Ctrl-c to exit
      SDL_JOYDEVICEADDED which:0
      SDL_CONTROLLERDEVICEADDED which:0
      
      => no input at all
      
      

      One is seeing as a gamepad, not the other....
      I don't know what is missing, i've tried many things, like disabling other controlers driver (ps3 bluez), troubleshoot BT pairing, forcing pairing, but yet nothing worked.

      Any help is much appreciated.
      Thanks 😉

      1 Reply Last reply Reply Quote 0
      • wachino
        wachino last edited by

        Hello, I'm having the same issue. Did you find something?
        I can also see running sudo btmon that bluetooth events are being received, and they look just like with others gamepad controllers that are currently working fine.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Want to support us ?

        90
        Online

        90.3k
        Users

        26.3k
        Topics

        181.8k
        Posts

        Copyright © 2021 recalbox.com