Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate the device class if not explicitly given in the tablet file #814

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

whot
Copy link
Member

@whot whot commented Oct 29, 2024

Replaces #792, cc @redstrate

redstrate and others added 2 commits October 29, 2024 11:27
libwacom_get_class() is deprecated but it's still a part of the API, and
thus have required even new .tablet files to fill this out even though
it's superseded by IntegratedIn. So let's generate them programmatically.

This turns devices that are IntegratedIn=Display to the Cintiq class,
IntegratedIn=Display;System into the ISDV4 class, and everything else
into the Bamboo class (because Bamboo is not expected to have tool
ids/serials).
The class is deprecated anyway, no-one appears to be using this for
anything but EK Remote detection and the classes make no sense for any
non-Wacom devices anyway. Let's remove the explicit classes and
generate them from the integration flags instead - this way at least we
have some consistent behavior.
@whot whot merged commit c85ad82 into linuxwacom:master Oct 29, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants