]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
midi3.c: made "PAN" knob faster (10 pixels/tick)
authorDL1YCF <dl1ycf@darc.de>
Sun, 14 Jun 2020 10:00:51 +0000 (12:00 +0200)
committerDL1YCF <dl1ycf@darc.de>
Sun, 14 Jun 2020 10:00:51 +0000 (12:00 +0200)
midi3.c

diff --git a/midi3.c b/midi3.c
index d4f1aa94e7d661217a54f8487203fec34db50d05..c39ad3fc99c1747d4eb95d22ddcf062033560564 100644 (file)
--- a/midi3.c
+++ b/midi3.c
@@ -480,7 +480,7 @@ void DoTheMidi(enum MIDIaction action, enum MIDItype type, int val) {
         case MIDI_PAN:  // wheel and knob
            switch (type) {
               case MIDI_WHEEL:
-                g_idle_add(ext_pan_update,GINT_TO_POINTER(val));
+                g_idle_add(ext_pan_update,GINT_TO_POINTER(val*10));
                 break;
              case MIDI_KNOB:
                 g_idle_add(ext_pan_set,GINT_TO_POINTER(val));