Created
June 24, 2012 11:02
-
-
Save anonymous/2982823 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/settings.h b/src/settings.h | |
index a466b72..b3003d6 100644 | |
--- a/src/settings.h | |
+++ b/src/settings.h | |
@@ -56,8 +56,9 @@ typedef enum { | |
BAR_KS_VOLDOWN = 22, | |
BAR_KS_VOLUP = 23, | |
BAR_KS_MANAGESTATION = 24, | |
+ BAR_KS_PLAYPAUSE2 = 25, | |
/* insert new shortcuts _before_ this element and increase its value */ | |
- BAR_KS_COUNT = 25, | |
+ BAR_KS_COUNT = 26, | |
} BarKeyShortcutId_t; | |
#define BAR_KS_DISABLED '\x00' | |
diff --git a/src/ui_dispatch.h b/src/ui_dispatch.h | |
index e8c9944..7851434 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 | |
@@ -95,6 +95,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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment