Re: XInput2
Re: XInput2
- Subject: Re: XInput2
- From: Jeremy Huddleston <email@hidden>
- Date: Tue, 31 Jan 2012 02:12:26 -0800
So we support Xi2, but they choose not to use it because our devices are absolute:
if (class->mode == XIModeAbsolute)
{
TRACE( "Device %u (%s) class %u num %u %f,%f res %u is absolute, not enabling XInput2\n",
devices[i].deviceid, debugstr_a(devices[i].name),
j, class->number, class->min, class->max, class->resolution );
goto done;
}
On Jan 30, 2012, at 3:39 PM, Jonas Maebe wrote:
>
> On 30 Jan 2012, at 20:56, Jeremy Huddleston wrote:
>
>> On Jan 30, 2012, at 5:13 AM, Jonas Maebe wrote:
>>
>>> Do either XQuartz 2.7.0 or 2.7.1_rc1 have XInput2? I'm asking because of http://bugs.winehq.org/show_bug.cgi?id=29732
>>
>> Yes. Both are based on xorg-server-1.11.x
>
> If you look at the complete log of that bug now that it's been fixed, it seems the support is somehow not complete. Or it's at least not detected by wine. The detection is in http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/winex11.drv/mouse.c#l256
>
> The "#ifdef HAVE_X11_EXTENSIONS_XINPUT2_H" gets accepted (since XInput2.h is available), but that code prints the "X Input 2 not available" warning when it's executed. Since on the command line, "xinput -version" returns this:
>
> $ xinput -version
> xinput version 1.5.3
> XI version on server: 2.0
>
> I'm guessing that 1.5.3 is also what wine sees (but I don't know what the distinction is between the "xinput version" and the "XI version on server").
>
>
> Jonas
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> X11-users mailing list (email@hidden)
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
References: | |
| >XInput2 (From: Jonas Maebe <email@hidden>) |
| >Re: XInput2 (From: Jeremy Huddleston <email@hidden>) |
| >Re: XInput2 (From: Jonas Maebe <email@hidden>) |