|
@@ -230,6 +230,7 @@ static int mpr_touchkey_probe(struct i2c_client *client,
|
|
input_dev->id.bustype = BUS_I2C;
|
|
input_dev->id.bustype = BUS_I2C;
|
|
input_dev->dev.parent = &client->dev;
|
|
input_dev->dev.parent = &client->dev;
|
|
input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP);
|
|
input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP);
|
|
|
|
+ input_set_capability(input_dev, EV_MSC, MSC_SCAN);
|
|
|
|
|
|
input_dev->keycode = mpr121->keycodes;
|
|
input_dev->keycode = mpr121->keycodes;
|
|
input_dev->keycodesize = sizeof(mpr121->keycodes[0]);
|
|
input_dev->keycodesize = sizeof(mpr121->keycodes[0]);
|