XInput func param questions

Daniel Stone daniel at
Thu Sep 4 08:26:54 PDT 2008

On Thu, Sep 04, 2008 at 06:51:40PM +0930, Peter Hutterer wrote:
> On Tue, Sep 02, 2008 at 09:31:08PM -0400, Chuck Robey wrote:
> > 2nd, function InitValuatorAxisStruct, the 5th, 6th and 7th (last 3) parameters
> > are "resolution", "min_res", and "max_res".  The two previous parameters (3rd
> > and 4th) are the min_x and max x.  My X and Y are 15 bit unsigned, my Z is 10
> > bit unsigned, so I set all of the min/max_x's to (0-32767),(0-32767), and
> > (0-1023) for X, Y, and Z...  BUT I can't figure out what the heck are those 6th
> > and 7th params (the min_res and max_res).  The min/max_x seem to do the range
> > setting, so I can't guess what those min/max_res things could be good for.  I
> > looked at other drivers, but can't get a clear enough example to do me any good.
> >  Anyone got any idea what this might be?
> probably to set min_resolution and max_resolution, for devices that don't have
> a fixed resolution. Look at the XI protocol spec, there may be something in
> there.

Correct: clients can change resolution.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <>

More information about the xorg mailing list