Commit 36baf920 authored by Hans de Goede's avatar Hans de Goede Committed by Carlos Garnacho

scrolledwindow: Extend trackpoint heuristic to ALPS trackpoints

These have a different characteristic device name, look for it too
in order to enable trackpoint features.
parent 86720b01
......@@ -1104,7 +1104,8 @@ captured_event_cb (GtkWidget *widget,
indicator_set_over (&priv->hindicator, FALSE);
indicator_set_over (&priv->vindicator, FALSE);
else if (strstr (gdk_device_get_name (source_device), "TrackPoint"))
else if (strstr (gdk_device_get_name (source_device), "TrackPoint") ||
strstr (gdk_device_get_name (source_device), "DualPoint Stick"))
indicator_set_over (&priv->hindicator, TRUE);
indicator_set_over (&priv->vindicator, TRUE);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment