Tribute 64 and A and B Binding to Same Key
-
@mitu I'll be honest and say it's the one from the home menu, but I'm not entirely sure which one's which, so I'm posting both.
retroarch.cfg # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/n64/" input_player1_joypad_index = "0" # input_player4_joypad_index = "" # input_player2_joypad_index = "" # input_player3_joypad_index = "" input_joypad_driver = "udev" # input_player8_analog_dpad_mode = "" # video_smooth = "" #include "/opt/retropie/configs/all/retroarch.cfg"```
The controller config I didn't keep after my
SWITCH CO.,LTD. Controller (Dinput).cfg input_driver = "udev" input_device = "SWITCH CO.,LTD. Controller (Dinput)" input_vendor_id = "9571" input_product_id = "1397" input_b_btn = "2" input_start_btn = "12" input_up_btn = "h0up" input_down_btn = "h0down" input_left_btn = "h0left" input_right_btn = "h0right" input_a_btn = "1" input_r_btn = "5" input_l2_btn = "6" input_r2_btn = "7" 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_btn = "9" input_r_x_minus_btn = "3" input_r_y_plus_btn = "0" input_r_y_minus_btn = "8"
I've also tested it by directly copying and replacing and saving the controller config, the one directly above, with the contents found here:
But it doesn't seem to have made any difference.
-
@krystalis said in Tribute 64 and A and B Binding to Same Key:
so I'm posting both.
Hm, you posted only the RetroArch configurations, these do not apply to the standalone
Mupen64plus
emulator, if you're using it. To determine which emulator you're using, check out the Runcommand launch menu splash dialog, it shows you the name of the emulator.I see that the auto-config configuration generated for RetroArch, A and B have different input codes, so there's no mapping error there.
Can you try and run a diagnostic command and see how Linux sees the input buttons ? Exit EmulationStation, make sure the N64 controller is the only one connected, then run
jstest /dev/input/js0
press the A/B buttons and see if they produce different results. You can stop the test by pressing
Ctrl+C
.EDIT: is this the controller in question (I ssume the one with the 'USB Port') ?
-
@mitu That's the one, yeah.
FWIW, I did the self test and the inputs seemed to respond just fine. If I only pressed one or the other, they responded correctly. If I pressed them both, they would both turn on.
I'll assume I'm using Mupen as a RA core because I haven't altered the install. I'm just using the basic stuff supplied for the emulator for testing purposes, and haven't installed anything extra.
Also, if you're curious, and forgive the potato TV taken with phone picture:
-
@krystalis said in Tribute 64 and A and B Binding to Same Key:
FWIW, I did the self test and the inputs seemed to respond just fine. If I only pressed one or the other, they responded correctly. If I pressed them both, they would both turn on.
That looks fine. Are you sure you're using the Libretro core to run the game ? Can you check the
ini
file I mentioned earlier and post its contents ? -
@mitu I was using the Libretro core. Though not entirely sure how to explain this, but goblins. I reflashed the image and I got the new Ozone RA UI which allowed me to download controller profiles and it was picked up as a Nintendo 64 USB device and it worked fine from there.
IDK, so long as its fixed itself.
-
Can you find the controller's
.cfg
file and compare to the you had before ? I'm curious what's the difference. -
@krystalis I had a problem with mapping my Tribute 64, but this sorted it out for me. It might be of help to you.
-
@mitu I believe this is the one. I modified it from the default profile RA gave me after updating all profiles, because C right and up were swapped, and so were Z, L and R.
input_driver = "udev" input_device = "SWITCH CO.,LTD. Controller (Dinput)" input_device_display_name = "Nintendo 64 USB Controller" input_vendor_id = "9571" input_product_id = "1397" input_b_btn = "1" input_y_btn = "2" input_a_btn = "2" input_up_btn = "h0up" input_down_btn = "h0down" input_left_btn = "h0left" input_right_btn = "h0right" input_l_btn = "6" input_r_btn = "7" input_l2_btn = "5" input_l_x_minus_axis = "-0" input_l_x_plus_axis = "+0" input_l_y_plus_axis = "+1" input_l_y_minus_axis = "-1" input_r_x_plus_btn = "9" input_r_x_minus_btn = "3" input_r_y_plus_btn = "0" input_r_y_minus_btn = "8" input_start_btn = "12" input_b_btn_label = "A" input_y_btn_label = "B" input_A_btn_label = "B" input_up_btn_label = "D-Pad Up" input_down_btn_label = "D-Pad Down" input_left_btn_label = "D-Pad Left" input_right_btn_label = "D-Pad Right" input_l_btn_label = "Left Shoulder" input_r_btn_label = "Right Shoulder" input_l2_btn_label = "Z Trigger" input_start_btn_label = "Start" input_l_x_minus_axis_label = "Analog Left" input_l_x_plus_axis_label = "Analog Right" input_l_y_plus_axis_label = "Analog Down" input_l_y_minus_axis_label = "Analog Up" input_r_x_plus_btn_label = "C Right" input_r_x_minus_btn_label = "C Left" input_r_y_plus_btn_label = "C Bottom" input_r_y_minus_btn_label = "C Top"```
-
@cyberrazorcut Saw that, tried it. But again, both keys were binding to the same key, so it was a bit beyond that diagram.
TBH I don't know how its fixed but I'm also not looking that gift horse in the mouth.
-
@krystalis I thought it might be more than just that diagram. I did have to do a minor edit to the config file for the controller, but I can't remember what it was. I hope you get it sorted.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.