Commit Graph

14 Commits

Author SHA1 Message Date
f5558e6112 input: Add the Shift-modifier
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/696>
2024-11-05 19:29:45 +01:00
b578414655 Merge remote-tracking branch 'upstream/master' into latch 2021-03-31 09:48:29 +00:00
7b1755a489 renderer: Mark latched buttons differently than locked
There are some hacks here in the form of an extra field "appears_locked_from", which can be used to hint that the user should see the button as locked. Without it, there's some confusion on user side regarding buttons that change states unprompted.
2021-03-31 09:11:11 +00:00
676a2b60ac layout: Make it possible to opt out of latching per-key 2021-03-31 09:09:38 +00:00
a265427e8e Add Mod4 (Windows) key 2021-02-11 18:06:49 +01:00
8ab6997b21 layout: Plug in stateless view switching 2020-12-03 19:44:26 +00:00
92e9d994fe modifiers: Support Control and Alt
Control and Alt are special in that they aren't expected to switch levels, and so don't need to change what characters are output.

Use in layouts by adding `modifier: Control` or `modifier: Alt` in place of `text: "foo"`.

The latching of the modifier will force the keyboard to emit raw key presses and prevent it from outputting text.
2020-02-28 11:21:07 +00:00
0ac8c620fd Merge branch 'lock' into 'master'
Turn locking stateless

See merge request Librem5/squeekboard!322
2020-02-05 09:25:49 +00:00
500c23beec locking: Lock keys statelessly
Locking is not determined by button state any more, but rather based on the view active at the moment. If pressing/locking a key results in the current view being active, the key is active. If locking a key results in the current view, the unlock view is activated.
2020-02-02 15:41:47 +00:00
585ed5e97d input_method: Use for erasing 2020-01-23 15:39:40 +00:00
42cb73cd8c submission: Handle submitting strings 2020-01-14 18:33:47 +00:00
e77eccf7db action: Rename Level to View 2020-01-08 18:52:09 +00:00
47c4119ab7 Add a popover menu to switch languages 2019-11-05 13:10:55 +00:00
da5a83f367 action: Rename file to action.rs 2019-10-09 08:11:28 +00:00