summaryrefslogtreecommitdiff
path: root/sw/Core/Src/edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'sw/Core/Src/edit.h')
-rwxr-xr-xsw/Core/Src/edit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/Core/Src/edit.h b/sw/Core/Src/edit.h
index e521dc7..10f530f 100755
--- a/sw/Core/Src/edit.h
+++ b/sw/Core/Src/edit.h
@@ -148,7 +148,9 @@ void finger_editing(int fi, int frame) {
cur += ev * (FULL / maxi);
}
else {
- cur += (int)floorf(0.5f + ev * maxf(1.f, encaccel * encaccel));
+ int ev_sens = 1;
+ if (pi == P_HEADPHONE) ev_sens = 4;
+ cur += (int)floorf(0.5f + ev * ev_sens * maxf(1.f, encaccel * encaccel));
#ifdef DEBUG
DebugLog("%d\r\n", (int)(maxf(1.f, encaccel * encaccel) * 100));
#endif