Skip to content

Feature Request: Snapping Control Stick Angle #792

@halest

Description

@halest

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions