Force feedback
Force feedback
Force feedback
Force feedback
Force feedback
Force feedback Force feedback Force feedback Force feedback Force feedback Force feedback Force feedback Force feedback
Force feedback Force feedback
Force feedback
Go Back  Xtreme Visual Basic Talk > > > Force feedback


Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2009, 12:50 PM
01chris 01chris is offline
Newcomer
 
Join Date: Sep 2009
Posts: 10
Default Force feedback


I have used code from the zip file attached to the 2nd post on the following thread

Looking for a joystick example in VB .NET

Using this I can get input from my controller but I also want to be able to make it rumble using force feedback.

I have found C examples for this but nothing in VB.NET.

Anyone got any ideas how I do this?
Reply With Quote
  #2  
Old 09-23-2009, 01:03 PM
Qua's Avatar
QuaForce feedback Qua is offline
Impetuous & volatile

* Expert *
 
Join Date: Apr 2005
Posts: 2,177
Default

I'm afraid there's not many VB.NET articles describing how to use force feedback. This article on codeproject describes the process of activating FF using managed DirectX. If you're not capable of understanding C#, then any basic C# to VB.NET translator will be able to translate between the languages.
__________________
Reading is the foundation for all knowledge - Unknown.
Reply With Quote
  #3  
Old 09-23-2009, 04:49 PM
01chris 01chris is offline
Newcomer
 
Join Date: Sep 2009
Posts: 10
Default

Qua,

Thanks for the quick reply.

I looked at that example you pointed out and if I run the exe that comes with it, my controller will rumble. I couldn't get it to compile but tbh that doesn't really worry me as I can't work in C# anyway.

I put the code into an online converter and then pasted into VB 2008 and there were loads of issues with it.

I have used my best guesses to put the code in the right places in VB but it doesn't like it. Would you be able to give me a little guidance as to what goes where please?

Thanks
Reply With Quote
  #4  
Old 09-25-2009, 03:44 AM
Qua's Avatar
QuaForce feedback Qua is offline
Impetuous & volatile

* Expert *
 
Join Date: Apr 2005
Posts: 2,177
Default

Most certainly, what are you having issues with? If you're not familiar with C-syntax or C# at all, then I suggest you convert the code to VB.NET using a translator after having read the article.

Post what issues you've with the conversion between the C# and VB.NET.
__________________
Reading is the foundation for all knowledge - Unknown.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Force feedback
Force feedback
Force feedback Force feedback
Force feedback
Force feedback
Force feedback Force feedback Force feedback Force feedback Force feedback Force feedback Force feedback
Force feedback
Force feedback
 
Force feedback
Force feedback
 
-->