mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-30 11:40:32 +00:00
Add distinct mouse zero index label for drivers that do not support multimouse (#13000)
This commit is contained in:
parent
6a59dad08c
commit
5aafe9eb0c
@ -7406,11 +7406,15 @@ static void get_string_representation_mouse_index(rarch_setting_t *setting, char
|
||||
|
||||
if (!string_is_empty(device_name))
|
||||
strlcpy(s, device_name, len);
|
||||
else
|
||||
else if (map > 0)
|
||||
snprintf(s, len,
|
||||
"%s (#%u)",
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE),
|
||||
map);
|
||||
else
|
||||
snprintf(s, len,
|
||||
"%s",
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DONT_CARE);
|
||||
}
|
||||
else
|
||||
snprintf(s, len,
|
||||
|
Loading…
Reference in New Issue
Block a user