mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
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:
parent
ca332b5473
commit
2bb9323de8
3 changed files with 6 additions and 2 deletions
|
|
@ -803,6 +803,7 @@ struct user_settings
|
||||||
#ifdef HAVE_REMOTE_LCD
|
#ifdef HAVE_REMOTE_LCD
|
||||||
unsigned char remote_ui_vp_config[64]; /* viewport string for the remote lists */
|
unsigned char remote_ui_vp_config[64]; /* viewport string for the remote lists */
|
||||||
#endif
|
#endif
|
||||||
|
char player_name[64]; /* Name of the local player */
|
||||||
|
|
||||||
struct compressor_settings compressor_settings;
|
struct compressor_settings compressor_settings;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2217,6 +2217,8 @@ const struct settings_list settings[] = {
|
||||||
VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"),
|
VIEWPORT_SETTING(remote_ui_vp_config, "remote ui viewport"),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
TEXT_SETTING(F_THEMESETTING, player_name, "player name", "", NULL, NULL),
|
||||||
|
|
||||||
#ifdef HAVE_MORSE_INPUT
|
#ifdef HAVE_MORSE_INPUT
|
||||||
OFFON_SETTING(0, morse_input, LANG_MORSE_INPUT, false, "morse input", NULL),
|
OFFON_SETTING(0, morse_input, LANG_MORSE_INPUT, false, "morse input", NULL),
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -384,6 +384,7 @@
|
||||||
clear settings on hold
|
clear settings on hold
|
||||||
& off, on & N/A\\
|
& off, on & N/A\\
|
||||||
}%
|
}%
|
||||||
|
player name & freeform text, defaults to an empty string & N/A\\
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{longtable}
|
\end{longtable}
|
||||||
\end{center}
|
\end{center}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue