Closed
Conversation
This commit introduces a new acceleration mode called 'No Acceleration'. This mode effectively disables any acceleration curve, resulting in a 1:1 sensitivity mapping. The changes include: - Adding `NoAccel` to the `AccelMode` enum. - Updating the `declare_params!` macro to support modes with no specific parameters, using a ZST for FFI safety. - Implementing `set_all_no_accel` in `ParamStore` and `SysFsStore` (as a no-op, since there are no parameters to set). - Extending the CLI to allow setting and getting parameters for the `NoAccel` mode. - Adding the `no_accel` mode to the kernel driver, including its sensitivity function which always returns `FIXEDPT_ONE`. - Adding a test case for the `no_accel` mode in the driver tests. - Integrating the `NoAccel` mode into the TUI, providing a basic sensitivity graph for it. This new mode provides a clear way to disable acceleration without needing to set other curve parameters to specific values that mimic no acceleration.
🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
This reverts commit 720da83.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
3a8e6c3 to
d17b50d
Compare
d17b50d to
52e7118
Compare
52e7118 to
99e1c2b
Compare
Owner
Author
|
fixed it on the main branch directly and rebased |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.