mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
remap-redux part2: add empty description to analogs that are currently not remappable
This commit is contained in:
parent
058b4cea79
commit
59da4b880e
@ -580,7 +580,6 @@ static void menu_action_setting_disp_set_label_input_desc(
|
||||
|
||||
*w = 19;
|
||||
strlcpy(s2, path, len2);
|
||||
|
||||
}
|
||||
|
||||
#ifdef HAVE_KEYMAPPER
|
||||
|
@ -155,6 +155,11 @@ int action_right_input_desc(unsigned type, const char *label,
|
||||
user_idx = (type - MENU_SETTINGS_INPUT_DESC_BEGIN) / (RARCH_FIRST_CUSTOM_BIND + 8);
|
||||
btn_idx = (type - MENU_SETTINGS_INPUT_DESC_BEGIN) - (RARCH_FIRST_CUSTOM_BIND + 8) * user_idx;
|
||||
|
||||
#if 1
|
||||
for (int i = 0; i < RARCH_FIRST_CUSTOM_BIND; i++)
|
||||
RARCH_LOG("[remap-debug]: user %d button %d new id %d\n", user_idx, i, settings->uints.input_remap_ids[user_idx][i]);
|
||||
#endif
|
||||
|
||||
if (settings->uints.input_remap_ids[user_idx][btn_idx] < RARCH_FIRST_CUSTOM_BIND)
|
||||
settings->uints.input_remap_ids[user_idx][btn_idx]++;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user