mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-28 00:00:22 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user