Build Your Own Arcade Controls Forum

Main => Raspberry Pi & Dev Board => Topic started by: G0nz0uk on May 10, 2015, 04:42:26 am

Title: Can't get Xbox controller working in FBA, but works fine in Emulation Station
Post by: G0nz0uk on May 10, 2015, 04:42:26 am
I have a Pi 2 using Retropie 3.0 beta 2.

I have an Xbox 360 wireless controller which I have configured using a great video from Floob. (I think this site should have a section for all videos, even if just links)


And this link


The controller works well in Emulationstation, but doesn’t work in FBA, Mame or snes.

Is there an extra step for FBS etc?

sudo nano XboxGamepad\(userspacedriver\).cfg

Shows this

input_device = “Xbox Gamepad (userspace driver)”
input_driver = “udev”
input_b_btn = “1”
input_y_btn = “3”
input_select_btn = “8”
input_start_btn = “9”
input_up_btn = “h0up”
input_down_btn = “h0down”
input_left_btn = “h0left”
input_right_btn = “h0right”
input_a_btn = “0”
input_x_btn = “2”
input_l_btn = “4”
input_r_btn = “5”
input_l2_btn = “6”
input_r2_btn = “7”
input_l3_btn = “11”
input_r3_btn = “12”
input_l_x_plus_axis = “+0″
input_l_x_minus_axis = “-0″
input_l_y_plus_axis = “+1″
input_l_y_minus_axis = “-1″
input_r_x_plus_axis = “+2″
input_r_x_minus_axis = “-2″
input_r_y_plus_axis = “+3″
input_r_y_minus_axis = “-3″
input_enable_hotkey_btn = “8”
input_exit_emulator_btn = “9”
input_menu_toggle_btn = “2”
input_load_state_btn = “4”
input_save_state_btn = “5”
input_reset_btn = “1”
input_state_slot_increase_btn = “h0right”
input_state_slot_decrease_btn = “h0left”
input_enable_hotkey_btn = “8”
input_exit_emulator_btn = “9”

In fba2x.cfg it matches….??

[Joystick]
# Get codes from “jstest /dev/input/js0″
# from package “joystick”
A_1=0
B_1=1
X_1=2
Y_1=3
L_1=4
R_1=6
START_1=9
SELECT_1=8
#Joystick axis
JA_LR=0
JA_UD=1

Confused now as this looks ok.
Title: Re: Can't get Xbox controller working in FBA, but works fine in Emulation Station
Post by: yotsuya on May 11, 2015, 12:18:00 am
Have you asked at the Retropie forums?