changeset 5732:68e5bc52a094

RT-34338 Chalkboard Electronics touch screen declared as ID_INPUT_TABLET is not recognised Reviewed-by: Assaf Yavnai
author Daniel Blaukopf <daniel.blaukopf@oracle.com>
date Mon, 18 Nov 2013 21:03:36 +0200
parents be4d63bf55bb
children ac4d9e43d517
files modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c	Mon Nov 18 11:00:04 2013 -0800
+++ b/modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c	Mon Nov 18 21:03:36 2013 +0200
@@ -589,7 +589,8 @@
         device->isPointer = JNI_TRUE;
         isValidDevice = JNI_TRUE;
         GLASS_LOG_FINE("Device is a pointer");
-    } else if (!strcmp(key, "ID_INPUT_TOUCHSCREEN")) {
+    } else if (!strcmp(key, "ID_INPUT_TOUCHSCREEN")
+               || !strcmp(key, "ID_INPUT_TABLET")) {
         device->isTouch = JNI_TRUE;
         //default touch protocol to ST (single touch), which is always supported 
         //by touch devices. multi touch support protocol is checked in