Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Problem configuring joystick and buttons
Tagged: buttons, configuration, controls, ipac, joystick, retroarch, retroarch-joyconfig, ultimarc
- This topic has 2 replies, 2 voices, and was last updated 12 years, 5 months ago by
voltron2112.
-
AuthorPosts
-
05/18/2013 at 17:59 #1791
Jonathan Lundström
ParticipantHello!
I have an iPac VE with two joysticks and a lot of buttons connected.
I’m trying to configure the controls but I get an error using retroarch-joyconfig.I start by navigating to:
~/RetroPie/emulators/RetroArch/tools/Where I run this command:
./retroarch-joyconfig -o ~/RetroPie/configs/all/retroarch.cfgUnfortunately I don’t get anywhere and the only response I get back is this:
Couldn't open joystick #0I tried search for my issue but all topics are related to using an Xbox 360 controller, which I clearly am trying to use. It would be highly appreciated if anyone could help me get this running.
Also, I’ve tried adding an ampersand (&) to the command but that does not make things better.
Thanks in advance,
Jonathan05/25/2013 at 00:33 #1855voltron2112
ParticipantThis is what I would try. First type
jstest /dev/input/js0this will let you see what buttons are being pushed on the joystick, so write down what each button number is associated with, and the axis’s of your joystick.
ctrl-c exits the jstest
Now you need to edit /RetroPie/configs/all/retroarch.cfg manually with the correct button numbers you found using jstest. Here is an example of mine. The last two lines are so I can press two buttons to exit the emulation.
input_player1_joypad_index = "0" input_player1_a_btn = "0" input_player1_b_btn = "1" input_player1_y_btn = "3" input_player1_x_btn = "2" input_player1_start_btn = "7" input_player1_select_btn = "6" input_player1_l_btn = "4" input_player1_r_btn = "5" input_player1_up_axis = "-1" input_player1_down_axis = "+1" input_player1_left_axis = "-0" input_player1_right_axis = "+0" #input_player1_l2_btn = #input_player1_r2_btn = #input_player1_l3_btn = #input_player1_r3_btn = input_player2_joypad_index = "1" input_player2_a_btn = "0" input_player2_b_btn = "1" input_player2_y_btn = "3" input_player2_x_btn = "2" input_player2_start_btn = "7" input_player2_select_btn = "6" input_player2_l_btn = "4" input_player2_r_btn = "5" input_player2_up_axis = "-1" input_player2_down_axis = "+1" input_player2_left_axis = "-0" input_player2_right_axis = "+0" #input_player2_l2_btn = #input_player2_r2_btn = #input_player2_l3_btn = #input_player2_r3_btn = input_enable_hotkey_btn = "6" input_exit_emulator_btn = "7"Attached is the full configuration file in case yours was blank like mine was. Good Luck
05/25/2013 at 00:35 #1856voltron2112
ParticipantApparently you can’t upload .cfg files. Here it is in .txt form.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.