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

Commit 643aa95f authored by Jing Lin's avatar Jing Lin Committed by Gerrit - the friendly Code Review server
Browse files

input: touchscreen: maxim_sti: set INPUT_PROP_DIRECT property



Touchscreen is typical direct input device. Set the INPUT_PROP_DIRECT
property to make sure that touch coordinates are mapped correctly.

Change-Id: I398890c111a206baaca499d53e600a9de1d556bd
Signed-off-by: default avatarJing Lin <jinglin@codeaurora.org>
parent 29722150
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1307,6 +1307,7 @@ nl_process_driver_msg(struct dev_data *dd, u16 msg_id, void *msg)
			dd->input_dev[i]->id.bustype = BUS_SPI;
			__set_bit(EV_SYN, dd->input_dev[i]->evbit);
			__set_bit(EV_ABS, dd->input_dev[i]->evbit);
			__set_bit(INPUT_PROP_DIRECT, dd->input_dev[i]->propbit);
			if (i == (INPUT_DEVICES - 1)) {
				__set_bit(EV_KEY, dd->input_dev[i]->evbit);
				__set_bit(BTN_TOOL_RUBBER,