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

QukeysConfig: New plugin to allow configuring some aspects of Qukeys #1344

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

algernon
Copy link
Contributor

This is a very bare-bones plugin that lets us configure some aspects of Qukeys (mainly timeouts and intervals and the like) at runtime via Focus, and stores those settings in EEPROM. It does no attempt at making it possible to configure custom Qukeys at this time.

It's a work in progress, but I'm opening the PR to solicit feedback on the direction it's going. There are no docs yet - I'll write those once the code is more solid. I also opted to touch the core Qukeys plugin as little as possible: I only added some getters. The could be a little shorter, and a tiny bit more efficient if we collected the settable things in a struct within Qukeys. We could then make QukeysConfig a friend class of it, and access those settings directly, without having to copy them to a temporary struct. But that'd require more changes to Qukeys itself, and I wanted to avoid the noise at first.

The config plugin does only the bare minimum to allow configuring the various
timeouts and intervals Qukey makes tweakable. It does no attempt at allowing
setting up custom Qukeys.

Signed-off-by: Gergely Nagy <[email protected]>
@algernon algernon added enhancement New feature or request plugin:qukeys Issues related to Qukeys labels May 16, 2023
@algernon algernon self-assigned this May 16, 2023
@obra
Copy link
Member

obra commented Apr 23, 2024

Since @EvyBongers was asking on Discord, I believe that the state of this PR is "someone needs to test it out and give it a thumbs up"
It many need updates for how we do 'help' commands now.
And also update the loading to match the newer style that caused so many headaches in 0.92
In an ideal world, we'd also get a testing/device-testing/ script that exercises all the settings in the plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin:qukeys Issues related to Qukeys
Projects
Development

Successfully merging this pull request may close these issues.

2 participants