Mupen 64 button mapping

trying to map the z button to a physical controller was wondering if anyone knows what key it is im using a Moga pro

if anyone has a list of mappings for the hole emulator for mupen 64 that would be handy but for not im just looking to map the z button

I believe ‘z’ is typically mapped to either L1 or L2 of the ‘retropad’ depending on the game (i.e., some games have alternate default button mappings to make them more playable on a standard dual-stick/4-face-button pad).

You can see the mappings in this source file: https://github.com/libretro/mupen64plus … t_plugin.c Just do a find-as-you-type search for z_trig to see all of the z mappings.

tried all mappings no luck im gessing mupen 64 in retro arch dosent support conrollers fully yet??? im trying to play Cruis’n USA

tried mapping L2 and L not doing anything. there was 7 entries for Z_trig

Keys->Z_TRIG = input_cb(Control, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L2); Keys->Z_TRIG = input_cb(Control, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L); Keys->Z_TRIG = input_cb(Control, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L2); Keys->Z_TRIG = input_cb(Control, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L2); Keys->Z_TRIG = input_cb(Control, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L); Keys->Z_TRIG = input_cb(Control, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L); Keys->Z_TRIG = input_cb(Control, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L2);

I figured it may be better to post here instead of creating a new thread since this is related, but instead of remapping the ‘Z’ button, I am looking to remap the analog sticks for Mupen64 (I only want to do this for a couple specific games however). I do not see any way to assign the thumbsticks, but the default is for the left thumbstick to be the N64’s control stick and the right stick to be the C-buttons. I want to switch these so that the left stick is for the c buttons, and the right stick is for the control stick. Is this possible? Thanks!

@mwaterbu I think in this case, you should just go into the manual binds and when it says to assign ‘left analog’ use the right one instead.

I’m sorry, but I must be missing something. I am using the OUYA version of RetroArch (I have the Google Play store version as well on my tablet), and had previously looked in the custom binds for this, but no analog listings show up there.

Fixes are on the way but I don’t know the ETA

There’s screen-button applications, to virtualize the gamepad inputs. On my JXD-s7300b it works well, I think it’s something like tincore keymapper; I don’t use it anymore since custom bindings work properly now (old retroarch didn’t work with I think the negative axes for my analogs, and since it was tied to dpad, that messed up too)

It takes a little time, but you open up the game and a touchscreen overlay, then pull up tincore, and overlay your stuff on the screen. The latest version should work properly, before it wouldn’t autoload the previous profile, AND it would reset joystick->onscreen overlay sizes… pretty annoying.

I’ll add this was only for playstation and the discrete mupen64 emulator, so it might not apply here yet. Does the emulator even have distinct analog mapping at all?