Skip to content

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.

algernon added 2 commits May 16, 2023 13:46
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.

3 participants