summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-02-02 16:17:13 +0100
committerLars-Dominik Braun <lars@6xq.net>2011-02-02 16:44:19 +0100
commit58398e4b2a9666a94aacced30453c1fc46b4a2e8 (patch)
tree410b31cee14ee2577eb8262bdbebb2ecc024b1eb /src/settings.h
parent0a76b7239781e6e0cb77169302219e6566b6c4d3 (diff)
downloadpianobar-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.h2
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,