Skip to content

wacom: Handle all external remotes like the EKR

The EKR is an external TV remote-like device. For a long time only Wacom had that device, now other manufacturers also have similar devices.

Let's use libwacom to fetch the device class and handle all remotes the like the EKR before.

This is slightly inefficient as we now construct the device and then dump it immediately if it is not a remote. The alternative is constructing a libwacom device from the vid/pid but our experience with Huion devices has shown those may not be unique. So it's a lot easier to be inefficient here and let libwacom take care of the crazy.

Note that libwacom_get_class() is deprecated and may cause warnings. I can be replaced with an integration flag check once released, see libwacom#779.

Closes: #3216 (closed)


Note: this does not address the issue of duplicate vid:pids overwritign each other as pointed out in #3216 (comment 2241657). We'll need some other solution for that.

Merge request reports

Loading