Homepage Forums RetroPie Project Everything else related to the RetroPie Project Strange issues with bluetooth 8bitdo controllers

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #82119
    spikespiegel
    Participant

    Hi,

    I have two bluetooth controllers from 8bitdo (NES30 and FC30). All seems working great until i tried to configure the second gamepad (FC30).
    I have configured my gamepad with retroarch-joyconfig tool, but ingame when i moved second dpad it is moving the first player instead of second :/ Otherwise buttons seems working good, not the dpad.

    So i started to investigating, bellow the listing of all the strange things i have found:
    – no need to configure dpad in emulationstation, i can move from system to another without configuration. Only buttons are configured.
    – no matter what configuration i use for my dpad, player one move correctly (like emulationstation no need to configure ?)
    – in terminal my two dpad are acting like the arrow keys of the keyboard, accessing the command history and moving the cursor left/right.
    – when retroarch is closed, i see some instructions into terminal.
    – my controlers are recognized as /dev/input/js0 and /dev/input/js1, with jstest tool buttons are recognized correctly, but not axis (gamepad 1 and 2). Moving dpad as no effect.

    So it’s seems that the dpad of the two controlers, are acting like a keyboard (direction arrows), that’s why it always moved the first player.

    So did i miss something ? thanks for your help.

    Regards

    #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.

    #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!

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