Commit Graph

19 Commits

Author SHA1 Message Date
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
31ad8f9c93 Add border at the bottom of view-changing buttons
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>
2024-04-08 21:16:23 +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
585ed5e97d input_method: Use for erasing 2020-01-23 15:39:40 +00:00
5e700219f9 parsing: Remove bounds which weren't used anyway 2019-12-15 18:43:56 +00:00
af6ad1fce6 buttons: Accept "text" and drop xkb keysym derivation 2019-11-27 16:52:50 +00:00
ea0926147f us: Improve height a little 2019-10-29 13:32:53 +00:00
9e078be603 buttons: Buttons are next to each other, padding is visual only 2019-10-09 20:34:46 +00:00
4c0f23c5c1 layout: Unhardcode button and row spacing values
They are specified by each layout now
2019-09-25 19:01:38 +00:00
de43d67638 display: Remove unused corner_radius 2019-09-25 18:10:58 +00:00
94b7ba1ccc layout: Improved UI layout looks 2019-09-24 11:28:29 +00:00
34a4c6ffb5 us: Escape backslash character
This fixes backslash being missing from the symbols view.
2019-09-22 00:30:35 +02:00
45dc51f08f Update symbols button to reflect the symbols view 2019-09-16 17:07:41 +02:00
2352e31f01 us: Simplify by using Unicode directly 2019-09-11 12:03:57 +00:00
6523275b6a views: Change based on layout file 2019-09-09 13:25:03 +00:00
b84c402c4a WIP
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
2019-09-04 09:44:31 +00:00