Skip to contentSkip to conversation

Input: tegra-kbc - Fix support for key repeat.

PATCH Applied [email protected] 2 participants 2 messages Jul 22, 2011 – Jul 25, 2011

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Input: tegra-kbc - Fix support for key repeat.

From: Rakesh Iyer <[email protected]>

To support key repeats, keyboard needs to be setup as an autorepeating device.

---
 drivers/input/keyboard/tegra-kbc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/input/keyboard/tegra-kbc.c +1 -1
index 2b3b73e..da3828f 100644
@@ -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;
Signature · 1 line
1.7.1