Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Strange issues with bluetooth 8bitdo controllers #82548
    spikespiegel
    Participant

    Hi,

    Just for information, the answer is here: http://www.nes30.com/firmware.html
    New firmware (2.5) solved my problem, now dapd is recognized as dpad not keyboard.
    No more issues with two players!

    Good luck!

    in reply to: Strange issues with bluetooth 8bitdo controllers #82292
    spikespiegel
    Participant

    Hi,

    Some fresh news, someone help me to fix the problem with retroarch.

    This is my configuration for two players:
    – into retroarch.cfg from /opt/retropie/configs/all (disable keyboard directions):

    input_player1_left = "nul"
    input_player1_right = "nul"
    input_player1_up = "nul"
    input_player1_down = "nul"

    – into retroarch.cfg, (example:snes) /opt/retropie/configs/snes:

    input_driver = "udev"
    
    input_enable_hotkey_btn = "21"
    input_exit_emulator_btn = "22"
    
    input_player1_joypad_index = "0"
    input_player1_b_btn = "12"
    input_player1_y_btn = "15"
    input_player1_select_btn = "21"
    input_player1_start_btn = "22"
    input_player1_up_btn = "0"
    input_player1_down_btn = "5"
    input_player1_left_btn = "2"
    input_player1_right_btn = "3"
    input_player1_a_btn = "11"
    input_player1_x_btn = "14"
    input_player1_l_btn = "17"
    input_player1_r_btn = "18"
    input_player1_left_axis = "-0"
    input_player1_right_axis = "+0"
    input_player1_up_axis = "-1"
    input_player1_down_axis = "+1"
    
    input_player2_joypad_index = "1"
    input_player2_b_btn = "12"
    input_player2_y_btn = "15"
    input_player2_select_btn = "13"
    input_player2_start_btn = "22"
    input_player2_up_btn = "0"
    input_player2_down_btn = "5"
    input_player2_left_btn = "2"
    input_player2_right_btn = "3"
    input_player2_a_btn = "11"
    input_player2_x_btn = "14"
    input_player2_l_btn = "17"
    input_player2_r_btn = "18"
    input_player2_left_axis = "-0"
    input_player2_right_axis = "+0"
    input_player2_up_axis = "-1"
    input_player2_down_axis = "+1"

    So now, keyboard no more causing troubles with the two gamepads.
    d-pad 1 (NES30) is moving player 1
    d-pad 2 (FC30) is moving player 2

    But i still have an issue with pifba which using ‘joystick’ api. I can’t configure dpad, it is associate with keyboard arrows and only moving player one:

    [Joystick]
    # Get codes from "jstest /dev/input/js0"
    # from package "joystick"
    A_1=0
    B_1=1
    X_1=3
    Y_1=4
    L_1=6
    R_1=7
    START_1=11
    SELECT_1=10
    #Joystick axis
    JA_LR=0
    JA_UD=1
    #player 2 button configuration
    A_2=0
    B_2=1
    X_2=3
    Y_2=4
    L_2=6
    R_2=7
    START_2=11
    SELECT_2=2
    #Joystick axis
    JA_LR_2=0
    JA_UD_2=1

    jstest tool recognize joystick as below:
    Driver version is 2.1.0.
    Joystick (8Bitdo NES30 GamePad) has 8 axes (X, Y, Z, Rz, Gas, Brake, Hat0X, Hat0Y)
    and 22 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR, ?, ?, ?, ?, (null), LeftBtn, RightBtn, MiddleBtn, SideBtn, ExtraBtn).
    Testing … (interrupt to exit)

    But when i am moving axes, there is no reaction…

    Into emulationtstation, when i try to configure gamepad, i have this message:
    INFO: The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <> EVDEV KeyCode 304

    So please help me (i am close from my initial goal).
    For information, i have made an article (in french) about retropie/emulationstation (http://www.open-consoles-news.com/2014/10/raspberry-pi-realiser-une-retro-gaming.html), so i’d like to finalize it for 2 players :)

    Thanks in advance.
    Regards.

Viewing 2 posts - 1 through 2 (of 2 total)