int y_data;
int z_data;
int w_data;
+ int vector;
int down;
};
ts->finger_data[finger].x_data = x;
ts->finger_data[finger].y_data = y;
ts->finger_data[finger].w_data = width;
+ ts->finger_data[finger].vector = msg->touch_vect;
/* The touch IC will not give back a pressure of zero
so send a 0 when a liftoff is produced */
ts->finger_data[i].x_data);
input_report_abs(ts->input_dev, ABS_MT_POSITION_Y,
ts->finger_data[i].y_data);
+ input_report_abs(ts->input_dev, ABS_MT_ORIENTATION,
+ ts->finger_data[i].vector);
input_report_abs(ts->input_dev, ABS_MT_TRACKING_ID,
i);
input_mt_sync(ts->input_dev);
input_set_abs_params(ts->input_dev, ABS_MT_WIDTH_MAJOR,
ts->pdata->abs_min_w, ts->pdata->abs_max_w,
ts->pdata->fuzz_w, 0);
+ input_set_abs_params(ts->input_dev, ABS_MT_ORIENTATION,
+ 0, 255, 0, 0);
input_set_abs_params(ts->input_dev, ABS_MT_TRACKING_ID,
0, ts->pdata->multi_touch_cfg.num_touch, 1, 0);
}