[dinput 4/5] Add a config for the axes

Christoph Frick frick at sc-networks.de
Mon Jan 15 13:03:25 CST 2007


On Mon, Jan 15, 2007 at 10:42:10AM -0700, Vitaliy Margolen wrote:

> >          df->rgodf[idx++].dwType = DIDFT_MAKEINSTANCE(axis++) | DIDFT_ABSAXIS;
> >      }
> > -    for (i = 0; i < 4; i++)
> > +
> > +    idx = WINE_JOYSTICK_MAX_AXES;
> Why are you creating a gap? This is exactly the point here to skip all
> the objects that we do not have. And they all need to be sequential in
> godf - no gaps. Otherwise you braking EnumObjects.

you are right. funny thing is - everything works with this patches :/ i
will drop the two idx assigns and resubmit the patch.

-- 
cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070115/3b63c1b8/attachment.pgp


More information about the wine-devel mailing list