DirectInput: GetEffectInfo throws Exception #376
Answered
by
piotrek1668
piotrek1668
asked this question in
Q&A
-
I have configured a steering device with Vortice.DirectInput and try to get the EffectInfo for EffectGuid.Sine but I always get an DIERR_INVALIDPARAM Exception. The device without force feedback effects works well, so I think there is no problem. First I make sure the device supports ForceFeedbackDriver, than I create an EffectInfo instance and try to get the info like this:
Anyone an idea what is going wrong here? |
Beta Was this translation helpful? Give feedback.
Answered by
piotrek1668
Jan 10, 2023
Replies: 1 comment
-
So I have found a workaround. Here it is:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
piotrek1668
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I have found a workaround. Here it is: