diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-12-18 18:52:59 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-12-18 19:00:58 +0100 |
commit | 8b23811535d2e1dd6abbe4ce6ea1edfd50ce72de (patch) | |
tree | b856cb8741f9e447829e8d006c708526f828e7f6 /drivers/hid/hid-hyperv.c | |
parent | Input: evdev - add CLOCK_BOOTTIME support (diff) | |
download | linux-8b23811535d2e1dd6abbe4ce6ea1edfd50ce72de.tar.xz linux-8b23811535d2e1dd6abbe4ce6ea1edfd50ce72de.zip |
Input: alps - v7: ignore new packets
NEW packets are send to indicate a discontinuity in the finger coordinate
reporting. Specifically a finger may have moved from slot 0 to 1 or vice
versa. INPUT_MT_TRACK takes care of this for us.
NEW packets have 3 problems:
1) They do not contain middle / right button info (on non clickpads)
this can be worked around by preserving the old button state
2) They do not contain an accurate fingercount, and they are
typically send when the number of fingers changes. We cannot use
the old finger count as that may mismatch with the amount of
touch coordinates we've available in the NEW packet
3) Their x data for the second touch is inaccurate leading to
a possible jump of the x coordinate by 16 units when the first
non NEW packet comes in
Since problems 2 & 3 cannot be worked around, just ignore them.
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=86338
Cc: stable@vger.kernel.org # 3.17
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/hid/hid-hyperv.c')
0 files changed, 0 insertions, 0 deletions