Homepage Forums RetroPie Project Everything else related to the RetroPie Project xbox joystick doesn't work in LIBRETRO

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #82695
    kykkus
    Participant

    Hi, i have xbox 360 joystick as keyboard.
    Joystick in:
    EMULATIONSTATION works.
    GBA works (gpsp).
    MAME works.
    XBMC works.
    LIBRETRO EMULATORS doesn’t work.

    I noticed that in snes, nes, gbc, gb,psx, mastersystem (Libretro) joystick (set as keyboard) doesn’t work.
    When i use joystick #1 (set as joystick) works.
    Keyboard works in all emulators.
    Joystick #2 (set as joystick) works in all emulators.

    What can i do?

    rc.local

    xboxdrv --daemon --wid 0 --config /home/pi/.input/xboxdrv_mapping.ini --next-controller --wid 1 --config /home/pi/.input/xboxdrv_mapping2.ini --dbus disabled &
    xboxdrv_mapping.ini

    # Configuration 1 Player
    # ==================
    
    [xboxdrv]
    led = 2
    trigger-as-button = true
    silent = true
    deadzone = 4000
    extra-devices = false
    deadzone = 4000
    priority = realtime
    four-way-restrictor = true
    
    [ui-buttonmap]
    # Face buttons
    A = KEY_ENTER
    B = KEY_BACKSPACE
    x = KEY_SPACE
    y = KEY_X
    
    # Start / Back buttons
    back = KEY_L
    guide = KEY_ESC
    start = KEY_I
    
    # Bumper Left / Right
    LB = KEY_Q
    RB = KEY_C
    
    # Stick buttons
    TL = BTN_RIGHT
    TR = BTN_LEFT
    
    # Triggers Right / Left
    RT = KEY_EQUAL
    LT = KEY_MINUS
    
    [ui-axismap]
    y1 = KEY_UP:KEY_DOWN
    x1 = KEY_LEFT:KEY_RIGHT
    x2 = REL_X:10
    y2 = REL_Y:10
    
    # XBMC BUG SOLVE
    LT^resp:127:255=ABS_Z
    RT^resp:127:255=ABS_RZ
    
    [axismap]
    DPAD_X = X1
    -DPAD_Y = Y1
    
    # EOF #

    xboxdrv_mapping2.ini

    # Configuration 2 Player
    # ==================
    
    [xboxdrv]
    led = 3
    trigger-as-button = true
    silent = true
    deadzone = 4000
    extra-devices = false
    deadzone = 4000
    priority = realtime
    four-way-restrictor = true
    
    [axismap]
    DPAD_X = X1
    -DPAD_Y = Y1
    
    # EOF #
Viewing 1 post (of 1 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.