Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Can't get Xbox controller working in FBA, but works fine in Emulation Station  (Read 1394 times)

0 Members and 1 Guest are viewing this topic.

G0nz0uk

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:May 31, 2015, 11:25:31 am
  • I want to build my own arcade controls!
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.

yotsuya

  • Trade Count: (+21)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18835
  • Last login:Today at 01:31:55 pm
  • 2014 UCA Winner, 2014, 2015, 2016 ZapCon Winner
    • forum.arcadecontrols.com/index.php/topic,137636.msg1420628.html
Have you asked at the Retropie forums?
***Build what you dig, bro. Build what you dig.***