Skip to content

Autoconf profile loading and saving rework#18738

Merged
LibretroAdmin merged 1 commit intolibretro:masterfrom
sonninnos:autoconf-load-save
Feb 17, 2026
Merged

Autoconf profile loading and saving rework#18738
LibretroAdmin merged 1 commit intolibretro:masterfrom
sonninnos:autoconf-load-save

Conversation

@sonninnos
Copy link
Collaborator

@sonninnos sonninnos commented Feb 16, 2026

Description

A few changes for helping the creation, updating and management of autoconf profiles:

  • Profiles are saved to the base directory instead of active driver subdir
  • Profiles are searched from the base directory first and driver subdir only if there is no match

This is because:

  • The user most likely wants to prioritize the manually saved profile
  • There are lots of duplicate vid/pid/name profiles in the various driver directories, which would be read in order instead, resulting in false matches without manually deleting the wrong profiles

Also:

  • Saving checks that at least RetroPad B and D-Pad directions or Left Analog have binds
  • Saving pre-fills existing autoconf binds for saving if those already exist without having to bind each bind every time if changing only one bind
  • Saving copies existing autoconf labels and display name
  • Saving clears controller binds so that manual bind reset is not required in order to not make a mess of the config and to not nuke non-default keyboard binds
  • Saving loads and activates the fresh saved profile without replugging
  • (Auto) suffix is also shown in axis labels without having the label elements defined in the profile
  • Minor cleanups

@LibretroAdmin LibretroAdmin merged commit b2b93bc into libretro:master Feb 17, 2026
35 checks passed
@sonninnos sonninnos deleted the autoconf-load-save branch February 17, 2026 18:53
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.

2 participants

Comments