settings: increase minimum stopped time betweeen mouse movements

This commit is contained in:
Peter F. Patel-Schneider 2022-08-31 14:12:31 -04:00
parent 002ca8bdcb
commit 27a46b2e62
1 changed files with 1 additions and 1 deletions

View File

@ -586,7 +586,7 @@ class MouseGesturesXY(_RawXYProcessing):
if self.device.features.get_feature_version(_F.REPROG_CONTROLS_V4) >= 5 and self.starting:
self.starting = False # hack to ignore strange first movement report from MX Master 3S
return
if self.lastEv is not None and now - self.lastEv > 50.:
if self.lastEv is not None and now - self.lastEv > 200.:
self.push_mouse_event()
dpi = self.dpiSetting.read() if self.dpiSetting else 1000
dx = float(dx) / float(dpi) * 15. # This multiplier yields a more-or-less DPI-independent dx of about 5/cm