Skip to content

Added more options to control the Custom Curve#103

Draft
anengineer1 wants to merge 1 commit into
AndyFilter:masterfrom
anengineer1:feature/custom_curve
Draft

Added more options to control the Custom Curve#103
anengineer1 wants to merge 1 commit into
AndyFilter:masterfrom
anengineer1:feature/custom_curve

Conversation

@anengineer1
Copy link
Copy Markdown

@anengineer1 anengineer1 commented May 18, 2026

Greetings, I've been studying what people do with a mouse accel software called Custom Curve and 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).

image

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.2f why 0.2?

Thank you a lot for your work. I love this driver.

@anengineer1 anengineer1 force-pushed the feature/custom_curve branch from 02e4d34 to 1394ec3 Compare May 19, 2026 21:55
@anengineer1 anengineer1 marked this pull request as draft May 19, 2026 22:10
@anengineer1
Copy link
Copy Markdown
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.

@anengineer1 anengineer1 force-pushed the feature/custom_curve branch from 1394ec3 to ba828f5 Compare May 19, 2026 22:40
- 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
@anengineer1 anengineer1 force-pushed the feature/custom_curve branch from ba828f5 to c09ab6e Compare May 19, 2026 22:52
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