]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Input: ALPS - V7 devices can report 5-finger taps
authorMasaki Ota <masaki.ota@jp.alps.com>
Sat, 28 Mar 2015 04:30:46 +0000 (21:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 7 Apr 2015 15:47:43 +0000 (08:47 -0700)
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>
drivers/input/mouse/alps.c

index ad741c04936db21a064410bbaba8fc26b40161c4..51716eb8ef1e9644064de7b70036009452a54018 100644 (file)
@@ -2779,6 +2779,7 @@ static void alps_set_abs_params_v7(struct alps_data *priv,
                                   struct input_dev *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_POINTER | INPUT_MT_DROP_UNUSED |