Commit Graph

8 Commits

Author SHA1 Message Date
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