Post subject: How Disallowing Up+Down/Left+Right is Handled
Skilled player (1247)
Joined: 8/29/2014
Posts: 302
Is it possible to make it so that instead of canceling each other out to a neutral position, the more recently pressed input overrides the other (and if not, make it so that left always overrides right and up always overrides down like in most other emulators)? The reason I ask is because in situations in games where you have to quickly switch back and fourth between opposite directions and press other inputs only when a specific direction is held down, it adds significant difficulty to have to make sure you have released the previous direction completely before the current one actually registers when playing on something that can physically press both at once like a hitbox or a keyboard, whereas a dpad does this automatically by nature.
Editor, Emulator Coder
Joined: 8/7/2008
Posts: 1156
https://github.com/TASVideos/BizHawk/commit/d24f778a40a1b089764aed42423f1398e3209cb5 check the controller config dialog I can't promise we'll keep this, if it's buggy. It's scaring me a bit, but from my testing, it worked OK. I made the most recent take priority as you suggested. I have no idea whether anyone but you likes it, but it seems fine to me. That's way easier than making the oldest take priority, and way harder than making the prioritization fixed (always given to up or left).
Skilled player (1247)
Joined: 8/29/2014
Posts: 302
Excellent, thank you. There is only one situation I could find where it doesn't work: if you press an opposite direction so that it overrides the first, you cannot repress the first until releasing the opposite. i.e. if you press left while holding right then release right afterwards, you cannot repress right while left is still held down, but if you re-input left while right is not held down, then right can now register while left is still held.