Commit 854ff8ea authored by Nicolas Boichat's avatar Nicolas Boichat Committed by Commit Bot

ozone: evdev: Add quirk to identify 0x18d1:0x502c/0x502d as internal

These bases should be treated as an internal device.

(Also, reorder the list to sort by VID/PID and fix Whiskers device
name)

Bug: b/139521914
Change-Id: I12f58d72d4e6a30c8077ec0eb577d00cd77697ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833033Reviewed-by: default avatarMichael Spang <spang@chromium.org>
Commit-Queue: Michael Spang <spang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702512}
parent 78672b44
...@@ -487,8 +487,10 @@ ui::InputDeviceType EventDeviceInfo::GetInputDeviceTypeFromId(input_id id) { ...@@ -487,8 +487,10 @@ ui::InputDeviceType EventDeviceInfo::GetInputDeviceTypeFromId(input_id id) {
uint16_t vid; uint16_t vid;
uint16_t pid; uint16_t pid;
} kUSBInternalDevices[] = { } kUSBInternalDevices[] = {
{0x18d1, 0x5030}, // Google, Hammer PID (nocturne)
{0x18d1, 0x502b}, // Google, Hammer PID (soraka) {0x18d1, 0x502b}, // Google, Hammer PID (soraka)
{0x18d1, 0x5030}, // Google, Whiskers PID (nocturne)
{0x18d1, 0x503c}, // Google, Masterball PID (krane)
{0x18d1, 0x503d}, // Google, Magnemite PID (kodama)
{0x1fd2, 0x8103}, // LG, Internal TouchScreen PID {0x1fd2, 0x8103}, // LG, Internal TouchScreen PID
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment