commit | 679d83ea9390636ded518f533af0cefbade317c7 | [log] [tgz] |
---|---|---|
author | Mathias Gottschlag <mgottschlag@gmail.com> | Sat Mar 07 13:27:08 2015 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Sat Mar 07 13:40:20 2015 -0800 |
tree | 2d0a85cfb4a397773f63f4b24d5052984c9c7b84 | |
parent | 3e9845251926723319fb60c9e546fe42d3d11687 [diff] |
Input: psmouse - ensure that focaltech reports consistent coordinates We don't know whether x_max or y_max really hold the maximum possible coordinates, and we don't know for sure whether we correctly interpret the coordinates sent by the touchpad, so we clamp the reported values to prevent confusion in userspace code. Signed-off-by: Mathias Gottschlag <mgottschlag@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>