-0400
Subject: [PATCH] Improve detection of input device source type
This detection code is not 100% reliable, but it should fare much better
than the current code, which just compares the device name to a fixed
set of strings. Many applications depend on erasers being recognized
reliably, so we
On Mon, 2009-09-28 at 02:00 -0400, Thomas Jaeger wrote:
This is necessary since wacom devices don't have predictable names
anymore. Please let me know if I need to open a bug report for this issue.
Looks sane to me. Pushed.
___
gtk-devel-list
Hi,
On Mon, 2009-09-28 at 02:00 -0400, Thomas Jaeger wrote:
- if (!strcmp (tmp_name, pointer))
-gdkdev-info.source = GDK_SOURCE_MOUSE;
- else if (!strcmp (tmp_name, wacom) ||
- !strcmp (tmp_name, pen))
-gdkdev-info.source = GDK_SOURCE_PEN;
- else if (!strcmp (tmp_name,
Sven Neumann wrote:
Hi,
On Mon, 2009-09-28 at 02:00 -0400, Thomas Jaeger wrote:
- if (!strcmp (tmp_name, pointer))
-gdkdev-info.source = GDK_SOURCE_MOUSE;
- else if (!strcmp (tmp_name, wacom) ||
- !strcmp (tmp_name, pen))
-gdkdev-info.source = GDK_SOURCE_PEN;
- else