Added more options to control the Custom Curve#103
Draft
anengineer1 wants to merge 1 commit into
Draft
Conversation
02e4d34 to
1394ec3
Compare
Author
|
I'm sorry, I'm converting this into a draft, I did review the code and did more testing and it still needs work. |
1394ec3 to
ba828f5
Compare
- Update `BezierCalc` and derivative helpers to switch between cubic, quadratic, and linear modes based on active control points. - Add UI checkboxes in the curve editor to enable/disable control points. - Update serialization (Export/Import) as now new information is needed to keep track of the enabled/disabled control points
ba828f5 to
c09ab6e
Compare
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.
Greetings, I've been studying what people do with a mouse accel software called
Custom Curveand I wanted YeetMouse to have more of that functionality.I considered building on top of you approach and use the quadratic function present in the ImGui stack.
Better to show with a video:
Screencast.From.2026-05-18.20-35-50.mp4
Now you can more easily have curves like "precision" with this new functionality (yes, that profile is quite popular among 1 frame flickers).
I'm sorry for saying this but it seems that something in master broke the action of refreshing curve when one drags control points (I tested master without my changes and it doesn't work). The demo I made was made before I rebased the commit with the latest changes from master. (see issue #102)
Btw, why this limit?
#define CURVE_POINTS_MARGIN 0.2fwhy 0.2?Thank you a lot for your work. I love this driver.