On Tue, Feb 22, 2011 at 05:34:08PM -0800, Ping Cheng wrote:
> What's your plan for KeepShape?

keepshape must be configured by the client as an aspect ratio between x/y.
that's pretty much it.
hooking it up in xsetwacom should be easy, the code to query the resolution
is already there.

that's why there's still some keepshape leftovers. I'm not trying to remove
it completely, just move the configuration out into the client.

Cheers,
  Peter
> 
> With the removal of Screen concept in the driver, KeepShape can not be
> supported by the current approach any more. We need to remove KeepShape or
> to provide a new way for the feature.
> 
> Ping
> 
> On Sun, Feb 20, 2011 at 5:21 AM, Bruno Vasselle
> <[email protected]>wrote:
> 
> > Hi
> >
> > I've had a problem with the "Bamboo Touch and Pen" on my laptop : the
> > pointer
> > sticks to right edge of the screen and never responds to changes in
> > horizontal
> > direction.  The X log shows absurd negative X dimensions in messages that
> > state about "top X=.... top Y=... bottom X=... bottom Y=... resol X=...
> > resol
> > Y=...".
> >
> > It appears that the driver faces a division by zero when trying to deal
> > with
> > the "KeepShape" option on that computer. The fields  "priv->maxWidth" and
> > "priv->maxHeight" are both set to 0 - don't ask me why - making it
> > impossible
> > to assess the screen ratio.
> >
> > I've patched (attached) to detect and disable KeepShape in the situation.
> > This
> > does not solve the problem, which is somewhere else, but makes however the
> > driver more robust, removing an option when it cannot possibly deal with.
> >
> > Bruno
> >
> > NB
> >
> > Augmenting the debuging level in X configuration (50-wacom.conf: Option
> > "DebugLevel" "100"), without any modification to the source,  shows
> > something
> > like :
> >   screenRatio = -nan, tabletRatio = 1.6
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------------
> > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> > Pinpoint memory and threading errors before they happen.
> > Find and fix more than 250 security defects in the development cycle.
> > Locate bottlenecks in serial and parallel code that limit performance.
> > http://p.sf.net/sfu/intel-dev2devfeb
> > _______________________________________________
> > Linuxwacom-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
> >
> >

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to