add mode to further improve input latency while maintaining accuracy #8

Merged
Naxdy merged 7 commits from work/superhack-input-mode into main 2024-04-08 20:53:24 +00:00
Owner

This feels even hackier than consistency mode... we hold off on writing USB reports until the button state actually changes. Passes the input integrity benchmark with ~99.6%, but that doesn't mean much since the challenge is preserving input integrity for inputs less than 8.33ms apart.

Current rate limiter looks good from initial measurements, so will probably merge this at some point and leave it up to users to try the mode out or not. For now, I'd still recommend regular consistency mode, it's still hacky, but way less than this.

Also, not breaking because the new enum for input consistency mode is backward compatible with the bool.

This feels even hackier than consistency mode... we hold off on writing USB reports until the button state actually changes. Passes the input integrity benchmark with ~99.6%, but that doesn't mean much since the challenge is preserving input integrity for inputs less than 8.33ms apart. Current rate limiter looks good from initial measurements, so will probably merge this at some point and leave it up to users to try the mode out or not. For now, I'd still recommend regular consistency mode, it's still hacky, but way less than this. Also, not breaking because the new enum for input consistency mode is backward compatible with the bool.
Naxdy added the
enhancement
label 2024-04-04 16:54:19 +00:00
Naxdy added 2 commits 2024-04-04 16:54:20 +00:00
Naxdy force-pushed work/superhack-input-mode from 7f675c895d to e9d37961b0 2024-04-05 10:21:59 +00:00 Compare
Naxdy force-pushed work/superhack-input-mode from e9d37961b0 to 0c53e49a50 2024-04-05 10:41:28 +00:00 Compare
Naxdy force-pushed work/superhack-input-mode from 0c53e49a50 to 7f675c895d 2024-04-05 11:01:29 +00:00 Compare
Naxdy force-pushed work/superhack-input-mode from 7f675c895d to db7391f9d3 2024-04-05 11:01:42 +00:00 Compare
Naxdy added 1 commit 2024-04-05 11:03:31 +00:00
fix clippy
All checks were successful
Code quality / check (pull_request) Successful in 1m36s
8681239ef5
Naxdy changed title from WIP: add mode to further improve input latency while maintaining accuracy to add mode to further improve input latency while maintaining accuracy 2024-04-05 11:06:12 +00:00
Naxdy added 1 commit 2024-04-05 11:51:04 +00:00
chore: clarify super hack
All checks were successful
Code quality / check (pull_request) Successful in 1m42s
96e280694b
Naxdy force-pushed work/superhack-input-mode from 96e280694b to 25b8986a1f 2024-04-05 11:52:35 +00:00 Compare
Naxdy changed title from add mode to further improve input latency while maintaining accuracy to WIP: add mode to further improve input latency while maintaining accuracy 2024-04-05 21:42:12 +00:00
Naxdy changed title from WIP: add mode to further improve input latency while maintaining accuracy to add mode to further improve input latency while maintaining accuracy 2024-04-08 20:37:46 +00:00
Naxdy force-pushed work/superhack-input-mode from 25b8986a1f to c27ac35d5e 2024-04-08 20:38:03 +00:00 Compare
Naxdy force-pushed work/superhack-input-mode from c27ac35d5e to 61e7d9f864 2024-04-08 20:38:32 +00:00 Compare
Naxdy added 1 commit 2024-04-08 20:40:01 +00:00
fix: disable input integrity benchmark by default
Some checks failed
Code quality / check (pull_request) Has been cancelled
16ecb70f35
Naxdy force-pushed work/superhack-input-mode from 16ecb70f35 to 3dac2639a6 2024-04-08 20:40:58 +00:00 Compare
Naxdy added 1 commit 2024-04-08 20:47:02 +00:00
chore(main): remove unused import
All checks were successful
Code quality / check (pull_request) Successful in 1m35s
fe8d358d56
Naxdy force-pushed work/superhack-input-mode from fe8d358d56 to 36d8c42d50 2024-04-08 20:47:15 +00:00 Compare
Naxdy added 1 commit 2024-04-08 20:48:42 +00:00
chore: clippy concurrency
Some checks failed
Code quality / check (pull_request) Has been cancelled
e444cffeb6
Naxdy force-pushed work/superhack-input-mode from e444cffeb6 to f4b896ec29 2024-04-08 20:48:59 +00:00 Compare
Naxdy force-pushed work/superhack-input-mode from f4b896ec29 to 334022ed98 2024-04-08 20:49:27 +00:00 Compare
Naxdy force-pushed work/superhack-input-mode from 334022ed98 to 36d8c42d50 2024-04-08 20:49:42 +00:00 Compare
Naxdy added 1 commit 2024-04-08 20:49:47 +00:00
chore: clippy concurrency
Some checks failed
Code quality / check (pull_request) Has been cancelled
9881f6cbd7
Naxdy force-pushed work/superhack-input-mode from 9881f6cbd7 to 9052c2f0a0 2024-04-08 20:51:04 +00:00 Compare
Naxdy force-pushed work/superhack-input-mode from 9052c2f0a0 to 24062dbd34 2024-04-08 20:51:11 +00:00 Compare
Naxdy merged commit 702cbe5eb0 into main 2024-04-08 20:53:24 +00:00
Naxdy deleted branch work/superhack-input-mode 2024-04-08 20:53:24 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: NaxdyOrg/NaxGCC-FW#8
No description provided.