On Tue, May 11, 2010 at 12:59:01PM -0700, Ping Cheng wrote:
> Hi Emil,
> 
> I am moving the discussion to devel list where it is more suitable.
> 
> Your effort is greatly appreciated. There is a lot of room for this
> driver to improve, no matter it is running on Xorg server 1.7+ or
> 1.7-.  We are always open to suggestions and bug reports from the
> community.  Please see my other comments inline.
> 
> Ping
> 
> On Tue, May 11, 2010 at 10:32 AM, Emil Assarsson
> <[email protected]> wrote:
> > From what I understand it's an inherited problem in the Xinput
> > protocol that don't have any means to forward device information?
> >
> > If so, this proposal should help us:
> > http://www.x.org/wiki/XInputSpec#InputDeviceProperties
> > Do you know if there is anything decided on the proposal yet or should
> > I try to find out?
> 
> The values we are discussing are reported to the client/application
> through valuators. There is no properties involved in the process.
> 
> > I think that we could live with a normalization to 2048; it will keep
> > full resolution for new devices until and if the proposal gets
> > realized. And after that it could be a good fallback solution.
> 
> I was inaccurate in saying there would be no interface change. It
> should be there would be no xorg.conf interface change.  Valuators are
> the interface to applications. So, we are changing the interface.
> Considering the fact that most graphical applications on Linux are
> based on Gtk, I think we are safe to make this change.

Clients must be able to deal with different valuator ranges, different
numbers of valuators, etc. If an app can't deal with that, it's likely going
to break once you plug in a different mouse or tablet, so I wouldn't worry
about this.

The only exceptions here are x/y which are anchored in the core protocol and
make the whole thing a bit different - that can be worked around though and
the server does so.

So yes, normalizing axis ranges in the driver just works, because to the
server and to the clients it simply looks like a different axis range.

Cheers,
  Peter

PS: sorry for coming that late to the discussion.

------------------------------------------------------------------------------

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

Reply via email to