]> Pileus Git - ~andy/linux/blobdiff - drivers/input/input-mt.c
Input: add BTN_TOOL_QUINTTAP for reporting 5 fingers on touchpad
[~andy/linux] / drivers / input / input-mt.c
index c48c81f0308dc8ff99c61a4c1291dabe52c12246..9150ee78e00ad62621de0aaa2740851fc65acbed 100644 (file)
@@ -117,6 +117,7 @@ void input_mt_report_finger_count(struct input_dev *dev, int count)
        input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2);
        input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3);
        input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4);
+       input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5);
 }
 EXPORT_SYMBOL(input_mt_report_finger_count);