Skip to content
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

Request: Ability to change the moving average window #79

Open
riskygames opened this issue May 22, 2023 · 1 comment
Open

Request: Ability to change the moving average window #79

riskygames opened this issue May 22, 2023 · 1 comment
Assignees

Comments

@riskygames
Copy link

Hi there! Many thanks for making this project. I'm trying to use it to diagnose and demonstrate an issue with my keyboard intermittently cutting out. I realised after setting up the program for maximum precision / time resolution that all keystrokes will always be averaged out over the (1 second?) window of the moving average of the graph. It'd be great if this could be customised - a 100ms moving average would be low enough for me. Also some might prefer a slower & smoother updating graph.
Keep up the good work!

@RoanH RoanH self-assigned this May 24, 2023
@RoanH
Copy link
Owner

RoanH commented May 24, 2023

Hey! That's an interesting proposal. I'm honestly not entirely sure yet how much sense this makes as this would essentially be changing the changing the name from KeysPerSecond to KeysPerXms. I know some games prefer to use APM instead so for those cases it might make sense though.

Implementing the feature itself is probably not too much work, but I would like to have some proper way to justify its inclusion. I'm also not entirely sure if this would actually make it possible to detect a keyboard cutting out. For that you'd technically just want to see if the panel for the key you pressed lights up or not, or if a panel flickers without you releasing the key. Panel updates are in real time, so the only thing limiting that is your monitor refresh rate.

As for the graph, if you want it to update slower you have to increase the backlog, potentially by a lot if you set a very high update rate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants