-
Committer:
Seth Forshee
-
Date:
2011-03-23 16:51:07 UTC
-
Revision ID:
seth.forshee@canonical.com-20110323165107-54an31dua72w443j
keymap: continue reading keymap after invalid scancodes
Reading of keymaps is aborted when EINVAL is returned from
EVIOCGETKEYCODE. Scan codes are not always continuous ranges of values
starting at 0, so this can result in not getting the full keymap for a
device. Instead, continue processing if EINVAL is returned.