* Copyright (c) 2011 Samsung Electronics Co., Ltd. All rights reserved.
*
* Contact:
- * GiWoong Kim <giwoong.kim@samsung.com>\r
- * Hyunjun Son <hj79.son@samsung.com>\r
- * DongKyun Yun <dk77.yun@samsung.com>\r
+ * GiWoong Kim <giwoong.kim@samsung.com>
+ * Hyunjun Son <hj79.son@samsung.com>
+ * DongKyun Yun <dk77.yun@samsung.com>
* YeongKyoon Lee <yeongkyoon.lee@samsung.com>
*
* This program is free software; you can redistribute it and/or
input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, 5);
input_report_abs(input_dev, ABS_MT_POSITION_X, packet->x);
input_report_abs(input_dev, ABS_MT_POSITION_Y, packet->y);
+ //printk(KERN_INFO "!!pressed x=%d, y=%d, z=%d", packet->x, packet->y, packet->z);
input_mt_sync(input_dev);
} else { //release
+#if 0
if (packet->z == 1) {
input_report_abs(input_dev, ABS_MT_TRACKING_ID, 1);
input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, 0);
input_mt_sync(input_dev);
}
- input_report_abs(input_dev, ABS_MT_TRACKING_ID, 0);
+#endif
+ input_report_abs(input_dev, ABS_MT_TRACKING_ID, packet->z);
input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, 0);
+ //printk(KERN_INFO "!!released x=%d, y=%d, z=%d", packet->x, packet->y, packet->z);
input_mt_sync(input_dev);
}