Gamepad in C#

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2006
Posts: 39
Reputation: Maidomax is an unknown quantity at this point 
Solved Threads: 0
Maidomax Maidomax is offline Offline
Light Poster

Gamepad in C#

 
0
  #1
Dec 27th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2006
Posts: 233
Reputation: Lord Soth is an unknown quantity at this point 
Solved Threads: 4
Lord Soth's Avatar
Lord Soth Lord Soth is offline Offline
Posting Whiz in Training

Re: Gamepad in C#

 
0
  #2
Jan 2nd, 2007
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
Best regards,
Loren Soth

Crimson K. Software _________________________________________________________________ Crimson K. Blog
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC