The infoRot180 and infoPortrait bits are for information
only. The touchpad uses the same X/Y coordinate system
regardless of the orientation, so the software shouldn't
care about these bits.
/* Post events */
if (hw.z > 0) {
input_report_abs(dev, ABS_X, hw.x);
- if (SYN_MODEL_ROT180(priv->model_id))
- input_report_abs(dev, ABS_Y, YMAX_NOMINAL + YMIN_NOMINAL - hw.y);
- else
- input_report_abs(dev, ABS_Y, hw.y);
+ input_report_abs(dev, ABS_Y, YMAX_NOMINAL + YMIN_NOMINAL - hw.y);
}
input_report_abs(dev, ABS_PRESSURE, hw.z);