mako: touch: correct resolution and reduce threshold

Change the resolution to exact size, which is 2560-1 x 1536 -1 and
reduce the threshold for reduced report mode so that more accurate data
can be reported to framework to improve browser scroll effect.
This should work with firmware jitter filter enable.

Change-Id: I7a36c3dbdc38ec402749577dda515f81d27a6557
This commit is contained in:
Jongrak Kwon 2012-08-28 18:40:21 -07:00 committed by Iliyan Malchev
parent 2e3b48a8f3
commit 95c7aec308

View file

@ -122,15 +122,15 @@ static struct touch_device_caps touch_caps = {
.max_id = 10,
.lcd_x = 768,
.lcd_y = 1280,
.x_max = 1536,
.y_max = 2560,
.x_max = 1536-1,
.y_max = 2560-1,
};
static struct touch_operation_role touch_role = {
.operation_mode = INTERRUPT_MODE,
.key_type = KEY_NONE,
.report_mode = REDUCED_REPORT_MODE,
.delta_pos_threshold = 5,
.delta_pos_threshold = 1,
.orientation = 0,
.booting_delay = 400,
.reset_delay = 20,