Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bda060f1 authored by Chun Zhang's avatar Chun Zhang Committed by Gerrit - the friendly Code Review server
Browse files

input: hbtp_input: bypass alphabetical and numeric key config



Android thinks hbtp_input is an alphabetical keyboard if these
keys are configured. This brings a mismatch between physical
hardware and Android configuration, and malfunction.

Change-Id: Iedce93d6313b544c85071baa88ba2cc253932e6b
Signed-off-by: default avatarChun Zhang <chunz@codeaurora.org>
parent a227e44f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -122,7 +122,7 @@ static int hbtp_input_create_input_dev(struct hbtp_input_absinfo *absinfo)
	__set_bit(BTN_TOUCH, input_dev->keybit);
	__set_bit(BTN_TOUCH, input_dev->keybit);
	__set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
	__set_bit(INPUT_PROP_DIRECT, input_dev->propbit);


	for (i = KEY_ESC; i <= KEY_MICMUTE; i++)
	for (i = KEY_HOME; i <= KEY_MICMUTE; i++)
		__set_bit(i, input_dev->keybit);
		__set_bit(i, input_dev->keybit);


	/* For multi touch */
	/* For multi touch */