Skip to content

Feat/slewratedetector ONLY split from PR3#185

Open
manoukianv wants to merge 22 commits into
Ultrawipf:developmentfrom
manoukianv:feat/slewratedetector
Open

Feat/slewratedetector ONLY split from PR3#185
manoukianv wants to merge 22 commits into
Ultrawipf:developmentfrom
manoukianv:feat/slewratedetector

Conversation

@manoukianv
Copy link
Copy Markdown
Contributor

i split it from PR3 and rebase it on reconstruction filter

- Change forces array from int64_t to int32_t to avoid unnecessary 64-bit math overhead.

- Deduplicate sine phase calculation using MATH_PI and MATH_SIN macros.

- Restore magnitude/offset assignment in HidFFB instead of EffectsCalculator to maintain separation of concerns.
- Prevents breaking SerialFFB and other sources that don't push samples to the reconstruction filter.
- Use MATH_PI, MATH_SIN, and MATH_COS macros to remove duplicate ifdef blocks for direction calculations.

- Fix Z-axis calculation missing DSP optimizations.
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.

1 participant