For some reason, the xorg input driver passes raw absolute vars to
xf86PostMotionEvent(); I can't tell whether this is correct (and xorg is
supposed to adjust basing on the values passed to
xf86InitValuatorAxisStruct()) or whether the values should be adjusted
by the driver.

I started looking at the xserver's source and didn't quite understand
whether it had code to map axis resolutions to screen resolution, all I
could find was code to clip the values within screen width.  I also
found a Sun driver for USB mouse making use of absolute events like our
driver, but the corresponding kernel driver has a special ioctl() to
adjust the resolution of the events it generates, while our kernel
driver (usbtouchscreen) doesn't have such ioctl()s, nor does the Linux
input subsystem.

-- 
Uncalibrated and can't calibrate with 0.8.7-2 on Samsung Q1 Ultra
https://bugs.launchpad.net/bugs/163850
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to