diff options
Diffstat (limited to 'gdk/x11/gdkdevicemanager-xi2.c')
-rw-r--r-- | gdk/x11/gdkdevicemanager-xi2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/x11/gdkdevicemanager-xi2.c b/gdk/x11/gdkdevicemanager-xi2.c index d75f4ab533..61458772b1 100644 --- a/gdk/x11/gdkdevicemanager-xi2.c +++ b/gdk/x11/gdkdevicemanager-xi2.c @@ -440,6 +440,9 @@ create_device (GdkDeviceManager *device_manager, !strstr (tmp_name, "virtualbox usb tablet") && has_abs_axes (display, dev->classes, dev->num_classes)) input_source = GDK_SOURCE_TOUCHSCREEN; + else if (strstr (tmp_name, "trackpoint") || + strstr (tmp_name, "dualpoint stick")) + input_source = GDK_SOURCE_TRACKPOINT; else input_source = GDK_SOURCE_MOUSE; |