From 5d244099f0fff9d431333c1c49f2d5bb2d48d16b Mon Sep 17 00:00:00 2001 From: Amy Maloche Date: Wed, 20 Jun 2012 11:03:56 -0700 Subject: [PATCH] ft5x06: Set input property bit to indicate a direct input device Property bit is checked in userspace and must be set in driver in order to be recognized correctly since it defaults to mouse pointer. Change-Id: Ibdc78547e6376e6db54db75b1423718d13afaaa7 Signed-off-by: Amy Maloche --- drivers/input/touchscreen/ft5x06_ts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/touchscreen/ft5x06_ts.c b/drivers/input/touchscreen/ft5x06_ts.c index 1b4e9af85572..d619c1d06e9e 100644 --- a/drivers/input/touchscreen/ft5x06_ts.c +++ b/drivers/input/touchscreen/ft5x06_ts.c @@ -444,6 +444,7 @@ static int ft5x06_ts_probe(struct i2c_client *client, __set_bit(EV_KEY, input_dev->evbit); __set_bit(EV_ABS, input_dev->evbit); __set_bit(BTN_TOUCH, input_dev->keybit); + __set_bit(INPUT_PROP_DIRECT, input_dev->propbit); input_set_abs_params(input_dev, ABS_MT_POSITION_X, 0, pdata->x_max, 0, 0);