public
anonymous / gist:2982823
Created

  • Download Gist
gistfile1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
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>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.