Xbox 360 controller compatibility

Austin English austinenglish at
Sun Mar 20 15:46:34 CDT 2011

On Sun, Mar 20, 2011 at 15:40, Roderick Colenbrander
<thunderbird2k at> wrote:
> On Sun, Mar 20, 2011 at 1:26 PM, Alesh Slovak <aleshslovak at> wrote:
>> On 21 March 2011 00:21, Vitaliy Margolen <wine-devel at> wrote:
>>> On 03/20/2011 08:20 AM, Alesh Slovak wrote:
>>>> I am interested in getting the Xbox 360 controller working in wine.
>>> You'll need to implement xinput*.dll which is an empty stub in Wine.
>> Do you know if there has been any previous effort that I can take a look
>> at/use as a starting point? I found lots of references to such efforts, but
>> they all seemed to fizzle out and there was never any code.
> There are some patches still around (would have to look them up) and
> they work. The xinput API is very trivial. Essentially there is only
> one real call there and that's to poll the device. The API is not so
> nice though, because xinput was written in such a way that you can add
> a controller whenever you want throughout the lifetime of the game.
> The also 'nice' thing is that when you plug in a second controller, it
> may actually become the 'first' controller (there is no guarantee) and
> the first would become the second. A correct implementation would
> 're-probe' for joysticks every 'poll' command :(


More information about the wine-devel mailing list