• This topic has 1 reply, 2 voices, and was last updated 10 years ago by ex.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #82754
    Anonymous
    Inactive

    Okay this one has me stumped, maybe I just can’t see something in the config.

    [Keyboard]
    # Get codes from /usr/include/SDL/SDL_keysym.h
    A_1=306
    B_1=32
    X_1=308
    Y_1=304
    L_1=122
    R_1=120
    START_1=13
    SELECT_1=9
    LEFT_1=276
    RIGHT_1=275
    UP_1=273
    DOWN_1=274
    QUIT=27
    #player 2 keyboard controls, disabled by default
    A_2=999
    B_2=999
    X_2=999
    Y_2=999
    L_2=999
    R_2=999
    START_2=999
    SELECT_2=999
    LEFT_2=999
    RIGHT_2=999
    UP_2=999
    DOWN_2=999
    
    [Joystick]
    # Get codes from "jstest /dev/input/js0"
    # from package "joystick"
    input_player1_joypad_index = 0
    input_driver = "udev"
    A_1=2
    B_1=0
    X_1=3
    Y_1=1
    L_1=4
    R_1=6
    START_1=7
    SELECT_1=6
    #Joystick axis
    JA_LR_1=0
    JA_UD_1=1
    #player 2 button configuration
    input_player1_joypad_index = 1
    input_driver = "udev"
    A_2=2
    B_2=0
    X_2=3
    Y_2=1
    L_2=4
    R_2=6
    START_2=7
    SELECT_2=6
    #Joystick axis
    JA_LR_2=0
    JA_UD_2=1
    
    [Graphics]
    DisplaySmoothStretch=1
    # Display Effect: 0 none, 1 scanlines
    DisplayEffect=0
    DisplayBorder=0
    MaintainAspectRatio=1
    
    [Sound]
    

    When you play as player 1 you get Neogeo doing whatever the hell it wants with the joypad in say Metal Slug, when you join in as player two with the same config the proper button mapping works! Am I blind?

    #82868
    ex
    Participant

    Pretty sure your problem is due to this:

    [Joystick]
    # Get codes from "jstest /dev/input/js0"
    # from package "joystick"
    input_player1_joypad_index = 0
    #player 2 button configuration
    input_player1_joypad_index = 1

    You have both configs set as player 1. Change one to player 2.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.