Merge lp:~sforshee/udev/keymap-continue-read-after-invalid-scancode into lp:udev
Proposed by
Seth Forshee
Status: | Merged |
---|---|
Merge reported by: | Seth Forshee |
Merged at revision: | not available |
Proposed branch: | lp:~sforshee/udev/keymap-continue-read-after-invalid-scancode |
Merge into: | lp:udev |
Diff against target: |
14 lines (+3/-2) 1 file modified
extras/keymap/keymap.c (+3/-2) |
To merge this branch: | bzr merge lp:~sforshee/udev/keymap-continue-read-after-invalid-scancode |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt (community) | Approve | ||
Review via email: mp+54564@code.launchpad.net |
Description of the change
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.
To post a comment you must log in.
Thanks!
lp:udev is an automatic import from upstream git, I can't merge into it directly. I extracted the patch and applied it to upstream git, thanks!