[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#450713: Its working for me with a small pach/config



Hi!

It seems that xorg does not accept x/y coordinates greater than screen dimensions from
an input device for sending move events (ev_calibrate depends on it).

Note: button events are arriving

My Solution is to set MaxX and MaxY to 4000 in xorg.conf

and let the driver convert coordinates always with this patch:

--- evtouch.c_orig      2007-09-09 18:44:07.000000000 +0200
+++ evtouch.c   2007-11-27 16:00:03.000000000 +0100
@@ -913,7 +913,7 @@
                 write (priv->fifo, &v1, sizeof(v1));
         }

-        if (!priv->calibrate) {
+//        if (!priv->calibrate) {
                 DBGOUT(2, "EVTouch: Scaling coordinates\n");
                 xc = v0 - priv->min_x;
                 yc = v1 - priv->min_y;
@@ -1074,7 +1074,7 @@
                        default:
                                break;
                }
-        }
+//        }

         DBGOUT(2, "EVTouch: FINAL: v0=%d   v1=%d\n", v0, v1);


hope to help someone

cu Peter








Reply to: