944,196 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 4836
  • C# RSS
Dec 27th, 2006
0

Gamepad in C#

Expand Post »
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.
Similar Threads
Reputation Points: 14
Solved Threads: 0
Light Poster
Maidomax is offline Offline
39 posts
since Dec 2006
Jan 2nd, 2007
0

Re: Gamepad in C#

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
Reputation Points: 28
Solved Threads: 4
Posting Whiz in Training
Lord Soth is offline Offline
233 posts
since Mar 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: How to start with learn C#
Next Thread in C# Forum Timeline: Shut Down in C#





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC