Fix handling of relative mapping and keep-aspect on display-attached tablets
- May 22, 2023
-
-
We do in fact allow these combinations of configuration since the Settings Wacom panel revamp. We no longer need to look up Wacom device features, since this is allowed for all the devices that have these settings. Part-of: <!3012>
8c080999 -
We avoided setting the device matrix applying to the tablet tool (used if the tablet is in absolute coordinates mode) if the device is configured for relative motion, but forgot to apply the matrix if changing the device back to absolute mode, this made the device seemingly forget its attached display until later configuration changes. In order to avoid the hassle of looking up the right display again on unrelated configuration changes, make the matrix be always set on the device, but only actually used in absolute coordinates mode. This makes the device able to seamlessly switch between modes and remain mapped to the right display. Part-of: <!3012>
ee412cc4 -
This was somewhat ineffective since it was applied after figuring out the x/y absolute coordinates. Change the order (filter first, then figure out abs coords), and use coordinates from the correct device while at it. Part-of: <!3012>
558f3156
-