Homepage › Forums › RetroPie Project › Controller Configuration in RetroPie › Setting up all/retroarch.cfg
- This topic has 4 replies, 2 voices, and was last updated 9 years, 4 months ago by peanut.
-
AuthorPosts
-
07/19/2015 at 19:03 #102300peanutParticipant
On my previous raspberry installation I used to install all controls for /all/retroarch.cfg with the following usefull command.
sudo chown pi /opt/retropie/configs/all/retroarch.cfg cd /opt/retropie/emulators/RetroArch/installdir/bin sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg
but this code does not work in the latest 2.6 retropie image.
can someone help me use a similar command :(?
07/19/2015 at 19:25 #102302peanutParticipantI might have installed the wrong version of retropie :doh: will check if version 3 will help me out :E
07/19/2015 at 22:18 #102309peanutParticipantI was able to solve the issue in version 3. I’m using a dragon inc usb encoder and I have a joystick 6 buttons plus start and select.
for some reason though when I press down in a N64 (smashbrothers)
the character goes up…when I hold down it will ‘crouch aswell’
so right now 1 button is doing 2 actions.
my DragonRiseInc.GenericUSBJoystick.cfg has the following settings.
input_device = "DragonRise Inc. Generic USB Joystick " input_driver = "udev" input_b_btn = "3" input_y_btn = "0" input_select_btn = "6" input_start_btn = "7" input_up_axis = "-1" input_down_axis = "+1" input_left_axis = "-0" input_right_axis = "+0" input_a_btn = "1" input_x_btn = "4" input_l_btn = "2" input_r_btn = "5" input_l2_btn = "2" input_r2_btn = "5" input_l3_btn = "2" input_r3_btn = "5" 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 = "+0" input_r_x_minus_axis = "-0" input_r_y_plus_axis = "+1" input_r_y_minus_axis = "-1" input_enable_hotkey_btn = "6" input_exit_emulator_btn = "7" input_menu_toggle_btn = "4" input_load_state_btn = "2" input_save_state_btn = "5" input_reset_btn = "3" input_state_slot_increase_axis = "+0" input_state_slot_decrease_axis = "-0"
anyone know what can cause the issue?
07/20/2015 at 00:21 #102321deivParticipantI’ve got the same controller, and the joystick and the hatswitch are connected to the same axis
as we can see in your configuration
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 = “+0”
input_r_x_minus_axis = “-0”
input_r_y_plus_axis = “+1”
input_r_y_minus_axis = “-1”And i THINK (this i’m not sure at all) that mupen64plus has a tendancy to automatically link the right joypad of any controller with the c-button (like on Xbox controller).
That would mean that when you press down on the stick, the emulator see down and C-up, whitch makes your character jump in SSB.
Whatsoever you can check this by editing the n64 config file
sudo nano /opt/retropie/configs/n64/retroarch.cfg
07/20/2015 at 23:41 #102401peanutParticipantI noticed not only the up and down was different I also noticed when pressing left or right made the character jump up diagonally.
When installing my retroarch controller I had my d-pad, Analogstick and C-buttons overlap with eachother
If I remember correctly the c buttons on the N64 controller of the official game when pressed would give a diagonal jump in SSB. That could be a reason why the c buttons can’t overlap D-Pad and Analogstick directions.
I temporarily removed the following lines from my DragonRiseInc.GenericUSBJoystick.cfg
input_r_x_plus_axis = “+0″ input_r_x_minus_axis = “-0″ input_r_y_plus_axis = “+1″ input_r_y_minus_axis = “-1″
this has solved the SSB issue N64.
But here comes the actual problem:
Seeing I wanna play multiple N64 games with only one joystick and 8 buttons to my disposalI’d like to bind Analogstick with my select button to input the d-pad directions
And 4 of my arcade buttons in combination with select to input the c buttons
And bind B with select to input the z-trigger. Although I wonder how I can bind a ‘press and hold’ z-trigger :P
I wonder if anyone else has come up with a solution to this problem with let’s say a standard Snes controller ;P
-
AuthorPosts
- The forum ‘Controller Configuration in RetroPie’ is closed to new topics and replies.