diff options
author | Adam Simpkins <adam@adamsimpkins.net> | 2013-01-09 11:52:01 -0800 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2013-02-26 15:19:26 +0100 |
commit | 847ca4193e3fbc5b27285979888ab364bbf1792e (patch) | |
tree | 9bfce2cffe69ddaf74465d6445f589a4de68f42d /src/settings.h | |
parent | efd4f393f0378865902c2138e614e9a5466c40ef (diff) | |
download | pianobar-847ca4193e3fbc5b27285979888ab364bbf1792e.tar.gz pianobar-847ca4193e3fbc5b27285979888ab364bbf1792e.tar.bz2 pianobar-847ca4193e3fbc5b27285979888ab364bbf1792e.zip |
Add play and pause commands
Add commands that always play and always pause, in addition to the
current toggle pause command.
Closes #342.
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h index 6ccad5d..392ea58 100644 --- a/src/settings.h +++ b/src/settings.h @@ -57,8 +57,10 @@ typedef enum { BAR_KS_MANAGESTATION = 23, BAR_KS_PLAYPAUSE2 = 24, BAR_KS_CREATESTATIONFROMSONG = 25, + BAR_KS_PLAY = 26, + BAR_KS_PAUSE = 27, /* insert new shortcuts _before_ this element and increase its value */ - BAR_KS_COUNT = 26, + BAR_KS_COUNT = 28, } BarKeyShortcutId_t; #define BAR_KS_DISABLED '\x00' |