HID: alps: properly handle max_fingers and minimum on X and Y axis
authorMasaki Ota <masaki.ota@jp.alps.com>
Fri, 6 Oct 2017 02:53:15 +0000 (11:53 +0900)
committerJiri Kosina <jkosina@suse.cz>
Tue, 17 Oct 2017 09:35:21 +0000 (11:35 +0200)
commitc7083d3f53482e8a2a6ee1238fbedfa7dbea7b3c
tree9b59075931d332a7f3a7eb63296f458499cba67b
parent5d8c720d3b74413cc62d5015f23f57a51dc06112
HID: alps: properly handle max_fingers and minimum on X and Y axis

Create x_min, y_min and max_fingers variables for set correct XY minimum value
and the number of max finger on each devices.

[jkosina@suse.cz: update shortlog]
Signed-off-by: Masaki Ota <masaki.ota@jp.alps.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-alps.c