Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: support start delay parameter #33

Open
jmriego opened this issue Feb 22, 2021 · 3 comments
Open

feature request: support start delay parameter #33

jmriego opened this issue Feb 22, 2021 · 3 comments

Comments

@jmriego
Copy link

jmriego commented Feb 22, 2021

would it be possible to add support for the start delay parameter?

this parameter makes the effect start a certain number of milliseconds after the effect is played. This is used for example in the ForceTest.exe test script for playing the grooves effect which is basically feeling a bump with a certain frequency

@ej113
Copy link
Collaborator

ej113 commented Aug 19, 2023

Both StartDelay and LoopCount parameters would be needed in order to implement this effect. The FFP doesn't appear to support either - I haven't found any trace of them and the API documentation also indicates they are not supported.

The only way this could be implemented is in the adapter itself. It would need to send repeat "Start Effect" messages to the joystick with a timed interval between them and also track the number of times the effect had played and whether the effect was supposed to be stopped.

This grooves effect is implemented in FS Force. However Dirk also provided a configurable software alternative that sends a repeat "Start Effect" since the Saitek joysticks don't appear to support StartDelay either.

@jmriego
Copy link
Author

jmriego commented Aug 21, 2023

thanks for your reply! I ended up creating a different repo https://github.com/jmriego/Fino for using an Arduino as a FFB and included the code there if you want to refer to it. The most important file for you would be Joystick.cpp

I'm fine to close this ticket unless you want to keep it open for discussion. Thanks!

@ej113
Copy link
Collaborator

ej113 commented Aug 22, 2023

Neat, that could be handy. I would leave it open since it is still a potential feature, even if not supported originally by FFP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants