So far, shotman
runs perfect on mobile. However, the lack of buttons makes it really awkward to use.
I'm sure there's use cases for buttons on setup with pointing devices too.
Let's add some simple old school pixel-drawn buttons.
Try out this for rendering text: https://github.com/pop-os/cosmic-text
cosmic-text doesn't seem like the right fit for this. It supports a lot of advanced functionality that I don't need but seems to be quite a bit heavyweight.
- https://github.com/hecrj/wgpu_glyph seems widely used and supported. Would need to check out that dependencies are not too heavy and doesn't impact start-up too much.
- https://docs.rs/font-kit/latest/font_kit/ is simple, but might make builds more complex (depends on freetype development headers on the host).
- https://github.com/alacritty/crossfont seems focused on a specific use case and might be a bad fit for this.
A far simpler alternative might be pixel-drawn text (e.g.: 1989-style). This would, however, never scale for localisation.
Using pangocairo (as done by wlr-which-key: https://github.com/MaxVerevkin/wlr-which-key ) is likely best; it's a well tested approach and there's several example projects out there doing the same thing.