diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2012-06-24 15:24:09 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2012-06-26 22:12:17 +0200 |
commit | e95baabbb45f20318b5df3010202e3c3c9cf0715 (patch) | |
tree | e34b4af332535fb7b3225a741fc52e4c18b853b8 /src/ui_dispatch.h | |
parent | 845cf4c1bdae57e8ed59bc3bb6fcaa7464c8904e (diff) | |
download | pianobar-e95baabbb45f20318b5df3010202e3c3c9cf0715.tar.gz pianobar-e95baabbb45f20318b5df3010202e3c3c9cf0715.tar.bz2 pianobar-e95baabbb45f20318b5df3010202e3c3c9cf0715.zip |
Additional pause keybinding
Allowing multiple keys per command would be nice, but this works for
now. See #228.
Diffstat (limited to 'src/ui_dispatch.h')
-rw-r--r-- | src/ui_dispatch.h | 4 |
1 files changed, 3 insertions, 1 deletions
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> |