Prev: regulator: tps6586x: fix millivolt return values and SM2 table
Next: EFI runtime-services on x86_64
From: Samuel Thibault on 30 Jul 2010 16:50 drivers/char/keyboard.c also handles braille keys, so it should also match braille-only keyboards. Signed-off-by: Samuel Thibault <samuel.thibault(a)ens-lyon.org> diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c index 54109dc..25be210 100644 --- a/drivers/char/keyboard.c +++ b/drivers/char/keyboard.c @@ -1315,10 +1315,14 @@ static bool kbd_match(struct input_handler *handler, struct input_dev *dev) if (test_bit(EV_SND, dev->evbit)) return true; - if (test_bit(EV_KEY, dev->evbit)) + if (test_bit(EV_KEY, dev->evbit)) { for (i = KEY_RESERVED; i < BTN_MISC; i++) if (test_bit(i, dev->keybit)) return true; + for (i = KEY_BRL_DOT1; i <= KEY_BRL_DOT10; i++) + if (test_bit(i, dev->keybit)) + return true; + } return false; } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Dmitry Torokhov on 31 Jul 2010 05:50 On Fri, Jul 30, 2010 at 10:41:18PM +0200, Samuel Thibault wrote: > drivers/char/keyboard.c also handles braille keys, so it should also match > braille-only keyboards. > Applied to 'next', thanks Samuel. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: regulator: tps6586x: fix millivolt return values and SM2 table Next: EFI runtime-services on x86_64 |