chiark / gitweb /
keymap: Tolerate invalid entries in keymaps
authorMartin Pitt <martinpitt@gnome.org>
Fri, 19 Oct 2012 06:03:09 +0000 (08:03 +0200)
committerMartin Pitt <martinpitt@gnome.org>
Fri, 19 Oct 2012 06:05:58 +0000 (08:05 +0200)
commitaccfdb7abfe0dad7c8e7e5364d93ad962895acfc
treed3584ac4848cbda8f9a13ce6271b5ef1a9d80b89
parent3bb9434b69b8562117b8ec34b4498aa208907316
keymap: Tolerate invalid entries in keymaps

Some keymaps apply to a large range of computer models, not all of which have
all of the scan codes in the maps. If a single scan code is invalid, do not
abort but continue with the next entry in the map. Instead just show the error
message for that particular scan code, to help with debugging.
src/udev/keymap/keymap.c