Re: winex11.drv: Fixed XInput2 errors with mislabeled mice axis. (try 2)

2013-05-04 Thread Alexandre Julliard
Christopher Cope writes: > Can someone provide some follow up on this? There is a problem with > the current code. The way I fixed it allows the end user to set the > mode with xinput. That seems preferable to having to apply a patch to > wine if the mouse in use doesn't work. I'd suggest to fil

Re: winex11.drv: Fixed XInput2 errors with mislabeled mice axis. (try 2)

2013-05-04 Thread Christopher Cope
Can someone provide some follow up on this? There is a problem with the current code. The way I fixed it allows the end user to set the mode with xinput. That seems preferable to having to apply a patch to wine if the mouse in use doesn't work. Christopher Cope wrote: >The way I set it was to

Re: winex11.drv: Fixed XInput2 errors with mislabeled mice axis. (try 2)

2013-05-02 Thread Christopher Cope
The way I set it was to enable with the original labels or absolute label with relative mode. My mouse has absolute labels, but with relative mode set. My mouse won't work correctly without this patch. Relative and absolute mode can be set relatively easily. Alexandre Julliard wrote: >Christo

Re: winex11.drv: Fixed XInput2 errors with mislabeled mice axis. (try 2)

2013-05-01 Thread Alexandre Julliard
Christopher Cope writes: > @@ -286,8 +286,10 @@ static void enable_xinput2(void) > class->number, class->min, class->max, class->resolution, > class->mode, > XGetAtomName( data->display, class->label )); > if (class->label == x11drv_atom( Rel_

Re: winex11.drv: Fixed XInput2 errors with mislabeled mice axis.

2013-04-27 Thread Dmitry Timoshkov
"Cope, Christopher Edward" wrote: > @@ -1638,16 +1636,14 @@ static void X11DRV_RawMotion( XGenericEventCookie > *xev ) > if (XIMaskIsSet( event->valuators.mask, class->number )) > { > double val = *values++; > -if (class->label == x11drv