Input issues with mupen64plus

Hello, there’s no way to do a few things with this core. I want to configure some buttons, because by default I don’t like them. For example I want to map the N64 Z button to pad’s L1, also the C (yellow) buttons are now mapped to the right joystick, this is fine, but I also want to use the unused pad buttons as C buttons, for example Y for C-up, B for C-right, Left Stick Button for C-Left and RSB for C-Right.

With this on mind I set input_autodetect_enable = “false”. And now not only the above doesn’t work, but I can’t use any controls, be them d-pad, (left) joystick or keyboard. I’m using latest build 17-07. Might this be a bug? Here’s my config:


input_autodetect_enable = "false"
input_libretro_device_p1 = "5"
input_player1_analog_dpad_mode = "1" (also tested 0)
input_player1_b = "z"
input_player1_b_btn = "0"
input_player1_b_axis = "nul"
input_player1_y = "a"
input_player1_y_btn = "2"
input_player1_y_axis = "nul"
input_player1_select = "rshift"
input_player1_select_btn = "7"
input_player1_select_axis = "nul"
input_player1_start = "enter"
input_player1_start_btn = "6"
input_player1_start_axis = "nul"
input_player1_up = "up"
input_player1_up_btn = "nul"
input_player1_up_axis = "+1"
input_player1_down = "down"
input_player1_down_btn = "nul"
input_player1_down_axis = "-1"
input_player1_left = "left"
input_player1_left_btn = "nul"
input_player1_left_axis = "-0"
input_player1_right = "right"
input_player1_right_btn = "nul"
input_player1_right_axis = "+0"
input_player1_a = "x"
input_player1_a_btn = "nul"
input_player1_a_axis = "+2"
input_player1_x = "s"
input_player1_x_btn = "nul"
input_player1_x_axis = "-3"
input_player1_l = "q"
input_player1_l_btn = "nul"
input_player1_l_axis = "+4"
input_player1_r = "w"
input_player1_r_btn = "5"
input_player1_r_axis = "nul"
input_player1_l2 = "nul"
input_player1_l2_btn = "4"
input_player1_l2_axis = "nul"
input_player1_r2 = "nul"
input_player1_r2_btn = "nul"
input_player1_r2_axis = "+5"
input_player1_l3 = "nul"
input_player1_l3_btn = "nul"
input_player1_l3_axis = "-2"
input_player1_r3 = "nul"
input_player1_r3_btn = "nul"
input_player1_r3_axis = "-3"
input_player1_l_x_plus = "nul"
input_player1_l_x_plus_btn = "nul"
input_player1_l_x_plus_axis = "nul"
input_player1_l_x_minus = "nul"
input_player1_l_x_minus_btn = "nul"
input_player1_l_x_minus_axis = "nul"
input_player1_l_y_plus = "nul"
input_player1_l_y_plus_btn = "nul"
input_player1_l_y_plus_axis = "nul"
input_player1_l_y_minus = "nul"
input_player1_l_y_minus_btn = "nul"
input_player1_l_y_minus_axis = "nul"
input_player1_r_x_plus = "nul"
input_player1_r_x_plus_btn = "nul"
input_player1_r_x_plus_axis = "+2"
input_player1_r_x_minus = "nul"
input_player1_r_x_minus_btn = "nul"
input_player1_r_x_minus_axis = "-2"
input_player1_r_y_plus = "nul"
input_player1_r_y_plus_btn = "nul"
input_player1_r_y_plus_axis = "-3"
input_player1_r_y_minus = "nul"
input_player1_r_y_minus_btn = "nul"
input_player1_r_y_minus_axis = "+3"

You can’t have the C buttons mapped to both the analog and the pad buttons, but if you go into RGUI and set to ‘configure all (RetroPad),’ when the right-analog prompts come up, you should be able to map buttons the axes to buttons.

Is this only for C buttons, or for any buttons of any core? That means I can’t have duplicated commands right?

I really don’t like to do things on the RGUI (among other reasons because is not very intuitive), can’t I simply write input_player1_a_axis = “+2”?

Any insight on the joystick problem is very appreciated, this is what sounds a bug to me (and important to developers if they are near a stable release).

Correct: no duplicated commands.

You can do a core-specific config if you want different mappings for each core, but I’m not a big fan of it myself.

Losing even keyboard input is definitely unintended behavior. That should always work.

I have the config folder full of system independent config files. I don’t think I could have ever dealed with RA in any other way, with so so many options specific to each core. With time I go improving them little by little.

I will try tomorrow to debug that, but as always, is faster if you can quickly confirm that, simply turn off autoconfig and map manually the stick. I’m also getting crashes loading mupen64plus core within RGUI so I have research to do… (sigh!)