On Tue, Jan 25, 2011 at 09:26:50PM -0800, Ping Cheng wrote: > Signed-off-by: Ping Cheng <[email protected]> > --- > src/wcmISDV4.c | 10 +++++----- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c > index 2c3ca9a..7bab7d4 100644 > --- a/src/wcmISDV4.c > +++ b/src/wcmISDV4.c > @@ -317,10 +317,10 @@ static void isdv4InitISDV4(WacomCommonPtr common, const > char* id, float version) > /* length of a packet */ > common->wcmPktLength = ISDV4_PKGLEN_TPCPEN; > > - /* digitizer X resolution in points/inch */ > - common->wcmResolX = 2540; > - /* digitizer Y resolution in points/inch */ > - common->wcmResolY = 2540; > + /* digitizer X resolution in points/m */ > + common->wcmResolX = 100000; > + /* digitizer Y resolution in points/m */ > + common->wcmResolY = 100000; > > /* tilt disabled */ > common->wcmFlags &= ~TILT_ENABLED_FLAG; > @@ -510,7 +510,7 @@ static int isdv4GetRanges(InputInfoPtr pInfo) > (1 << reply.panel_resolution); > > if (reply.panel_resolution) > - common->wcmTouchResolX = common->wcmTouchResolY = 10; > + common->wcmTouchResolX = common->wcmTouchResolY = 10000; > > common->wcmVersion = reply.version; > ret = Success; > -- > 1.7.3.5
if it's always the same, can we have a ISDV4_DEFAULT_RESOLUTION here so the code is easier to understand? Cheers, Peter ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
