Skip to content

Fix WIP effect types Constant, Ramp, and Condition#1

Open
google-labs-jules[bot] wants to merge 1 commit intomasterfrom
fix-ffb-effects-15145853833366608939
Open

Fix WIP effect types Constant, Ramp, and Condition#1
google-labs-jules[bot] wants to merge 1 commit intomasterfrom
fix-ffb-effects-15145853833366608939

Conversation

@google-labs-jules
Copy link
Copy Markdown

Fixes an issue where most Force Feedback effects (Constant, Ramp, Condition) did not work because their parameters were not being correctly passed down to the SDL structures.

Fixes DMJC#3


PR created automatically by Jules for task 15145853833366608939 started by @arran4

* Added `level`, `start_strength`, and `end_strength` to `FFDEffect`.
* Populated the missing fields in `ffb.cpp` for Constant and Ramp effects.
* Fixed the Condition effect by unconditionally writing to axes indices.
* Addressed `switch` statement fallthroughs in `ffb.cpp`.
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

Successfully merging this pull request may close these issues.

Force Feedback Effects don't work for most effect types.

0 participants