Commit Graph

10 Commits

Author SHA1 Message Date
c4e3c32c79 Layouts: Add various small size-improvements and fixes for some layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/654>
2024-05-03 11:14:36 +00:00
466bc4beef Reduce layout-changes when switching views and make layouts more consistent
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>
2024-04-28 14:57:46 +02:00
abc0cc6d0b Layouts: Fix indentation
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:06 +02:00
9c0e14f4a8 Layouts: Use double-quotes more consistently
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:05 +02:00
29b4061ee9 Layouts: Use "change-view"-outline for all view-changing buttons
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:05 +02:00
8599343400 Layouts: Remove "show_numbers_from_symbols" where it is not used
or a copy of "show_numbers".

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/643>
2024-04-18 10:35:04 +02:00
07f797c4b4 Clean up layout-files
- Change text to symbols
- Remove unused button-definitions

This makes these layout-files easier to understand and edit.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/629>
2024-03-19 15:33:59 +00:00
08493ed094 data/keyboards/*.yaml: Indent outline-definitions equally
For better readability.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/610>
2024-03-08 09:31:33 +01:00
f237807522 data/keyboards/*.yaml: Change "abc" to "ABC"
Currently this differs for the same view-change-keys in different layouts.

When the text is "abc", the size of the key's text changes
when toggling between "123" and "abc"; with the text "ABC",
the size remains about the same.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/611>
2024-03-08 00:04:16 +00:00
c3b428e517 Add Czech keyboard layouts
Two variants:

* Czech Standard (= qwertz)

* Czech qwerty

The accented letters layout corresponds to the UCW [1] layout shipped
with xkb, so we follow this precedent.

Like the DE layout, and unlike the US layout, the CZ layout has a
comma key and a narrower space bar. The added comma key also serves as
a visual balance to the added accents key, to keep the spacebar
centered.

The layouts have been tested manually on PinePhone.

[1] c60b77ea51/test/data/symbols/cz (L180)
2020-11-29 17:28:50 +01:00