Hi Peter,

I looked into eventcomm.c and got confused.

1. Shouldn't apply_st_scaling be something like:
(value - st_min[axis]) * proto_data->st_to_mt_scale[axis] + priv->minx_or_y;
instead of
value * proto_data->st_to_mt_scale[axis] + proto_data->st_to_mt_offset[axis];
since st_min is normally not 0?

2. My device seems reporting coordinates beyond minimum and maximum
value in priv when I touch the edges. Is there some thing wrong?

Thanks,
Leon
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to