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

Apply controllers options on-the-fly #566

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bslenul
Copy link
Contributor

@bslenul bslenul commented Jan 22, 2025

Some controllers options (deadzone, sensitivity, C-buttons and alternate mappings) are currently only checked on startup and it can be annoying.

  • Moved these controllers options to update_controllers().
  • Input descriptors will be updated if "Independent C-button Controls" is changed (but requires a menu toggle).
  • Removed the update_controllers() call from
    if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE, &updated) && updated) {
       update_variables(false);
       update_controllers();
    }

since it's already called at the end of update_variables().

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

Successfully merging this pull request may close these issues.

1 participant