1
0
Fork 0
forked from len0rd/rockbox

FS#13429: Add a freeform "player name" configuration setting

The idea is that a theme or whatever could use this to provide visual
differentiation (eg "George's iPod") between multiple
otherwise-identical players..

Defaults to an empty string.

Added to the manual but there is not a way to set this through the
menus yet.

Change-Id: I1cff6b19d621dd6207b4b82eed67741ce2da0ef1
This commit is contained in:
Solomon Peachy 2024-05-31 10:10:45 -04:00
parent ca332b5473
commit 2bb9323de8
3 changed files with 6 additions and 2 deletions

View file

@ -803,6 +803,7 @@ struct user_settings
#ifdef HAVE_REMOTE_LCD
unsigned char remote_ui_vp_config[64]; /* viewport string for the remote lists */
#endif
char player_name[64]; /* Name of the local player */
struct compressor_settings compressor_settings;

View file

@ -2217,6 +2217,8 @@ const struct settings_list settings[] = {
VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"),
#endif
TEXT_SETTING(F_THEMESETTING, player_name, "player name", "", NULL, NULL),
#ifdef HAVE_MORSE_INPUT
OFFON_SETTING(0, morse_input, LANG_MORSE_INPUT, false, "morse input", NULL),
#endif

View file

@ -384,6 +384,7 @@
clear settings on hold
& off, on & N/A\\
}%
player name & freeform text, defaults to an empty string & N/A\\
\bottomrule
\end{longtable}
\end{center}