events: x11: Use device path to detect internal keyboards
Use the device's path in the device tree rather than a device name whitelist to determine if it is permanently attached. This is consistent with the strategy we've been using for touchscreens. This slightly changes the code to just remove non-keyboards from the keyboard list, instead of overloading INPUT_DEVICE_UNKNOWN to mean it is not a keyboard. TEST=manual on chromeos build on ubuntu BUG=437539 Review URL: https://codereview.chromium.org/798453002 Cr-Commit-Position: refs/heads/master@{#308178}
Showing
Please register or sign in to comment