From cdafa428bc764f21491832a4e4b6fc452010d961 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 Prop 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 c9905a4a87d..ffeb8fe7f20 100644 --- a/drivers/input/touchscreen/ft5x06_ts.c +++ b/drivers/input/touchscreen/ft5x06_ts.c @@ -445,6 +445,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);