ELAN_TS_RESOLUTION
ts->x_max = ELAN_TS_RESOLUTION(rows, osr);
ts->y_max = ELAN_TS_RESOLUTION(cols, osr);