Input: ALPS - V7 devices can report 5-finger taps

Signed-off-by: Masaki Ota <masaki.ota@jp.alps.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Masaki Ota 2015-03-27 21:30:46 -07:00 committed by Dmitry Torokhov
parent 3db5b9f782
commit 8d289842c8
1 changed files with 1 additions and 0 deletions

View File

@ -2779,6 +2779,7 @@ static void alps_set_abs_params_v7(struct alps_data *priv,
struct input_dev *dev1) struct input_dev *dev1)
{ {
alps_set_abs_params_mt_common(priv, dev1); alps_set_abs_params_mt_common(priv, dev1);
set_bit(BTN_TOOL_QUINTTAP, dev1->keybit);
input_mt_init_slots(dev1, MAX_TOUCHES, input_mt_init_slots(dev1, MAX_TOUCHES,
INPUT_MT_POINTER | INPUT_MT_DROP_UNUSED | INPUT_MT_POINTER | INPUT_MT_DROP_UNUSED |