summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/settings.h3
-rw-r--r--src/ui_dispatch.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/settings.h b/src/settings.h
index 59dd7b6..346551d 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -55,8 +55,9 @@ typedef enum {
BAR_KS_VOLDOWN = 21,
BAR_KS_VOLUP = 22,
BAR_KS_MANAGESTATION = 23,
+ BAR_KS_PLAYPAUSE2 = 24,
/* insert new shortcuts _before_ this element and increase its value */
- BAR_KS_COUNT = 24,
+ BAR_KS_COUNT = 25,
} BarKeyShortcutId_t;
#define BAR_KS_DISABLED '\x00'
diff --git a/src/ui_dispatch.h b/src/ui_dispatch.h
index acd0f67..d43642a 100644
--- a/src/ui_dispatch.h
+++ b/src/ui_dispatch.h
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2010-2011
+Copyright (c) 2010-2012
Lars-Dominik Braun <lars@6xq.net>
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -93,6 +93,8 @@ static const BarUiDispatchAction_t dispatchActions[BAR_KS_COUNT] = {
"act_volup"},
{'=', BAR_DC_STATION, BarUiActManageStation, "delete seeds/feedback",
"act_managestation"},
+ {' ', BAR_DC_GLOBAL | BAR_DC_STATION, BarUiActPause, NULL,
+ "act_songpause2"},
};
#include <piano.h>