diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-02-02 16:17:13 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-02-02 16:44:19 +0100 |
commit | 58398e4b2a9666a94aacced30453c1fc46b4a2e8 (patch) | |
tree | 410b31cee14ee2577eb8262bdbebb2ecc024b1eb /src/settings.h | |
parent | 0a76b7239781e6e0cb77169302219e6566b6c4d3 (diff) | |
download | pianobar-58398e4b2a9666a94aacced30453c1fc46b4a2e8.tar.gz pianobar-58398e4b2a9666a94aacced30453c1fc46b4a2e8.tar.bz2 pianobar-58398e4b2a9666a94aacced30453c1fc46b4a2e8.zip |
Allow keyboard shortcuts to be disabled
Something like
act_foobar = disabled
disables the command foobar completely now. Useful if you don't use
software volume control. See issue #78.
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h index a186282..f529a81 100644 --- a/src/settings.h +++ b/src/settings.h @@ -58,6 +58,8 @@ typedef enum { BAR_KS_COUNT = 24, } BarKeyShortcutId_t; +#define BAR_KS_DISABLED '\x00' + typedef enum { BAR_SORT_NAME_AZ = 0, BAR_SORT_NAME_ZA = 1, |