input: atmel_maxtouch: Report BTN_TOUCH event

Report BTN_TOUCH event along with other input
events.

Change-Id: I1ba414224f978c13e24c382b5c0fd57f82f66577
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
This commit is contained in:
Mohan Pallaka
2011-11-21 10:30:24 +05:30
parent 79c0d25bac
commit a9df12a301
@@ -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);