Add analog keybinds for Ares64#4611
Conversation
|
Compare the implementation for Mupen: BizHawk/src/BizHawk.Emulation.Cores/Consoles/Nintendo/N64/N64Input.cs Lines 37 to 87 in 3e6951d I think it would be better as a static helper method which was shared by both cores.
|
|
Not including this was an explicit choice. This thing is a hack and shouldn't be done within the core, it should be done within the frontend for all analog controls, without the core knowing. |
I definitely agree that, longer term, this should probably be done by allowing button/key inputs for analog axes, but from what I can tell that seems like it would be a fairly large rewrite that doesn't seem like it's happening soon. And considering we already have the hack present in the Mupen core, I think it makes sense to include it as a stopgap in Ares64 as well. |
I've refactored the code into a static helper method in the N64Input class. As a note, I'm working on Linux so I can't test Mupen64, but I've tried to make as few changes as I can to Mupen64-specific code so hopefully it should all work correctly. |
Fixes #3871.
Check if completed: