diff --git a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java index b36e998e..eb5bf4e7 100644 --- a/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/MousePadPlugin/MousePadPlugin.java @@ -84,6 +84,10 @@ public class MousePadPlugin extends Plugin { public void sendMouseDelta(float dx, float dy, float sensitivity) { NetworkPackage np = new NetworkPackage(PACKAGE_TYPE_MOUSEPAD_REQUEST); + if (sensitivity <= 0.0001f) { + sensitivity = 1.0f; + } + np.set("dx", dx*sensitivity); np.set("dy", dy*sensitivity);