XInput [1/4]: Implement XInputGetState

Michael Gruber lists.mg at googlemail.com
Wed Jul 15 11:38:49 CDT 2009


On Wed, Jul 15, 2009 at 17:37, Detlef Riekenberg<wine.dev at web.de> wrote:
> On Do, 2009-07-09 at 12:50 +0200, Michael Gruber wrote:
>> On Thu, Jul 9, 2009 at 09:50, Stefan Dösinger<stefandoesinger at gmx.at> wrote:
>> > Is it possible to implement XInput on top of DirectInput? DirectInput
>> > already has some internal abstraction layers for differnet joystick APIs,
>> > and has basic support for OSX joysticks.
>>
>> I actually wrote an implementation on top of DirectInput earlier, but
>> I ditched it since I couldn't get the features to work that I wanted.
>
> Can it work the opposite way (DirectInput on top of XInput)?
>
> --
>
> By by ... Detlef

No, not even the Joystick part of DirectInput could be implemented on
top of XInput for various reasons: For example DirectInput supports
lots of ForceFeedback options while XInput supports only rumble. Also,
the number of XInput devices is limited to 4.



More information about the wine-devel mailing list