and fix some other issues, to make the layouts more consistent.
The aspect-ratios of the layouts,
should now match the intended aspect-ratios (12:7 and 16:5),
with 3 decimal-digits of precision; either exactly,
or rounded to be a little more square,
so that the entire height of the panel will be used.
Adding 0.001 to `width` in the `default`-outlines of the layouts,
would make the layouts a little wider than the intended aspect-ratio.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/691>
An input-device should generally not change shape/functionality during use,
unless there is a good reason for that and it is clearly indicated
when that happens, as otherwise it will be more complicated
and exhausting to use, and learn to use, the input-device.
To improve that, this commit will:
- Make it so that the space-bar, view-switching buttons, backspace-button,
and return-button will not move around when switching views.
- Add placeholder-buttons and/or stretch buttons to fill gaps.
- Remove buttons that are duplicated in the same view.
- Add buttons for entering commas, on the base-views of some layouts.
- Make the shape of layouts fit into a rectangular space; usually
without empty space.
- Align layouts more closely to the expected aspect-ratios, to reduce
changes when switching between languages, and use more of the available
space.
Other changes:
- `.`-buttons are generally not highlighted anymore.
- On the layouts `gr` and `gr+polytonic`, the highlighting for punctuation
has been switched to `subtle-highlight` from `special`, so those can be
visually distinguished from buttons with special functionality.
- The Spanish characters `ñ` and `Ñ` on the `French (Swiss)`-layout (ch+fr)
were making the layout wider than it should be.
As there was no other appropriate place for those buttons,
and the layout is meant for entering French, not Spanish,
those buttons have been removed from the layout.
Some layouts have been changed much:
- gr+polytonic (which requires more work, but it is much more usable now)
- ir
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/646>
to make those distinguishable from other highlighted buttons.
The border at the bottom makes it look like a stack of buttons
that will be put into position when tapping the view-changing buttons.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/635>
WIP
WIP: keymap generation test passes
meta: Update features and version
WiP: cargo.lock
WIP: don't crash
WIP: no outlines
parsing: New tests
WIP: base level works
WIP: remove old keyboard
symbols correctly input
WIP: lodaing files
WIP: fallback works
Valid fallback