Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Thread: Force Feedback dll - Struggling a year now.

  1. #11
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Force Feedback dll - Struggling a year now.

    Quote Originally Posted by Grendelus
    Just for clarification since I've never worked with it myself, is Forced Feedback exclusive to DirectInput?
    Yes, since it is a DirectX feature.
    :? So no FFB on Linux I guess... I'll have to keep that in mind I guess.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  2. #12

    Force Feedback dll - Struggling a year now.

    I believe there were headers for linux somewhere. FFB exists for linux, it just does not use directInput.

    Man, I still can't believe how hard it is to implement Force Feedback into my game by making a dll with Delphi. If you search for C++ tutorials, you'll find anything but nothing for Delphi! That's obsurd.

  3. #13
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Force Feedback dll - Struggling a year now.

    I use OpenGL and SDL for my games and I plan on porting to Linux/Mac OS X so DirectInput is out of the question for me.

    Though I can see 1 or 2 games which would make FFB neat to add to. [size=9px](With the option to turn it off of course as some may not like it.)[/size]

    But if there is not a non-DirectX solution then I'll just have to forget about it.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  4. #14

    Force Feedback dll - Struggling a year now.

    But if there is not a non-DirectX solution then I'll just have to forget about it.
    Why?


    I just figured out that joystick and gamepad force feedback handlings are different? :shock:

    In DelphiX there is a Dinput component which has a list for importing .ffe (force feedback effect files). I tried to import a ffe which worked with the trial dll I used and threw out an invalid stream error! Is it because DelphiX FFB is meant only for Joysticks and not gamepads!? :shock: :shock:

  5. #15
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Force Feedback dll - Struggling a year now.

    Quote Originally Posted by Grendelus
    But if there is not a non-DirectX solution then I'll just have to forget about it.
    Why?
    Well...
    Quote Originally Posted by WILL
    I use OpenGL and SDL for my games and I plan on porting to Linux/Mac OS X so DirectInput is out of the question for me.
    ...I think that about sums it up.

    As nice as FFB is (Joystick or gamepad, which in it's self is an interesting issue), I'd much prefer to make my game than spend all that time just making the gamepad/joystick vibrate. :? So unless it's readily available for me to use as a cross-platform library, I'll likely not be seeking it out.


    But more on topic with your discussion; I think the main reason for Joystick and Gamepad FFB being so different is that with a joystick you can simulate flying a real plane or firing a gun where there is either mechanical forces or kickback based on the simulated device you are controlling. Where as with a gamepad, the simulation is somewhat lessened and you're focusing more on max control functioning than simulation.

    So in short, my theory is that the two types of controllers have a different branch in function so different usage of FFB.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  6. #16

    Force Feedback dll - Struggling a year now.

    In DelphiX there is a Dinput component which has a list for importing .ffe (force feedback effect files). I tried to import a ffe which worked with the trial dll I used and threw out an invalid stream error! Is it because DelphiX FFB is meant only for Joysticks and not gamepads!? Shocked Shocked
    I doubt it... i own a speedlink gamepad and i can have tested it with delphix. As far as i can remember, it worked :?
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  7. #17

    Force Feedback dll - Struggling a year now.

    chronozphere do you happen to have an .ffe file that worked with DelphiX?

  8. #18

    Force Feedback dll - Struggling a year now.

    The directX SDK contains a force feedback editor which works for me.

    I couldn't get the Delphix condition example working but the Machinegun example DID work :lol:
    The delphix-effect-editor did work but does not alway's work :? Don't know why.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  9. #19

    Force Feedback dll - Struggling a year now.

    DelphiX editor does not work for me.

    I can't find the fedit.exe in my sdk. Can you please upload a ffe file that works for you?

  10. #20

    Force Feedback dll - Struggling a year now.

    Just tested... and it seems that all the FFE files that came with DelphiX worked :lol:

    At the moment i dont have time to upload it.... you probably allready have the files that work for me (just the delphix sample FFE's).

    This might be a local problem with your PC.
    Does your gamepad work with other games/apps who have FFB?? please try to find that out.

    If i'm ready to code the input-module for my engine.. i'll give you some FFB sources which work for me, if i can make it work. :razz:
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •