Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202225
b: refs/heads/master
c: 53c1f76
h: refs/heads/master
i:
  202223: 156d7af
v: v3
  • Loading branch information
Samuel Thibault authored and Dmitry Torokhov committed Jul 31, 2010
1 parent 5f72f0f commit 5151981
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba9f507a1bea5ca2fc4a19e227c56b60fd5faca3
refs/heads/master: 53c1f764022337d7168b1344d6700b3d98e4acec
6 changes: 5 additions & 1 deletion trunk/drivers/char/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 5151981

Please sign in to comment.