From 3cff7b547795bdeeea44dc54bc851e70bfc7b40f Mon Sep 17 00:00:00 2001 From: Mikael Svantesson Date: Fri, 5 Dec 2008 18:35:56 +0100 Subject: screen_outputs: new screen to control MPD's output devices The "outputs" screen allows the user to enable or disable MPD's audio output devices. --- src/command.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/command.c') diff --git a/src/command.c b/src/command.c index e04817fa1..1b6519a53 100644 --- a/src/command.c +++ b/src/command.c @@ -59,6 +59,7 @@ #define F5 KEY_F(5) #define F6 KEY_F(6) #define F7 KEY_F(7) +#define F8 KEY_F(8) static command_definition_t cmds[] = { @@ -205,6 +206,12 @@ static command_definition_t cmds[] = { N_("Update Lyrics") }, #endif +#ifdef ENABLE_OUTPUTS_SCREEN + { {'8', F8, 0 }, 0, CMD_SCREEN_OUTPUTS, "screen-outputs", + N_("Outputs screen") }, +#endif + + { { -1, -1, -1 }, 0, CMD_NONE, NULL, NULL } }; -- cgit v1.2.3