Force FeedBack

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by darklordz.

There's already a Joystick Functions in PB ut why not use Direct Input Force feedback Funcs....
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by GPI.

And why there a only a support for one joystick?

I have writte a code, that examine all joysticks (but in the document of MSDN is no Force Feedback...)

PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by darklordz.

There is MSDN Documentation on Force Feedback!
They also have C++ and VB Examples on how to use the direct x api calls to generate effects and sutch....

here's a link
C++
http://msdn.microsoft.com/library/en-us ... frame=true
VB
http://msdn.microsoft.com/library/en-us ... frame=true
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by darklordz.

it would be easy to write force feedback functions but it's hard for me to code in C as im not so experienced. Ive downloaded the DX 9.1 SDK and ive seen samples and it's not that hard realy. Please implement FF in your proram...
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Berikco.

Danilo did an example once to use DX direct from Purebasic, maybe it can help you.
I can't find right now, maybe on the resource site....

Regards,

Berikco

http://www.benny.zeb.be/purebasic.htm
Post Reply