Skip to content

Commit

Permalink
Input: tegra-kbc - enable key autorepeat
Browse files Browse the repository at this point in the history
To support key repeats, keyboard needs to be setup as an autorepeating
device.

Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Rakesh Iyer authored and Dmitry Torokhov committed Jul 25, 2011
1 parent 6eab7ce commit 5599d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/keyboard/tegra-kbc.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ static int __devinit tegra_kbc_probe(struct platform_device *pdev)

input_set_drvdata(input_dev, kbc);

input_dev->evbit[0] = BIT_MASK(EV_KEY);
input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP);
input_set_capability(input_dev, EV_MSC, MSC_SCAN);

input_dev->keycode = kbc->keycode;
Expand Down

0 comments on commit 5599d2e

Please sign in to comment.