Skip to content

Fix usable dimensions of the XP-PEN Artist 22R and 24 Pro#896

Merged
whot merged 1 commit intolinuxwacom:masterfrom
redstrate:work/redstrate/fix-bad-dimensions
Aug 3, 2025
Merged

Fix usable dimensions of the XP-PEN Artist 22R and 24 Pro#896
whot merged 1 commit intolinuxwacom:masterfrom
redstrate:work/redstrate/fix-bad-dimensions

Conversation

@redstrate
Copy link
Contributor

I didn't realize at the time that properties are supposed to be the usable area, not the physical dimensions of the device. Because #864 is not here yet, I rounded up for these.

I didn't realize at the time that properties are supposed to be
the usable area, *not* the physical dimensions of the device.
Because linuxwacom#864 is not here yet, I rounded up for these.
@whot
Copy link
Member

whot commented Aug 3, 2025

thx, merging. fwiw, doesn't matter since afaik nothing actually uses those values

@whot whot added this pull request to the merge queue Aug 3, 2025
Merged via the queue into linuxwacom:master with commit 3c2df35 Aug 3, 2025
19 checks passed
@redstrate
Copy link
Contributor Author

thx, merging. fwiw, doesn't matter since afaik nothing actually uses those values

Indeed, I realized that right after making the PR that libinput calculates it a different way!

@whot
Copy link
Member

whot commented Aug 3, 2025

Indeed, I realized that right after making the PR that libinput calculates it a different way!

libinput gets it from the absinfo min/max and resolution (one reason why we need resolution for tablets btw). you can also get it from udev via ID_INPUT_WIDTH_MM and ID_INPUT_HEIGHT_MM but that property may be wrong if we have evdev overrides in place (rare enough for tablets at least)

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