Commit Graph

20 Commits

Author SHA1 Message Date
c13fccc4f7 layouts: Fill placeholders with duplicated buttons in terminal-layouts
to reduce changes when switching views.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/703>
2024-11-14 15:50:14 +00:00
8093c363e2 layouts: Add Shift-button to the terminal-layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/698>
2024-11-06 10:26:26 +00:00
e610866129 layouts: Adjust layout-sizes to the correct aspect-ratios
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>
2024-10-18 10:59:54 +00:00
80e7400a7f layouts: Sort outlines alphabetically
and change `special-3` to `special-2` and `special-2` to `special`,
where appropriate.

`default` is still at the top of the lists, to make it easier to find.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/689>
2024-10-09 01:45:53 +02:00
ef016786e7 layouts: Replace altline with special-2 and wide with special-3
to use the same name for the same button-style.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
85a0f79e92 layouts: Clean up spaces in layout-files
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
f6e0deedd7 layouts: Change Shift_L to show_upper
because it is actually not a Shift-key.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/685>
2024-10-07 12:01:00 +00:00
656a598935 layouts: Add English language-names to layout-files
to make it easier to know which language those are for.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/671>
2024-09-05 22:20:16 +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
a6c6946bc9 Layouts: Fix some small inconsistencies and remove unused outlines
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
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
c4af2131fd data/keyboards/terminal/*.yaml: Update terminal-layouts
- Fix highlighting

- Fix sizes of buttons

- Reduce layout-changes when switching views

- Make layouts more consistent

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/626>
2024-03-15 18:01:07 +01:00
e7ff7f410c Change label of "PgUp" and "PgDn", to "Page ↑" and "Page ↓"
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/625>
2024-03-15 13:23:35 +01:00
d299ba070d us.yaml and us_wide.yaml: Change the outline of the period-key
It was styled as a special key before, even though it has no special
function.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/601>
2024-03-07 18:23:14 +01:00
cf2e6151bb us.yaml and us_wide.yaml: Change outline of 123- and ABC-keys to altline
The altline-outline is primarily meant to be used for keys
that change the view, which is what these keys do.

Also changing it on the actions-view would make the layout not align
well anymore, as it is currently not possible to have 2 different
sizes with the altline-styling.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/601>
2024-03-07 18:23:14 +01:00
6f978aee0b Improve layouts of us-terminal-keyboards
This change makes entering paths, URLs, options and pipes easier.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/601>
2024-03-07 18:23:13 +01:00
M33
e49de34d0e Revert "Update tests/meson.build"
This reverts commit 27cd8964d02e957fdecd00bfebc0a03e4b24ffe4
2021-04-01 15:17:53 +00:00