changeset 5754:690c5db6d252 8.0-b117

hg backout -r 5730 - back out fix for rt-34338 - Lens: Chalkboard Electronics touch screen declared as ID_INPUT_TABLET is not recognised. It was causing us to listen to the wrong native event queue, thus effectively disabling the touchscreen on the raspberry pi. Reviewed by dblaukopf Tested with BouncingBalls on raspberry pi (any application will do for testing, because the offending code broke touch in all cases for this platform).
author Lisa.Selle@oracle.com
date Tue, 19 Nov 2013 16:00:24 -0500
parents 7369a156078e
children 6f8cf45127c6 c786a74301ae
files modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c	Tue Nov 19 08:20:32 2013 -0800
+++ b/modules/graphics/src/main/native-glass/lens/input/udev/udevInput.c	Tue Nov 19 16:00:24 2013 -0500
@@ -589,8 +589,7 @@
         device->isPointer = JNI_TRUE;
         isValidDevice = JNI_TRUE;
         GLASS_LOG_FINE("Device is a pointer");
-    } else if (!strcmp(key, "ID_INPUT_TOUCHSCREEN")
-               || !strcmp(key, "ID_INPUT_TABLET")) {
+    } else if (!strcmp(key, "ID_INPUT_TOUCHSCREEN")) {
         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