aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hid/hid-ntrig.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-ntrig.c b/drivers/hid/hid-ntrig.c
index a418f9e19ce7..58ba0d3d8aa5 100644
--- a/drivers/hid/hid-ntrig.c
+++ b/drivers/hid/hid-ntrig.c
@@ -173,6 +173,8 @@ static int ntrig_event (struct hid_device *hid, struct hid_field *field,
173 if (!nd->reading_mt) { 173 if (!nd->reading_mt) {
174 input_report_key(input, BTN_TOOL_DOUBLETAP, 174 input_report_key(input, BTN_TOOL_DOUBLETAP,
175 (nd->confidence != 0)); 175 (nd->confidence != 0));
176 input_report_key(input, BTN_TOUCH,
177 (nd->confidence != 0));
176 input_event(input, EV_ABS, ABS_X, nd->x); 178 input_event(input, EV_ABS, ABS_X, nd->x);
177 input_event(input, EV_ABS, ABS_Y, nd->y); 179 input_event(input, EV_ABS, ABS_Y, nd->y);
178 } 180 }