On Thu, Dec 09, 2010 at 01:16:58PM -0600, Chris Bagwell wrote:
> Thanks for the conversion work, Peter.
> 
> Acked-by: Chris Bagwell <[email protected]>
> 
> I was to lazy up to this point to compute myself.  I plan on taking
> the values below, divide by 1000, and submit to kernel drivers as part
> of the input_absinfo.resolution field (which is now agreed to be
> units/mm).
> 
> I'll then have a follow up patch to xf86-input-wacom to prefer those
> values over built in values when non-zero.  That is unless your
> currently working on similar?

I don't have any patches for this, no. Was about to write it yesterday when
I noticed that the kernel driver doesn't export resolution so I just changed
the hardcoded values. Feel free to write that patch, I'd be happy to commit
it.

Cheers,
  Peter

> Rafi, is above what you meant by reading from event node?
> input_absinfo.maximum * input_absinfo.resolution (when set) should
> compute physical size.

> On Thu, Dec 9, 2010 at 3:04 AM, Rafi Rubin <[email protected]> wrote:
> > Yes, sort of.
> >
> > That is the resolution in points/inch for the 12" models.
> >
> > Unfortunately there are also 14" and 17" ntrig sensors which report the
> > id and logical ranges.  I've been distinguishing them by the reported
> > physical ranges, which do seem to be a consistent points/inch.
> >
> > Is there some way to read the physical ranges from the event node?
> > Alternatively can we do something with the physical size reported by the
> > screen?  I know that conflicts with the non-direct input devices, but it
> > does seem like an easy way to handle touch screens.
> >
> > Rafi
> >
> > Peter Hutterer wrote:
> >> The X Input Extension requires resolution be exposed in units per m.
> >>
> >> Signed-off-by: Peter Hutterer <[email protected]>
> >> ---
> >> Note, I left NTrig out for now. Rafi - is this resolution in points/in?
> >> looks like it, but I wasn't sure.
> >>
> >>  src/wcmUSB.c |  238 
> >> +++++++++++++++++++++++++++++-----------------------------
> >>  1 files changed, 119 insertions(+), 119 deletions(-)
> >>
> >> diff --git a/src/wcmUSB.c b/src/wcmUSB.c
> >> index 3317ff4..8053371 100644

------------------------------------------------------------------------------
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to