Discussion:
XInput in c# (sdk november 2008)
(too old to reply)
Velislav
2008-12-06 06:00:19 UTC
Permalink
Hi,

i'm just starting to play around with directx and i've read a few
articles on the internet that use xinput to interface with the xbox
controller.

but when i try to use it in my c# app, i can't seem to find the
correct assembly to reference.
from what I understand, it's supposed to be in Microsoft.DirectX.dll
(namespace Microsoft.DirectX.XInput) but that doesn't get resolved
when i add the reference.

am i missing something? should i maybe try an earlier version of the
sdk?

any input would be appreciated.

Thanks,
Velislav
Chuck Walbourn [MSFT]
2008-12-12 22:23:24 UTC
Permalink
Managed DirectX (1.1) is deprecated and has been for some time. It has no
support for XINPUT, XAUDIO2, XACT, D3DX10, Direct3D 10, or any version of
D3DX9 after April 2006.

You may want to consider checking out XNA Game Studio. Version 3.0 was just
released, and this includes a cross-platform input system built on XINPUT.
--
-Chuck Walbourn
SDE, XNA Developer Connection

This posting is provided "AS IS" with no warrenties, and confers no rights.
Loading...