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

rom dependant keyboard mapping issue #418

Open
atalkingegg opened this issue Apr 27, 2024 · 5 comments
Open

rom dependant keyboard mapping issue #418

atalkingegg opened this issue Apr 27, 2024 · 5 comments

Comments

@atalkingegg
Copy link

For external arcade joystick hardware keyboard reasons, I've mapped the following keys...
W, A, S, D => up, left, down, right
H, J, K, L => B, A, select, start

All keys map and work perfectly well for "Metroid (U).nes"
The (L) button does not map to start for "Super Mario Bros (E).nes" (it's ignored), but the return key can be mapped and works fine as the start button.

Tested on 1.52.0 and 1.52.1, on MacOS and Raspberry Pi.
Thanks!

@dragon2snow
Copy link

the L key also maps the functionality of 2P?

@atalkingegg
Copy link
Author

Dragon2Snow is right, the work around is to map the 2nd player keys out of the way first, then 1st player buttons can be mapped to whatever's left. It's odd that it works on some games (single player only?) but hits this issue on others (multi-player). It would be a nice feature to show all the mapped keys with conflicts highlighted.
This issue can be closed.

@dragon2snow
Copy link

The SMB game may have issues processing input.

@rdanbrook
Copy link
Member

I'll leave this open until the rewrite is done. The input configuration will be entirely redone, and include support for far more devices. I will consider a way to warn if a key is already defined, but it may be difficult considering the number of input devices that can be configured. For instance, maybe you want to play Pokkun Moguraa using the same keys as the Power Pad, but those will never be plugged in at the same time.

@dragon2snow
Copy link

Dragon2Snow is right, the work around is to map the 2nd player keys out of the way first, then 1st player buttons can be mapped to whatever's left. It's odd that it works on some games (single player only?) but hits this issue on others (multi-player). It would be a nice feature to show all the mapped keys with conflicts highlighted. This issue can be closed.

On real consoles or other emulators, SMB is the game

When P2 holds down the directional key "down", P1's "START" is invalid

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

3 participants