Page 1 of 1

Button Mapping in Terminal/Ported Games

Posted: Mon Jul 06, 2020 8:06 am
by jayp76

I have a question regarding the gamepad button mapping inside the terminal or the ported linux games like Scummvm.
It seems that the menu back button is active in terminal mode and acts like escape.
If your buttons are mapped like for e.g SNES and use "A" as conform/OK and "B" as Menu back, then ScummVM exits when pressing "B".
Is this normal behaviour or schould this only be active when the menu is open?


Re: Button Mapping in Terminal/Ported Games

Posted: Mon Jul 06, 2020 2:41 pm
by Locutus73
It is normal, whenever the terminal is open, Main MiSTer injects keystrokes on joypad inputs, those are useful for dialog based text user interfaces: the d-pad maps to arrow keys, A=Enter, B=Esc and IIRC L and R map to PgUp and PgDown.
Main MiSTer has no (easy) way to know if it launched a script or ScummVM.

Regrards.

Locutus73

Re: Button Mapping in Terminal/Ported Games

Posted: Tue Jul 07, 2020 8:19 am
by jayp76
Thanks for the explanation. It is a bit counterintuitive. Either i live with it or i change my button mapping for menu ok and back.