Post by virtual on Dec 15, 2017 16:59:14 GMT
I have report about vJoy FFB.
- Support only one active effect (EffectBlockIndex always 1).
- DirectInput always see vJoy Devices as FFB Devices despite on settings in vJoyConf.
- DirectInput always see all effect support (even Custom Force) despite on settings in vJoyConf.
Thus, if program see vJoy Device as FFB Device and try to send FFB data to vJoy (with disabled FFB, or with unsupported effect) it cause unexpected error. Workaround is always enable FFB and all effects, but remain unsupported effect "Custom Force".
- Previous I written about "disabled" FFB callback function. After an addition research, I can say the function working fine, but C# marked it as "garbage" (since it not used in managed code). Solution is to use method GC.KeepAlive in end of vJoy FFB code.
- FFB_EFF_REPORT, Description of parameter DirX / DirY: "If Force Direction Cartesian: X direction Positive values are To the right of the center (X); Negative are Two's complement". But DirX / DirY is byte (range 0..255). 0..127 = Positive, 128..255 = Negative? For some unknown reasons I can't test this parameters: vJoy FFB Packet always contain polar coordinates (If to send Cartesian coordinates then get equivalent polar coordinates).
All other things working fine.
I added FFB support (vJoy FFB, DirectInput FFB, vXbox FFB, XInput FFB) to Virtual Controller (sourceforge.net/projects/vjoy-controller/?source=directory).
P.S.: Big thanks to Shaul for vJoy / vXbox: I written FFB modules without real physic FFB device.
- Support only one active effect (EffectBlockIndex always 1).
- DirectInput always see vJoy Devices as FFB Devices despite on settings in vJoyConf.
- DirectInput always see all effect support (even Custom Force) despite on settings in vJoyConf.
Thus, if program see vJoy Device as FFB Device and try to send FFB data to vJoy (with disabled FFB, or with unsupported effect) it cause unexpected error. Workaround is always enable FFB and all effects, but remain unsupported effect "Custom Force".
- Previous I written about "disabled" FFB callback function. After an addition research, I can say the function working fine, but C# marked it as "garbage" (since it not used in managed code). Solution is to use method GC.KeepAlive in end of vJoy FFB code.
- FFB_EFF_REPORT, Description of parameter DirX / DirY: "If Force Direction Cartesian: X direction Positive values are To the right of the center (X); Negative are Two's complement". But DirX / DirY is byte (range 0..255). 0..127 = Positive, 128..255 = Negative? For some unknown reasons I can't test this parameters: vJoy FFB Packet always contain polar coordinates (If to send Cartesian coordinates then get equivalent polar coordinates).
All other things working fine.
I added FFB support (vJoy FFB, DirectInput FFB, vXbox FFB, XInput FFB) to Virtual Controller (sourceforge.net/projects/vjoy-controller/?source=directory).
P.S.: Big thanks to Shaul for vJoy / vXbox: I written FFB modules without real physic FFB device.