From a9df12a3011f3f75ea3bffa6487d3cd697d60aef Mon Sep 17 00:00:00 2001 From: Mohan Pallaka Date: Fri, 18 Nov 2011 16:34:24 +0530 Subject: [PATCH] input: atmel_maxtouch: Report BTN_TOUCH event Report BTN_TOUCH event along with other input events. Change-Id: I1ba414224f978c13e24c382b5c0fd57f82f66577 Signed-off-by: Mohan Pallaka --- drivers/input/touchscreen/atmel_maxtouch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/atmel_maxtouch.c b/drivers/input/touchscreen/atmel_maxtouch.c index d2bd4dfe7c1..35507e1248c 100644 --- a/drivers/input/touchscreen/atmel_maxtouch.c +++ b/drivers/input/touchscreen/atmel_maxtouch.c @@ -939,6 +939,7 @@ void process_T9_message(u8 *message, struct mxt_data *mxt, int last_touch) input_mt_sync(mxt->input); } } + input_report_key(mxt->input, BTN_TOUCH, !!active_touches); if (active_touches == 0) input_mt_sync(mxt->input); input_sync(mxt->input);