Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: How to create force feedback Effect?

  1. #11

    How to create force feedback Effect?

    :shock: So sory for my bad english again ops: ops: :lol: :lol:

    structure structure structure structure structure structure structure structure structure structure structure structure structure structure
    structure structure structure structure structure structure structure structure structure structure structure structure structure sructure structure structure structure structure structure structure structure structure structure structure structure structure structure structure

    OK. I remeber that
    www.SIAMTIP.COM

  2. #12

    require d3dx9xofab.dll

    OK. I download new header from CVS but it require d3dx9xofab.dll file.
    Where download this file?

    ------------------------------------------------------------------------------
    To be sure you compiling to correct code, just edit your existent DirectInput.pas so it will look like this: Pascal Code:
    DIEFFECT = packed record
    dwSize: DWORD; (* sizeof(DIEFFECT) *)
    dwFlags: DWORD; (* DIEFF_* *)
    dwDuration: DWORD; (* Microseconds *)
    dwSamplePeriod: DWORD; (* Microseconds *)
    dwGain: DWORD;
    dwTriggerButton: DWORD; (* or DIEB_NOTRIGGER *)
    dwTriggerRepeatInterval: DWORD; (* Microseconds *)
    cAxes: DWORD; (* Number of axes *)
    rgdwAxes: PDWORD; (* Array of axes *)
    rglDirection: PLongint; (* Array of directions *)
    lpEnvelope: PDIEnvelope; (* Optional *)
    cbTypeSpecificParams: DWORD; (* Size of params *)
    lpvTypeSpecificParams: Pointer; (* Pointer to params *)
    //{$IFDEF DIRECTINPUT_VERSION_6}
    dwStartDelay: DWORD; (* Microseconds *)
    //{$ENDIF} (* DIRECTINPUT_VERSION >= 0x0600 *)
    end;

    Sure. My compiling to correct code.
    www.SIAMTIP.COM

  3. #13

    How to create force feedback Effect?

    Ok, download updated headers once more. Now official release is available (dated 14-Sep-2004). Available both at SourceForge file release system and clootie.narod.ru.

    In these headers D3DX9File unit is intergated in d3dx9.pas and don't require specail DLL, just default d3dx92ab.dll.
    There are only 10 types of people in this world; those who understand binary and those who don't.

  4. #14

    How to create force feedback Effect?

    Thanks.
    www.SIAMTIP.COM

  5. #15

    My Finish Code

    Every one can download my finished code at http://berry.cpe.mut.ac.th/~comclub/FF.exe (219 K Byte include source and EXE file)
    *************************************************
    Thanks alot for clootie you are great person for me. .
    I hope you can fix my source code to right gramma in delphi standart source code and send that to public.
    *************************************************
    sorry for my bad english again. ops:
    www.SIAMTIP.COM

Page 2 of 2 FirstFirst 12

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
  •