projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1020f83
)
midi3.c: made "PAN" knob faster (10 pixels/tick)
author
DL1YCF
<dl1ycf@darc.de>
Sun, 14 Jun 2020 10:00:51 +0000
(12:00 +0200)
committer
DL1YCF
<dl1ycf@darc.de>
Sun, 14 Jun 2020 10:00:51 +0000
(12:00 +0200)
midi3.c
patch
|
blob
|
history
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));