mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
2e3b48a8f3
commit
95c7aec308
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue