mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
tsc2007: 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: I5eadfe45baac93b9e315381dcacc5a02c27bc0c9 Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
This commit is contained in:
parent
6704a20b88
commit
19b50fd2c9
1 changed files with 1 additions and 0 deletions
|
@ -415,6 +415,7 @@ static int __devinit tsc2007_probe(struct i2c_client *client,
|
|||
|
||||
input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS);
|
||||
input_dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH);
|
||||
__set_bit(INPUT_PROP_DIRECT, input_dev->propbit);
|
||||
|
||||
input_set_abs_params(input_dev, ABS_X, ts->min_x,
|
||||
ts->max_x, pdata->fuzzx, 0);
|
||||
|
|
Loading…
Reference in a new issue