Replies: 1 comment 1 reply
-
I guess this seems to be the solution (untested): ef = ffbDevice.CreateEffect(data.effect.effectGuid, eParams); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thx for your project!
I am working on a small Force Feedback Joystick Project (see https://github.com/MadCatX/FFBInspector) to translate from the old SlimDX to Vortice.Windows and i have a small problem with the IDirectInputEffect class.
The original code from SlimDX is
I am lookin for the corresponding code in Vortice and IDirectInputEffect is not working in the same way and my directx c# isn't good enough to understand how it's working. Can you help me out?
Here are the actual definition for the variables in Vortice
private IDirectInputDevice8 ffbDevice;
DataClasses.FFBEffectData data
EffectParameters eParams = new EffectParameters();
If the conversion works i will upload it to my GitHub Repo.
Thx forward.
Beta Was this translation helpful? Give feedback.
All reactions