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

Xybots (and clones) missing RetroPad mapping #69

Open
paradadf opened this issue Dec 14, 2016 · 30 comments
Open

Xybots (and clones) missing RetroPad mapping #69

paradadf opened this issue Dec 14, 2016 · 30 comments

Comments

@paradadf
Copy link

Xybots should have action buttons (twist) mapped to RetroPad buttons by default and not only key strokes.

20161214_170937544_ios

@dankcushions
Copy link
Contributor

good spot!

PORT_BITX(0x0004, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2, "P2 Twist Right", KEYCODE_W, IP_JOY_DEFAULT )

it seems that this and many other games with inputs that use IP_JOY_DEFAULT are not actually bound to anything on the joypad. it's almost like a placeholder... very strange.

for this game, what would be good retropad buttons to use for this game? the original cabinet had a 'twist' stick. i think retropad Y and A as this maps well to the right_stick_as_btns core option, allowing you to the use the right stick to rotate the view, sort of like a modern FPS/3PS.

@paradadf
Copy link
Author

paradadf commented Dec 16, 2016

Yes, RetroPad A and Y would be perfect. That's the most intuitive I would say.

@markwkidd
Copy link
Collaborator

Is this working now?

@markwkidd
Copy link
Collaborator

@SapphireTactician because you suggested that I might tag you again -- could you see if you think this input is working the way it ought to be in mame2003-plus?

@ghost

This comment was marked as spam.

@ghost

This comment was marked as spam.

@dankcushions
Copy link
Contributor

it is? https://github.com/libretro/mame2003-libretro/blob/master/src/libretro/joystick.c#L20

i think the issue is with this IP_JOY_DEFAULT thing - it's avoiding this association for whatever reason. i never investigated beyond that.

@ghost

This comment was marked as spam.

@ghost

This comment was marked as spam.

@ghost

This comment was marked as spam.

@ghost

This comment was marked as spam.

@dankcushions
Copy link
Contributor

i'm sure that's how it works in standalone, but i'm saying it's not working in the libretro version for some reason. retropad's button3 mapping is being ignored when in IP_JOY_DEFAULT situations

@ghost

This comment was marked as spam.

@dankcushions
Copy link
Contributor

yeah my hunch is that this is an order thing. i don't like the idea of changing the inputs in the drivers for any reason.

@ghost

This comment was marked as spam.

@ghost
Copy link

ghost commented Apr 24, 2018

@markwkidd I'll download the new code and recompile the core, then take a look into it for you.

@ghost
Copy link

ghost commented Apr 24, 2018

@markwkidd Downloaded latest code, compiled, twist controls still not mapped to RetroPad.

2018-04-24--135641_1600x900

@ghost

This comment was marked as spam.

@ghost
Copy link

ghost commented Apr 24, 2018

@markwkidd I figured out what happened. It's not pretty. To get the new defaults you assigned for each twist, I had to "null" out those controls first. Meaning each twist can't be truly nulled anymore as nulling sets them to what you intended to be the defaults.

In other words, it seems you defined what null is for those inputs, not what their default is.

On a sidenote, this game is really fun. Glad to be introduced to it.

@markwkidd
Copy link
Collaborator

@paradadf and @SapphireTactician -- @grant2258 added remappable analog inputs to MAME 2003-Plus yesterday.

That means that analog inputs can be remapped from within the frontend (RetroArch) rather than from within the MAME Menu/Remapper.

If either of you is still interested in this game, would you be willing to give it a try with the latest MAME 2003-Plus build, and try to map the twister completely from within the frontend?

@paradadf
Copy link
Author

paradadf commented Feb 5, 2019

@markwkidd I just tried to remapp the missing inputs from within retroarch‘s controls menu and had no luck. I couldn‘t map anything, no response.

@ghost

This comment was marked as spam.

@paradadf
Copy link
Author

paradadf commented Feb 6, 2019

I used the plus core as markwkidd asked for.

@ghost

This comment was marked as spam.

@rsn8887
Copy link

rsn8887 commented Feb 7, 2019

How can I remove a Mame input menu mapping on a system without a keyboard? I think on PC it was „esc“.

@ghost

This comment was marked as spam.

@ghost

This comment was marked as spam.

@rsn8887
Copy link

rsn8887 commented Feb 8, 2019

Interesting. I wish Mame osd menu had a little reminder text how to do this, since it is impossible to figure it out without instructions.

@ghost

This comment was marked as spam.

@rsn8887
Copy link

rsn8887 commented Feb 12, 2019

Nice docs! But the "press left twice to return to default" is not mentioned. That's the part I find impossible to figure out.

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