Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with retropad's default input mapping in MAME #15

Closed
Reznnate opened this issue Jan 3, 2017 · 9 comments
Closed

Problem with retropad's default input mapping in MAME #15

Reznnate opened this issue Jan 3, 2017 · 9 comments

Comments

@Reznnate
Copy link

Reznnate commented Jan 3, 2017

Most retropad buttons are no longer bound (by default)

Select, Start, Left-analog stick, a,b,x,y, lb, rb are currently bound (for Street Fighter 2!)

Previously L2 was mapped to OSD menu (TAB), R2 was mapped to framerate
Previously L3/R3 were mapped to reset and service mode (needed to start many arcade games)
The dpad is no longer mapped, but should follow Left analog
Right analog stick should be mapped for dual-stick shooters (Robotron, Smash TV, etc.)

@r-type
Copy link

r-type commented Jan 4, 2017

@Reznnate , I will still try to take the time to reply , as you open an github issue ,to explain why for now I have not renewed the default key assignment as before.
in previous versions , i got a lot of complain from users about the default assignment , which cannot be change by user and which was hard coded .
in fact we did an fake keyboard device and hard-code L2/R2/L3 and PAD UP/DN/LFT/RGT.

I didn't want to reproduce it with last mame core , so i remove the "hard coded" keyboard device.
all the previous "hardcoded" input are bind to a 'mame joystick button'

Now you can assign a button to what you want , by using mame OSD menu .
but I m agree on android it's a problem to hit an tab key.
I usually use the keyboard overlay to do it , but recently i found a bug that prevent me to use it ,
because when I leave keyboard overlay ,the joystick overlay is not enabled . then you cant control the emulator after.

So , in short , I will look at a way to enable TAB key on android when I'll have time.

@r-type
Copy link

r-type commented Jan 4, 2017

i added 2 combo that can be useful
Select + Joy_but3 => UI Menu
Select + Start => CANCEL

@Reznnate
Copy link
Author

Reznnate commented Jan 5, 2017

@r-type , I follow... If you can re-assign inputs as normal with the OSD menu, this makes sense to me.
On Android, my attempt to connect a keyboard (with various hotkey changes) and reach the OSD menu failed so I'll wait for the latest build to confirm this works.

On a related note, how are the default MAME input bindings created and defined? For the Android core in particular (and other platforms with default controllers), mapping the defaults (I mentioned above) to the Retroarch retropad would be very nice so you wouldn't have to remap them each time you updated the core.

@Reznnate
Copy link
Author

Reznnate commented Jan 5, 2017

@r-type Spent some time testing tonight and ran into a few issues. With updated mame core, I can raise the OSD menu but I wasn't able to properly config for a dual-stick shooter (i.e. Robotron).

  1. RA lacks ext-storage permission -- If I launch mame rom directly with Retroarch, the mame file paths are derived from rom path (and not writeable without ext-storage permission). In this case, nvram state doesn't change and I couldn't bypass Robotron's initial factory reset state.

  2. The 'reset' core-option isn't working.

So I shifted my testing to a Hyperspin (launcher) setup. In this case, the Retroarch launcher intent loses path info so it uses it's internal /data/data folder for nvram files. I can play Robotron.

  1. The OSD config files aren't being saved or loaded (although options were toggled in core-options). I needed to modify them for each test.

  2. After setting the controls manually in the OSD menu, the up/dn/lt/rt controls for right stick are bound to right stick diagonals instead. I was unable to fire in cardinal directions.

@andres-asm
Copy link

andres-asm commented Jan 5, 2017 via email

@Reznnate
Copy link
Author

In the lastest MAME core (v181 on Android), the default retropad mapping for MAME controls changed again.

Select + Joy_but3 => does not launch the OSD menu
Select + Start => launches mame's default gui for launching roms

@r-type
Copy link

r-type commented Jan 22, 2017

Strange as noting change since.
I use updater to get the last mame and select+x (tab) bring the OSD menu.
and select+start (esc) close current content and bring to mame default GUI as expected.
I'm not sure why it's not working for you.

@Reznnate
Copy link
Author

@r-type It is indeed working with Select + Joy_but3 (Y button on my controller). I couldn't recall how to launch OSD button and came back to this report to find out. My mistake is that I mis-interpreted Joy_But3 for Joystick-button-press. Had I looked in Information->Core information, Retropad Select+X is listed. Sorry!

I'll open separate issue for mapping of right-analog-stick. After changing setting in OSD menu, it behaves like a qbert controller (diagonals only).

Thank you for quick response, closing bug.

@sm-Fifteen
Copy link

Select+Start does not seem easily remappable, which is problematic since that's one of the listed combinations to bring up the retroarch UI on controllers where the HOME button is absent or already used. Also, since launching ROMs is supposed to be the frontend's responsibility, what's the point of mapping CANCEL on anything?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants