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. (cherry picked from commit c9a8e340)
Loading
Please register or sign in to comment