Hello,
What
Many emulators have a setting to snap the control stick to cardinal directions to simulate a control stick like on the N64 or GameCube controller.
Usually this includes a setting, which offsets to snap to the nearest cardinal direction.
For example the setting is set to "5", angles from 85 to 95 would snap to 90.
Why
- Closer emulation of classic controller behaviour
- Speedrunning and such
- Better support for circular controllers
If you would point me to the place in the code where the input angle is read I can give it a shot, I haven't worked with C/C++ in 15 years though, so I can't promise anything.
Edit: Am I correct to assume that this would be the correct place to start: Permalink
Hello,
What
Many emulators have a setting to snap the control stick to cardinal directions to simulate a control stick like on the N64 or GameCube controller.
Usually this includes a setting, which offsets to snap to the nearest cardinal direction.
For example the setting is set to "5", angles from 85 to 95 would snap to 90.
Why
If you would point me to the place in the code where the input angle is read I can give it a shot, I haven't worked with C/C++ in 15 years though, so I can't promise anything.
Edit: Am I correct to assume that this would be the correct place to start: Permalink