udev: builtin-keyboard: move actual key mapping to a helper function
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 20 Mar 2015 03:17:20 +0000 (13:17 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 10 Apr 2015 22:44:33 +0000 (08:44 +1000)
commitc9a8e34094733018727677fee44be2c2952224c0
tree07172fff09d190e3a671b9f9769fdf6258228159
parentcfba2656e3b4a9c5e03db4ec0a8f76c3762d35a8
udev: builtin-keyboard: move actual key mapping to a helper function

No changes in the mapping, but previously we opened the device only on
successful parsing. Now we open the mapping as soon as we have a value that
looks interesting. Since errors are supposed to be the exception, not the
rule, this is probably fine.
src/udev/udev-builtin-keyboard.c