Xbox 360 controller, xinput9_1_0 and Overlord

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to get a brand new Xbox 360 controller to work with Overlord in
Wine. The gamepad works flawlessly with at least one other game under Wine,
namely Everyday Shooter, but not at all in this game. Both run under Steam.

Strace reveals that the joystick devices are never opened or stat'd, where
it shows that Everyday Shooter does open them. Overlord uses xinput9_1_0,
which currently seems to be stubbed out to the native library. I have the
game's own version and directx installed with winetricks, and I've also
tried replacing xinput9_1_0 with the newer xinput1_3, to no avail. I guess
the native xinput9 doesn't know anything about Linux joystick devices. I've
also tried using native dinput.dll and dinput8.dll, to no avail as well.
Keyboard/mouse also work in game, if that is enabled; when gamepad mode is
enabled nothing moves the character.

I'm wondering if anybody has any ideas on what could take to fix this. I'm a
programmer, but I've never developed for Wine, and I've done very little
Windows programming. I can catch up quickly, but a nod in the right
direction would be very helpful. Would it be possible to implement the
basics of this library using the current joystick support in Wine? By this
support I mean whatever Everyday Shooter, which doesn't seem to be
specifically designed for the Xbox 360 controller, is currently using. If
not, where can I lookup more information on APIs and expected
implementations? I have the pad, so access to the hardware should pose no
problems.

I've copied Andrew Fenn on this e-mail, since he has contributed the stubs,
and seems to have done some extra work with the controller on the side.

Any guidance will be vastly appreciated,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-users/attachments/20091124/0365ab54/attachment.htm>


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux