Questions about synaptics coordinate

Leon Shaw shaw.leon at
Mon Mar 26 21:38:01 PDT 2012

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?


More information about the xorg-devel mailing list