Skip to content

Commit

Permalink
Don't save mouse buttons in autoconfig (libretro#16098)
Browse files Browse the repository at this point in the history
  • Loading branch information
bslenul authored and Sunderland93 committed Dec 26, 2024
1 parent 161fbdc commit bb0ca8d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion configuration.c
Original file line number Diff line number Diff line change
Expand Up @@ -5007,9 +5007,14 @@ bool config_save_autoconf_profile(const
{
const struct retro_keybind *bind = &input_config_binds[user][i];
if (bind->valid)
input_config_save_keybind(
{
save_keybind_joykey(
conf, "input", input_config_bind_map_get_base(i),
bind, false);
save_keybind_axis(
conf, "input", input_config_bind_map_get_base(i),
bind, false);
}
}

ret = config_file_write(conf, autoconf_file, false);
Expand Down

0 comments on commit bb0ca8d

Please sign in to comment.