On Thu, Jan 13, 2011 at 6:33 PM, Chris Bagwell <ch...@cnpbagwell.com> wrote: > On Thu, Jan 13, 2011 at 8:16 PM, Peter Hutterer >> wait, doesn't the touch tool use the same axis ranges as the other tools? >> > > On Bamboo's, the touch tool can use a larger area of tablet then > pen/eraser tool can. This is visible from log files as pen report > maxX=14720 maxY=9200 while touch is maxX=15360 maxY=10l240. This used > to be smaller range because touch resolution is lower then pen but > kernel is now scaling up to same resolutions. > > But they are different input devices that report accurate min/maxes > for tools it supports and set sizeX/Y and so on the same. So off hand > I know no reason why relative tools used maxX/Y but absolutes used > sizeX/Y.
I agree with Chris to revert back to it was. In case the code didn't tell itself clearly, here is what we have for those sizeX/Y. min/maxX/Y, and other X/Y's: sizeX/Y = bottomX/Y - topX/Y, where the default case is maxX/Y - 0/0; bottomX/Y and topX/Y is the active tablet area that defined by the user. bottomX/Y defauts to maxX/Y and topX/Y to 0/0; maxX/Y is the logical size of the tablet or touch pad. Physical tablet and touch areas can be different for an integrated device. Resolutions for touch and pen are almost always different. Hence, the logical sizes are different. Ping ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel