-
Notifications
You must be signed in to change notification settings - Fork 3
Minor carry timeout, formula letters, fixes and doc nitpicks #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: maccel-dev
Are you sure you want to change the base?
Changes from 1 commit
39c6a97
51f1691
6f56b7b
b8662f3
ec76f8b
9f9693b
e8c6d29
1d285de
0817331
e164bc3
426ba61
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -157,8 +157,8 @@ report_mouse_t pointing_device_task_maccel(report_mouse_t mouse_report) { | |
| const mouse_xy_report_t x = CONSTRAIN_REPORT(new_x); | ||
| const mouse_xy_report_t y = CONSTRAIN_REPORT(new_y); | ||
|
|
||
| // console output for debugging (enable/disable in config.h) | ||
| #ifdef MACCEL_DEBUG | ||
| // console output for debugging (enable/disable in config.h) | ||
| const float distance_out = sqrtf(x * x + y * y); | ||
| const float velocity_out = velocity * maccel_factor; | ||
| printf("MACCEL: DPI:%5i Tko:%6.3f Grw:%6.3f Ofs:%6.3f Lmt:%6.3f | Acc:%7.3f V.in:%7.3f V.out:%+8.3f D.in:%3i D.out:%+8.3f\n", device_cpi, g_maccel_config.takeoff, g_maccel_config.growth_rate, g_maccel_config.offset, g_maccel_config.limit, maccel_factor, velocity, velocity_out - velocity, CONSTRAIN_REPORT(distance), distance_out - CONSTRAIN_REPORT(distance)); | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Quote @Wimads:
I do not have a strong opinion on this.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Will separate it in x2 commits, one capitalizing letters, another one showing the outputs as ± diffs. You really have to run the code to judge the change, by watching the debug-print as you slowly move the mouse to see wether you like the results.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps make it V.diff instead of V.out? That would seem more intuitive to me. |
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.