Open samcday opened 4 months ago
I think it should be possible to construct a QuickSettings subclass from phrog and get it noticed in the plugin system without too much effort?
That's what I'm hacking on this evening.
Implemented in 8f000e49b93b4cf2d85e70f778501239882f81b5
Reopening because this isn't quite done yet. Now that phrog is using upstream libphosh releases, I'm waiting on this MR to land (hopefully in 0.42.x): https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1494
In the meantime, I could keep the code properly included and built in CI, but gated behind a Cargo feature and excluded from distro packaging.
I need to get #37 done before this, as it requires a patch that I've opened upstream but hasn't landed yet (and I have no idea if it will, actually...)
The feature is back in main
, behind a cargo feature flag that is only enabled for the static vendored build. It has a basic test that verifies the behaviour and provides a solid bit of footage for #18
The necessary plugin changes in upstream Phosh have landed and will be released in 0.42.0
, so I can enable this feature properly soon enough. I'll keep the issue open until then.
@agx here is a GIF for your viewing pleasure :sweat_smile:
(not sure why the second test case is included in that recording. I only just landed the code that adds a second integration test so obviously something has gone slightly awry :upside_down_face: )
https://phosh.mobi/posts/custom-plugins-dev/
Idea: add a toggle to switch keypad shuffle on/off