954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Gamepad in C#

Hi, guys.
I have a gamepad, with vibration and analog control. Can anyone tell me if i could read the input from the gamepad (including the analog sticks), and make it vibrate from C#?
Thanks.

Maidomax
Light Poster
39 posts since Dec 2006
Reputation Points: 14
Solved Threads: 0
 

Hi,

You can either use P/Invoke to access Win32 Api calls, it supports analog reading but I don't think it supports vibration. You better use Managed DirectX 9 classes to use DirectInput.

Loren Soth

Lord Soth
Posting Whiz in Training
233 posts since Mar 2006
Reputation Points: 28
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You