rk30_phonepad:modify ft5306_ts touch size to 1
authorluowei <lw@rock-chips.com>
Fri, 28 Sep 2012 07:04:24 +0000 (15:04 +0800)
committerluowei <lw@rock-chips.com>
Fri, 28 Sep 2012 07:04:24 +0000 (15:04 +0800)
drivers/input/touchscreen/ft5306_ts.c

index d149ac58ed7d02ab330fce34b2d33566cd07b85d..6a9f39015e61f78562abf508c59ebf33bacb5896 100755 (executable)
@@ -476,10 +476,10 @@ static void ft5x0x_report_value(void)
                                        input_report_abs(data->input_dev, ABS_MT_TRACKING_ID, event->point[i].id);
 
                                        down_table |= 1 << event->point[i].id;
-                                       input_report_abs(data->input_dev, ABS_MT_TOUCH_MAJOR, 100);
+                                       input_report_abs(data->input_dev, ABS_MT_TOUCH_MAJOR, 1);
                                        input_report_abs(data->input_dev, ABS_MT_POSITION_X, event->point[i].x);
                                        input_report_abs(data->input_dev, ABS_MT_POSITION_Y, event->point[i].y);
-                                       input_report_abs(data->input_dev, ABS_MT_WIDTH_MAJOR, 100);
+                                       input_report_abs(data->input_dev, ABS_MT_WIDTH_MAJOR, 1);
                                   //printk("ABS_MT_TRACKING_ID == %d, ABS_MT_POSITION_X == %d, ABS_MT_POSITION_Y == %d\n",event->point[i].id,event->point[i].x,event->point[i].y);
 
                                }
@@ -504,10 +504,10 @@ static void ft5x0x_report_value(void)
                if(event->point[i].status == 0 || event->point[i].status == 2 ) {
                        input_mt_slot(data->input_dev, event->point[i].id);
                        input_report_abs(data->input_dev, ABS_MT_TRACKING_ID, event->point[i].id);
-                       input_report_abs(data->input_dev, ABS_MT_TOUCH_MAJOR, 200);
+                       input_report_abs(data->input_dev, ABS_MT_TOUCH_MAJOR, 1);
                        input_report_abs(data->input_dev, ABS_MT_POSITION_X, event->point[i].x);
                        input_report_abs(data->input_dev, ABS_MT_POSITION_Y, event->point[i].y);
-                       input_report_abs(data->input_dev, ABS_MT_WIDTH_MAJOR, 100);
+                       input_report_abs(data->input_dev, ABS_MT_WIDTH_MAJOR, 1);
                }
                else if(event->point[i].status == 1) {
                        input_mt_slot(data->input_dev, event->point[i].id);