Signed-off-by: Peter Hutterer <peter.hutte...@who-t.net> --- src/synaptics.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/synaptics.c b/src/synaptics.c index 1d280ca..375ecb6 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -2560,6 +2560,7 @@ HandleScrolling(SynapticsPrivate *priv, struct SynapticsHwState *hw, else priv->scroll.delta_x -= diff / delta * para->scroll_dist_horiz;; priv->scroll.last_a = angle(priv, hw->x, hw->y); + DBG(priv, 10, "circ scoll delta: %.2f diff %.2f angle %.2f\n", delta, diff, priv->scroll.last_a); } } @@ -2816,6 +2817,7 @@ post_scroll_events(const InputInfoPtr pInfo) valuator_mask_set_double(priv->scroll_events_mask, priv->scroll_axis_vert, priv->scroll.delta_y); + DBG(priv, 10, "vert scroll delta: %.2f\n", priv->scroll.delta_y); priv->scroll.delta_y = 0; } if (priv->scroll.delta_x != 0.0) @@ -2823,6 +2825,7 @@ post_scroll_events(const InputInfoPtr pInfo) valuator_mask_set_double(priv->scroll_events_mask, priv->scroll_axis_horiz, priv->scroll.delta_x); + DBG(priv, 10, "horiz scroll delta: %.2f\n", priv->scroll.delta_x); priv->scroll.delta_x = 0; } if (valuator_mask_num_valuators(priv->scroll_events_mask)) -- 1.7.7.6 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel