Xinput / DirectInput xbox360 controller support

Alexandre Julliard julliard at winehq.org
Wed Jun 16 16:42:29 CDT 2010


Roderick Colenbrander <thunderbird2k at gmail.com> writes:

> I'm wondering how to proceed with XInput. My main issue is the
> 'joystick access part'. Would it be fine to directly access the
> controller from Xinput (so we would need multiple hardware backends
> later on). Code size won't be a problem though since XInput doesn't
> support much functionality at all (the current mostly working version
> is less than 500 lines of code; half of that is for the Linux
> backend). One small issue is though that DirectInput and XInput might
> have to cooperate since typically games use DirectInput to enumerate
> all joysticks, see for instance

That sort of thing should really go through X11.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list