]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: touchscreen_dmi: Add min-x and min-y settings for various models
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Oct 2018 10:21:00 +0000 (12:21 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Oct 2018 10:21:57 +0000 (12:21 +0200)
commit4104916d8cad141faa6c24003540e0faeed859fd
tree7e80f767e8d7ce353fe1101842f6bbdc7228fd45
parent01b6b7e6e01e18b2b54bba478fd16b787f3635dd
platform/x86: touchscreen_dmi: Add min-x and min-y settings for various models

Add min-x and min-y settings now that we've support for this and for some
models also update the width/height settings with slighly more accurate
values.

This fixes touches along the edges registering at the wrong coordinates.

While at it also set max-fingers to 10 in a couple of cases where the
touchpad can handle 10 fingers (rather then the default 5) and that was
missing.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/touchscreen_dmi.c