diff options
Diffstat (limited to 'apps/plugins/metronome.c')
-rw-r--r-- | apps/plugins/metronome.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/plugins/metronome.c b/apps/plugins/metronome.c index 6359329179..bd99ce2ce3 100644 --- a/apps/plugins/metronome.c +++ b/apps/plugins/metronome.c @@ -20,12 +20,21 @@ #include "metronome.h" PLUGIN_HEADER - #define METRONOME_QUIT PLA_QUIT + +/* for volume changes, PLA with scrollwheel isn't proper */ + +#ifdef HAVE_SCROLLWHEEL +#define METRONOME_VOL_UP PLA_DOWN +#define METRONOME_VOL_DOWN PLA_UP +#define METRONOME_VOL_UP_REP PLA_DOWN_REPEAT +#define METRONOME_VOL_DOWN_REP PLA_UP_REPEAT +#else #define METRONOME_VOL_UP PLA_UP #define METRONOME_VOL_DOWN PLA_DOWN #define METRONOME_VOL_UP_REP PLA_UP_REPEAT #define METRONOME_VOL_DOWN_REP PLA_DOWN_REPEAT +#endif #define METRONOME_LEFT PLA_LEFT #define METRONOME_RIGHT PLA_RIGHT #define METRONOME_LEFT_REP PLA_LEFT_REPEAT |