Comment 10 for bug 227183

Revision history for this message
Bart Van Loon (bart-ingen) wrote :

same problem here with the Y-axis swap. adding the following code on line 1165 (right after where the x and y values are read form the serial pins) fixed that for me:

y = priv->screen_height - y;

problem still is that priv_screen_height doesn't seem to be set to the right number. the transformations done on the (x, y) coordinates always give funny results, in particular the wrong scaling results. the pointer is not drawn underneath my finger, but has a displacement, relative to the position of my finger (so there's a multiplication = scaling going wrong).

trying to figure out where this happens...