Compare commits

...

141 Commits

Author SHA1 Message Date
00b894993c Release 1.23.0
New or updated translations:
- Belarusian
- Haitian Creole

New layouts:
- French Canadian (QWERTY + accented letters)
- German terminal-layout
- Spanish terminal-layout

Changes:
- Fixed Persian and Swiss layouts
- Fixed various small style-issues in many layouts
- Improved the US-terminal-layout

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/615>
2024-03-08 11:36:43 +01:00
4fed8c5b1e Update dependencies
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/615>
2024-03-08 11:05:46 +01:00
ab37c2a7f2 Merge branch 'improve-readability-of-layout-files' into 'master'
Improve readability of layout-files

See merge request World/Phosh/squeekboard!610
2024-03-08 09:19:05 +00:00
79d21dde5e data/keyboards/fr*.yaml: Move default to the top
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/610>
2024-03-08 09:31:39 +01: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
b4b88f6a98 data/keyboards/*.yaml: Remove unused custom outlines
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/610>
2024-03-08 09:24:58 +01:00
23b9687988 Merge branch 'add-wide-emoji-layout' into 'master'
Add wide emoji-layout

See merge request World/Phosh/squeekboard!614
2024-03-08 01:39:07 +00:00
e029c53401 Add wide emoji-layout
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/614>
2024-03-08 01:18:45 +00:00
015cae5c63 Merge branch 'styling-fixes' into 'master'
Fix some small styling-issues

See merge request World/Phosh/squeekboard!611
2024-03-08 01:10:49 +00: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
069d64ac3e data/keyboards/de*.yaml: Change äÄ-label to Ää
A big letter after a small letter looks incorrect on a keyboard,
because that is not normal German grammar and a keyboard is for
inputting text.
The key is also on the left side of the layout,
which makes äÄ not fit the visual flow.

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/611>
2024-03-08 00:04:16 +00:00
cd1e269a9d data/keyboards/email/us.yaml: fix styling of @-key
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/611>
2024-03-08 00:04:16 +00:00
bf45d4b71b Merge branch 'add-german-terminal-keyboard-layout' into 'master'
Add German terminal-keyboard-layout

See merge request World/Phosh/squeekboard!609
2024-03-08 00:01:40 +00:00
4352f01486 Add German terminal-keyboard-layout
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/609>
2024-03-07 23:22:38 +00:00
805d276248 Merge branch 'fix-ch-layout' into 'master'
Fix Swiss layouts

See merge request World/Phosh/squeekboard!612
2024-03-07 23:19:29 +00:00
2ad2b09344 Fix Swiss layouts
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/612>
2024-03-07 20:23:57 +00:00
b22cda800f Merge branch 'improve-layouts-of-us-terminal-keyboards' into 'master'
Improve the layouts of the us-terminal-keyboards

Closes #249 and #358

See merge request World/Phosh/squeekboard!601
2024-03-07 20:15:14 +00: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
7117d1fe20 Merge branch 'update-documentation' into 'master'
doc/tutorial.md: Remove outdated information about translations

See merge request World/Phosh/squeekboard!608
2024-03-07 16:55:35 +00:00
eb28a8523f doc/tutorial.md: Remove outdated information about translations
The custom translation-system and the tests for it have been removed.

Relevant commits:
10ea276052
0a417fe4a2

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/608>
2024-03-02 19:22:02 +01:00
dcz
d36febefc3 Merge branch 'update-documentation' into 'master'
Update links in the documentation

See merge request World/Phosh/squeekboard!607
2024-03-02 17:47:26 +00:00
c7ced7de2b Update links in the documentation 2024-03-02 17:31:12 +01:00
dcz
4b73775695 Merge branch 'master' into 'master'
add french canadian layout (QWERTY + accented letters)

See merge request World/Phosh/squeekboard!603
2024-03-02 16:10:27 +00:00
dcz
23c5fc1fb8 Merge branch 'keyboard-layout-es' into 'master'
Add Spanish terminal-keyboard-layouts

See merge request World/Phosh/squeekboard!606
2024-03-02 16:09:57 +00:00
dcz
a60b9d019e Merge branch 'Persian' into 'master'
Fix Persian layout

See merge request World/Phosh/squeekboard!605
2024-03-02 16:09:14 +00:00
b791919075 Improve Spanish terminal-keyboard-layouts 2024-02-28 16:03:14 +01:00
d801d45812 Add Spanish terminal-keyboard-layouts 2024-02-27 11:24:23 +01:00
6145f9b652 Fix Persian layout 2024-02-23 03:49:25 +03:30
8d96803e91 add french canadian layout (QWERTY + accented letters) 2024-01-29 21:41:09 +01:00
30904afb4b Update Haitian Creole translation 2024-01-11 22:58:26 +00:00
271640f391 Update Haitian Creole translation 2024-01-11 22:37:29 +00:00
76eadca47a Add Haitian Creole translation 2024-01-11 05:05:29 +00:00
a25c083f92 Add Belarusian translation 2023-09-14 11:45:44 +00:00
dcz
4c8dbf9fe6 Merge branch '022' into 'master'
Release 1.22.0 "Superposition"

See merge request World/Phosh/squeekboard!596
2023-04-02 17:10:49 +00:00
1fac218c70 Release 1.22.0 "Superposition"
New or updated translations:
- Basque

Changes:
- fixed panel sizing when scaling
- fixed panel sizing when rotating
- fixed Dvorak terminal layout
2023-04-01 13:50:31 +00:00
01bde740bb Update deps 2023-04-01 13:45:25 +00:00
dcz
ef516c2082 Merge branch 'size' into 'master'
Fix panel sizing

See merge request World/Phosh/squeekboard!594
2023-03-22 16:21:20 +00:00
dcz
fe39632303 Merge branch 'dbg' into 'master'
cleanup: Remove debug prints

See merge request World/Phosh/squeekboard!593
2023-03-22 16:21:03 +00:00
dcz
e94619883b Merge branch 'master' into 'master'
layout: fix uppercase dvorak terminal mode

Closes #367

See merge request World/Phosh/squeekboard!595
2023-03-20 09:14:13 +00:00
af09304835 layout: fix uppercase dvorak terminal mode
These were left lowercase for some reason.
2023-03-20 08:58:13 +00:00
bd96f4c0c2 panel: Fix sizing on output reconfiguration 2023-03-15 15:44:55 +00:00
83fda9d38a tests: Make panel manager modifications pure
This makes testing possible. Test which prompted this is included.
2023-03-15 15:44:55 +00:00
8c89b4dc2c cleanup: Remove debug prints 2023-03-15 12:53:22 +00:00
dcz
b17716a427 Merge branch 'size' into 'master'
state: Make size independent of scaling factor

See merge request World/Phosh/squeekboard!592
2023-03-14 14:01:49 +00:00
367d8dd5c7 state: Make size independent of scaling factor 2023-03-14 12:16:15 +00:00
97371b8dfb Add Basque translation 2023-03-06 20:35:18 +00:00
dcz
6f66edf8a1 Merge branch 'rel' into 'master'
Release 1.21.0

See merge request World/Phosh/squeekboard!591
2023-02-26 09:13:19 +00:00
378c3ec9ad Release 1.21.0 "Expected value"
New or updated translations:
- Hindi
- Czech
- German

New layouts:
- wide Swedish
- Hungarian

Changes:
- use a custom font for gr+polytonic, where the default is unreadable
- require newer Rust
- fixed panel sizing when rotating
- internal improvements.
2023-02-16 15:43:24 +00:00
25ba8773b6 Update Cargo.lock 2023-02-16 15:33:10 +00:00
853278836c Revert "docs: Update Cargo.lock instructions"
We're using mozilla-cargo in older Debian now.

This reverts commit 40089b4836.
2023-02-16 15:31:38 +00:00
dcz
55956743d4 Merge branch 'ls' into 'master'
Sync layersurface with Phosh

Closes #285

See merge request World/Phosh/squeekboard!590
2023-02-16 12:59:23 +00:00
dcz
658d2f325e Merge branch 'clap' into 'master'
Rust: Restore compatibility with Debian Bookworm

See merge request World/Phosh/squeekboard!589
2023-02-16 12:58:45 +00:00
f977670814 Add Hindi translation 2023-02-05 18:31:34 +00:00
0b44d94aa4 layersurface: Fix violations of bracketing 2023-02-04 18:03:54 +00:00
6e46512044 Sync layersurface with Phosh
Copy layersurface & layer shell protocol from phosh
(https://gitlab.gnome.org/World/Phosh/phosh/)
2023-02-04 18:03:54 +00:00
ffae36d259 Rust: Restore compatibility with Debian Bookworm 2023-02-04 17:18:35 +00:00
dcz
d18f09823b Merge branch 'fixes' into 'master'
fixes inspired by compiler warnings

See merge request World/Phosh/squeekboard!587
2023-01-24 14:59:12 +00:00
bb5b1faaea Update German translation 2023-01-15 19:41:33 +00:00
400e82326d memory: Fix undefined behaviour
As warned by the compiler.

At the same time drop support for older rustc, as the code was dead anyway.
2023-01-15 11:52:21 +00:00
20b5cac148 build: Silence overcautious warning 2023-01-15 11:51:53 +00:00
8da59a6216 safety: Replace strncpy with strlcpy 2023-01-15 11:40:27 +00:00
6fd281b214 Remove dead code 2023-01-15 11:27:14 +00:00
2e65586db5 wayland: remove dead, broken init 2023-01-15 11:22:10 +00:00
dcz
5f12199de1 Merge branch 'hu' into 'master'
Add Hungarian layout

See merge request World/Phosh/squeekboard!585
2023-01-05 17:53:45 +00:00
8c7897da4d Add Hungarian layout 2023-01-05 17:14:18 +01:00
dcz
b0bf78b2a6 Merge branch 'saver' into 'master'
popover: Deactivate settings button when lock screen is on

See merge request World/Phosh/squeekboard!582
2023-01-02 12:21:23 +00:00
dcz
8fa4bf1b40 Merge branch '21' into 'master'
rust: Use 2021 eition

See merge request World/Phosh/squeekboard!584
2023-01-02 12:20:49 +00:00
1704f1b4cb rust: Use 2021 eition 2022-12-21 12:24:03 +00:00
828279d03c rust: Use 2018 eition
This edition has better syntax around scoping and `use`.
2022-12-21 12:20:17 +00:00
31a7acb0eb popover: Apply settings enabled stateto UI 2022-12-08 10:07:09 +00:00
7130ac9529 popover: State can be printed 2022-12-08 10:07:09 +00:00
c590064ce3 popover: Connect to screensaver event 2022-12-08 10:07:09 +00:00
3366090454 popover: Use thread-safe reference
This reference will be modified from the screensaver thread.
2022-12-08 09:38:31 +00:00
e88410d412 util: Add thread-safe c wrapper 2022-12-08 09:38:31 +00:00
ae15869d07 popover: Able to receive screensaver events 2022-12-08 09:38:31 +00:00
cf6171a51f loops: Use Void for infinite loops 2022-12-06 13:01:25 +00:00
ea5e36e9fd screensaver: Catch activeness changes 2022-12-06 12:58:17 +00:00
783ca9ae11 structure: Create a module for custom event loops 2022-12-06 12:19:17 +00:00
dcz
38165ac039 Merge branch 'event' into 'master'
Decouple event handling from concrete logic

See merge request World/Phosh/squeekboard!581
2022-12-06 12:14:17 +00:00
dcz
f4c03ce6e8 Merge branch 'sizes' into 'master'
Fix resizing

See merge request World/Phosh/squeekboard!580
2022-11-30 13:10:01 +00:00
7f1d237551 event loop: Move event handlers from event loop driver to main loop 2022-11-28 15:53:41 +00:00
6d01386d8a main: Moved event loop definition close to actor 2022-11-28 15:53:41 +00:00
e5be92efae loop driver: Decouple from concrete state 2022-11-28 15:53:41 +00:00
2f011a57dd test: Mark loop scheduling test for rewrite 2022-11-28 15:53:41 +00:00
e7c2350c92 event loop: Decouple event handler from concrete state 2022-11-28 15:53:41 +00:00
d51408a3e0 event loop: Add descriptions 2022-11-28 15:53:41 +00:00
b8c0836f51 event loop: Decouple event type from handler 2022-11-28 15:53:41 +00:00
e0b37d60c4 event loop: Decouple state type from event handler 2022-11-28 15:53:41 +00:00
23d6beee8e event loop: Decouple event timeout from event type 2022-11-28 15:53:41 +00:00
9c9f371f91 Rename LevelKeyboard to Layout 2022-11-28 15:53:41 +00:00
805c0d27fd panel: Fix resize when reusing the window
When the panel window was reused, it was not re-initialized. That includes the panel size request. If the last panel size was matching a different display size (including orientation), the newly shown panel would re-use that size instead of respecting the newly requested size.
2022-11-27 18:04:18 +00:00
9242bb679d panel: Hardcode some debugging
Quickly done, useful for development tests. For user control, this requires connecting to some switch.
2022-11-27 18:02:47 +00:00
dcz
e9cc20106b Merge branch 'desktop-file' into 'master'
desktop-file: Add X-GNOME-* for session management

See merge request World/Phosh/squeekboard!579
2022-11-08 09:00:05 +00:00
8cf9aab78f desktop-file: Add X-GNOME-* for session management
This add the X-GNOME-* bits that are currently shipped in
sm.puri.OSK0.desktop allowing distributions to drop this file and make
it a plain symlink to sm.puri.OSK0.desktop.

If squeekboard is used in another context that doesn't use gnome-session
the entries have no effect.
2022-11-08 08:49:17 +01:00
1049a6a875 Add Czech translation 2022-10-26 12:31:23 +00:00
dcz
2ade582463 Merge branch 'splitl' into 'master'
layout: cleanups

See merge request World/Phosh/squeekboard!577
2022-10-09 14:40:55 +00:00
dcz
838d6b0bf6 Merge branch 'upgrust' into 'master'
debian: Upgrade rust dependency

See merge request World/Phosh/squeekboard!576
2022-10-08 08:53:54 +00:00
973bbaca4b layout: Increase separation between mutable and logic 2022-10-01 18:29:24 +00:00
14282387f2 layout: Increase separation between mutable and logic 2022-10-01 18:25:35 +00:00
a5fdc25452 layout: Unbox buttons
The Box was just polluting the code, and the original reason for it (passing buttons individually to C) is gone.
2022-10-01 16:38:10 +00:00
952ec805ed layout: Put all button state into active_buttons
Ths gets rid of Rc<RefCell<>> sharing of state, which can be hard to keep track of.
In addition, there's no longer any duplication of button state.
2022-10-01 16:38:01 +00:00
74c5ef4a51 layout: Separate button info from state
Splitting out state into a dedicated place lets keep all the immutable metadata in one place, and all state in another.
2022-10-01 13:37:35 +00:00
fc4fa63cc6 layout: Remove unused code 2022-10-01 12:10:03 +00:00
5e12666b8f layout: Pressed buttons are now a list of indices
This makes it possible to copy layout state wholesale, as well as to drop shared state of keys.
2022-10-01 11:11:33 +00:00
649f67d319 layout: Split out static data
This will make it possible later to cache this data or compare for best size selection without hassle.
2022-09-30 17:42:03 +00:00
c017a773ea layout: Gather state-related stuff together 2022-09-30 17:12:00 +00:00
7a8932d686 debian: Upgrade rust dependency
This avoids problems with cargo pulling packages with unsupported edition in the future, as well as opens up the ability to use new language features.

Most importantly, cargo deps can be unlocked.
2022-09-30 16:01:36 +00:00
dcz
afe6a6cf74 Merge branch 'orphans' into 'master'
tests: Check for orphaned layout files

See merge request World/Phosh/squeekboard!574
2022-09-29 16:25:47 +00:00
dcz
e778be8f13 Merge branch 'newss' into 'master'
repo: Add missing NEWS file

See merge request World/Phosh/squeekboard!575
2022-09-29 16:25:33 +00:00
dcz
7ffc2c4f86 Merge branch 'add-wide-swedish' into 'master'
Add wide Swedish layout

Closes #351

See merge request World/Phosh/squeekboard!573
2022-09-16 07:43:50 +00:00
a09a51ada9 Add wide Swedish layout
Closes https://gitlab.gnome.org/World/Phosh/squeekboard/-/issues/351
2022-09-15 18:59:43 +02:00
d26927dc44 tests: Check for orphaned layout files
This adds a test which scans the layouts directory for files which have not been added to the resources file.
The majority os user-submitted layouts don't include layout registration, and I ran out of ideas for how to make it more visible in the documentation. Instead, it's going to be solved on the other side: the CI pipelines shall fail.

To make it easy on experimenters with untidy trees, it's disabled by default.
2022-09-15 14:13:40 +00:00
094503cf8c repo: Add missing NEWS file 2022-09-15 13:17:33 +00:00
dcz
0cb9b039d2 Merge branch 'polyfont' into 'master'
Use custom font for Greek polytonic

See merge request World/Phosh/squeekboard!569
2022-09-11 14:43:33 +00:00
dcz
b676cac63f Merge branch 'flock' into 'master'
docs: Update Cargo.lock instructions

See merge request World/Phosh/squeekboard!570
2022-09-11 14:43:18 +00:00
dcz
f55a8868c7 Merge branch 'news' into 'master'
Improve release instructions

See merge request World/Phosh/squeekboard!571
2022-09-11 14:42:56 +00:00
dcz
3055cc034f Merge branch '120' into 'master'
Release 1.20.0 "PID controller"

See merge request World/Phosh/squeekboard!572
2022-09-11 14:34:36 +00:00
dcz
dbbb34da01 Merge branch 'bw' into 'master'
CI: target bookworm for "future" job

See merge request World/Phosh/squeekboard!568
2022-09-09 15:50:28 +00:00
a4e58aef6a Release 1.20.0 "PID controller"
New translations:
- Greek
- Croatian

New layouts:
- US Dvorak terminal

Improvements:
- forcing the panel to hide now takes effect immediately
- Squeekboard icon will present itself when other applications need to show it
2022-09-03 14:28:35 +00:00
fd3ade8ac4 build: Update Cargo.lock.newer 2022-09-03 14:17:52 +00:00
40089b4836 docs: Update Cargo.lock instructions 2022-09-03 13:42:07 +00:00
50ff771922 docs: Remove obsolete amber instructions 2022-09-03 12:38:13 +00:00
113970566b docs: Add NEWS.md 2022-09-03 12:38:13 +00:00
8864a5b0a7 style: Give gr+polytonic a custom font 2022-09-03 08:11:08 +00:00
c30e951907 style: Use layout name as css class 2022-09-03 08:04:40 +00:00
9413150d85 keyboard: Remove unused field 2022-09-03 07:37:33 +00:00
dcz
decf547e41 Merge branch 'desktop' into 'master'
data: Set an icon in the desktop file and indicate haptic feedback

See merge request World/Phosh/squeekboard!566
2022-09-02 11:45:27 +00:00
870c023414 data: Indicate that Squeekboard provides haptic feedback
This makes the feedback used configurable in Phosh Mobile Settings.
2022-09-02 10:29:32 +00:00
0d3b569553 data: Set an icon in the desktop file
This helps apps like GNOME Usage or Phosh Mobile Settings show something
nice on the Squeekboard's entry.
2022-09-02 10:29:32 +00:00
7c17f64517 CI: target bookworm for "future" job
Bookworm will be the basis for the next PureOS.
Plus, there was some persistent network error when running sid jobs.
2022-09-02 10:20:30 +00:00
dcz
c7344aeb47 Merge branch 'fixb' into 'master'
build: Use Cargo.lock included with the repo by default

See merge request World/Phosh/squeekboard!567
2022-09-01 17:35:41 +00:00
51f8217646 build: Use Cargo.lock included with the repo by default
This should fix some future problems with dependencies getting updated in a way that's unsupported by the build tools targeted by Squeekboard.
2022-09-01 17:04:25 +00:00
dcz
a3f6349376 Merge branch 'hide' into 'master'
state: Don't animate when force-hidden

See merge request World/Phosh/squeekboard!565
2022-09-01 13:52:01 +00:00
bf18f05f74 Add Croatian translation 2022-08-31 07:49:50 +00:00
9f4c5e2264 Add Greek translation 2022-07-11 20:12:35 +00:00
dcz
dffec166fd Merge branch '119' into 'master'
Release 1.19.0 "Chirality"

See merge request World/Phosh/squeekboard!560
2022-07-11 06:54:51 +00:00
dcz
3207977d7a Merge branch 'master' into 'master'
added US Dvorak Terminal

See merge request World/Phosh/squeekboard!564
2022-07-11 06:54:09 +00:00
0339a4a50f added US Dvorak Terminal 2022-07-11 06:54:09 +00:00
4ae78b89c6 state: Don't animate when force-hidden 2022-07-08 05:34:36 +00:00
155 changed files with 6161 additions and 1646 deletions

View File

@ -32,7 +32,7 @@ build_meson:
script:
- mv debian/control-newer debian/control
- apt-get -y build-dep .
- meson . _build/ -Ddepdatadir=/usr/share --werror
- meson . _build/ -Ddepdatadir=/usr/share -Dfind_orphans=true --werror
- ninja -C _build install
except:
variables:
@ -76,7 +76,7 @@ build_deb:arm64:
- cp ../*.deb .
build_deb:future:
image: debian:sid
image: debian:bookworm
allow_failure: true
tags:
- aarch64

View File

@ -1,7 +1,8 @@
# Dependencies which change based on build flags
# Dependencies and tools which change based on build flags
# For the newer-than-Byzantium config
bitflags = "1.3.*"
clap = { version = "3.1.*", features=["std"], default-features = false }
clap = { version = "4.*", features=["std"], default-features = false }
zbus = "1.9.*"
zvariant = "2.10.*"
# Newer versions seem to confuse the version of Cargo on Debian Bullseye

104
Cargo.lock generated
View File

@ -42,9 +42,9 @@ checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
[[package]]
name = "byteorder"
version = "1.4.3"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
[[package]]
name = "cairo-rs"
@ -73,9 +73,9 @@ dependencies = [
[[package]]
name = "cc"
version = "1.0.73"
version = "1.0.90"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"
[[package]]
name = "cfg-if"
@ -108,7 +108,7 @@ checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
dependencies = [
"proc-macro2",
"quote",
"syn",
"syn 1.0.109",
]
[[package]]
@ -129,14 +129,14 @@ checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce"
dependencies = [
"proc-macro2",
"quote",
"syn",
"syn 1.0.109",
]
[[package]]
name = "fastrand"
version = "1.7.0"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf"
checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
dependencies = [
"instant",
]
@ -319,15 +319,15 @@ dependencies = [
[[package]]
name = "hashbrown"
version = "0.11.2"
version = "0.12.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
[[package]]
name = "indexmap"
version = "1.8.2"
version = "1.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a"
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
dependencies = [
"autocfg",
"hashbrown",
@ -350,9 +350,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
version = "0.2.126"
version = "0.2.153"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
[[package]]
name = "linked-hash-map"
@ -418,9 +418,9 @@ dependencies = [
[[package]]
name = "pkg-config"
version = "0.3.25"
version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
[[package]]
name = "proc-macro-crate"
@ -433,18 +433,18 @@ dependencies = [
[[package]]
name = "proc-macro2"
version = "1.0.40"
version = "1.0.78"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd96a1e8ed2596c337f8eae5f24924ec83f5ad5ab21ea8e455d3566c69fbcaf7"
checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quote"
version = "1.0.20"
version = "1.0.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3bcdf212e9776fbcb2d23ab029360416bb1706b1aea2d1a5ba002727cbcab804"
checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
dependencies = [
"proc-macro2",
]
@ -463,7 +463,6 @@ dependencies = [
"glib-sys",
"gtk",
"gtk-sys",
"indexmap",
"maplit",
"serde",
"serde_yaml",
@ -475,52 +474,52 @@ dependencies = [
[[package]]
name = "ryu"
version = "1.0.10"
version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695"
checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
[[package]]
name = "scoped-tls"
version = "1.0.0"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
[[package]]
name = "serde"
version = "1.0.137"
version = "1.0.197"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1"
checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.137"
version = "1.0.197"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be"
checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
dependencies = [
"proc-macro2",
"quote",
"syn",
"syn 2.0.52",
]
[[package]]
name = "serde_repr"
version = "0.1.8"
version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2ad84e47328a31223de7fed7a4f5087f2d6ddfe586cf3ca25b7a165bc0a5aed"
checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb"
dependencies = [
"proc-macro2",
"quote",
"syn",
"syn 2.0.52",
]
[[package]]
name = "serde_yaml"
version = "0.8.24"
version = "0.8.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "707d15895415db6628332b737c838b88c598522e4dc70647e59b72312924aebc"
checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b"
dependencies = [
"indexmap",
"ryu",
@ -530,9 +529,20 @@ dependencies = [
[[package]]
name = "syn"
version = "1.0.98"
version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c50aef8a904de4c23c788f104b7dddc7d6f79c647c7c8ce4cc8f73eb0ca773dd"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "syn"
version = "2.0.52"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b699d15b36d1f02c3e7c69f8ffef53de37aefae075d8488d4ba1a7788d574a07"
dependencies = [
"proc-macro2",
"quote",
@ -550,24 +560,24 @@ dependencies = [
[[package]]
name = "toml"
version = "0.5.9"
version = "0.5.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7"
checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
dependencies = [
"serde",
]
[[package]]
name = "unicode-ident"
version = "1.0.1"
version = "1.0.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5bd2fe26506023ed7b5e1e315add59d6f584c621d037f9368fea9cfb988f368c"
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
[[package]]
name = "unicode-width"
version = "0.1.9"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
[[package]]
name = "void"
@ -599,9 +609,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "xkbcommon"
version = "0.4.0"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fda0ea5f7ddabd51deeeda7799bee06274112f577da7dd3d954b8eda731b2fce"
checksum = "032ed00cc755c31221bbd6aaf9fa4196a01bf33bca185f9316e14f26d28c28cf"
dependencies = [
"libc",
"memmap",
@ -644,7 +654,7 @@ dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"syn",
"syn 1.0.109",
]
[[package]]
@ -666,5 +676,5 @@ checksum = "d68726e8c12757384a8d1485080527e263dea67d91f19e97cd71b9292f22d7c5"
dependencies = [
"proc-macro2",
"quote",
"syn",
"syn 1.0.109",
]

1235
Cargo.lock.newer Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,7 @@
[package]
name = "rs"
version = "0.1.0"
edition = "2021"
[lib]
name = "rs"
@ -16,8 +17,14 @@ path = "@path@/src/bin/test_layout.rs"
name = "test_layout"
path = "@path@/examples/test_layout.rs"
[[example]]
name = "find_orphan_layouts"
path = "@path@/examples/find_orphan_layouts.rs"
[features]
glib_v0_14 = []
zbus_v1_5 = []
clap_v4 = []
# Dependencies which don't change based on build flags
[dependencies]

59
NEWS.md Normal file
View File

@ -0,0 +1,59 @@
1.23.0
------------------
New or updated translations:
- Belarusian
- Haitian Creole
New layouts:
- French Canadian (QWERTY + accented letters)
- German terminal-layout
- Spanish terminal-layout
Changes:
- Fixed Persian and Swiss layouts
- Fixed various small style-issues in many layouts
- Improved the US-terminal-layout
1.22.0 "Superposition"
------------------
New or updated translations:
- Basque
Changes:
- fixed panel sizing when scaling
- fixed panel sizing when rotating
- fixed Dvorak terminal layout
1.21.0 "Expected value"
------------------
New or updated translations:
- Hindi
- Czech
- German
New layouts:
- wide Swedish
- Hungarian
Changes:
- use a custom font for gr+polytonic, where the default is unreadable
- require newer Rust
- fixed panel sizing when rotating
- internal improvements.
1.20.0 "PID controller"
------------------
New translations:
- Greek
- Croatian
New layouts:
- US Dvorak terminal
Improvements:
- forcing the panel to hide now takes effect immediately
- Squeekboard icon will present itself when other applications need to show it

View File

@ -5,6 +5,12 @@ sq_view {
font-size: 1.5em;
}
/* Becomes readable with a special font */
sq_view.gr_polytonic {
font-family: GFSDidotClassic, cantarell, sans-serif;
font-size: 2em;
}
sq_button {
border-radius: 4px;
margin: 2px;

5
data/icons/zwnj.svg Normal file
View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1">
<path d="M 3,0.5 V 1 c 2.5,0 4.5,1 4.5,2 v 12.5 h 1 V 3 c 0,-1 2,-2 4.5,-2 V 0.5 Z" />
</svg>

After

Width:  |  Height:  |  Size: 231 B

View File

@ -3,11 +3,11 @@
# Oct 2021
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 32, height: 32 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 32, height: 32 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:

View File

@ -3,11 +3,11 @@
# Oct 2021
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 32, height: 32 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 32, height: 32 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:

View File

@ -1,11 +1,11 @@
# Maintained by: Khaled Eldoheiri <khalid@kdehairy.com>
---
outlines:
default: { width: 32.66, height: 52 }
altline: { width: 48.99, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 32.66, height: 52 }
altline: { width: 48.99, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 195.96, height: 52 }
special: { width: 35.66, height: 52 }
special: { width: 35.66, height: 52 }
views:
base:

View File

@ -1,11 +1,11 @@
# Maintained by: Khaled Eldoheiri <khalid@kdehairy.com>
---
outlines:
default: { width: 49, height: 42 }
altline: { width: 73.5, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 324, height: 42 }
special: { width: 49, height: 42 }
default: { width: 49, height: 42 }
altline: { width: 73.5, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 324, height: 42 }
special: { width: 49, height: 42 }
views:
base:

View File

@ -63,7 +63,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -63,7 +63,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 32.72, height: 52 }
altline: { width: 47, height: 52 }
wide: { width: 49.09, height: 52 }
spaceline: { width: 185, height: 52 }
special: { width: 44, height: 52 }
default: { width: 32.72, height: 52 }
altline: { width: 47, height: 52 }
wide: { width: 49.09, height: 52 }
spaceline: { width: 185, height: 52 }
special: { width: 44, height: 52 }
views:
base:
@ -59,7 +59,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 32.72, height: 52 }
altline: { width: 47, height: 52 }
wide: { width: 49.09, height: 52 }
spaceline: { width: 185, height: 52 }
special: { width: 44, height: 52 }
default: { width: 32.72, height: 52 }
altline: { width: 47, height: 52 }
wide: { width: 49.09, height: 52 }
spaceline: { width: 185, height: 52 }
special: { width: 44, height: 52 }
views:
base:
@ -59,7 +59,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:

93
data/keyboards/ca.yaml Normal file
View File

@ -0,0 +1,93 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:
- "q w e r t y u i o p"
- "a s d f g h j k l"
- "Shift_L z x c v b n m BackSpace"
- "show_numbers preferences space show_eschars Return"
upper:
- "Q W E R T Y U I O P"
- "A S D F G H J K L"
- "Shift_L Z X C V B N M BackSpace"
- "show_numbers preferences space show_eschars Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "@ # $ % & - _ + ( )"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters preferences space show_eschars Return"
symbols:
- "~ ` | · √ π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° * { }"
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space show_eschars Return"
eschars:
- "à â ç é è ê ë î ï ô"
- "ù û À Â Ç É È Ê Î Ô"
- "show_numbers_from_symbols ' ! ? . , BackSpace"
- "show_letters preferences space show_eschars Return"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
preferences:
action: show_prefs
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "wide"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "*/="
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "âÂ"
period:
outline: "special"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"

View File

@ -55,7 +55,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -32,7 +32,7 @@ views:
- "à â ç é è ê î ô ù û"
- "À Â Ç É È Ê Î Ô Ù Û"
- "show_numbers æ œ ä ë ï ö ü BackSpace"
- "show_letters_from_accents preferences ñ Ñ space ° ß Return"
- "show_letters show_eschars preferences ñ Ñ space ° ß Return"
buttons:
Shift_L:
@ -59,7 +59,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
@ -71,14 +71,7 @@ buttons:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "âÂ"
show_letters_from_accents:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "âÂ"
label: â"
space:
outline: "spaceline"
label: " "

View File

@ -3,38 +3,39 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 48, height: 52 }
wide: { width: 59, height: 52 }
spaceline: { width: 70, height: 52 }
special: { width: 28, height: 52 }
default: { width: 35.33, height: 58 }
doublewidth: { width: 70.66, height: 58 }
altline: { width: 52.8, height: 58 }
wide: { width: 64.9, height: 58 }
spaceline: { width: 116.67, height: 58 }
special: { width: 30.41, height: 58 }
views:
base:
- "q w e r t z u i o p ü"
- "a s d f g h j k l ö ä"
- "Shift_L y x c v b n m BackSpace"
- "show_numbers show_eschars preferences ' space , . Return"
- "Shift_L y x c v b n m ' BackSpace"
- "show_numbers show_eschars preferences Space , . Return"
upper:
- "Q W E R T Z U I O P Ü"
- "A S D F G H J K L Ö Ä"
- "Shift_L Y X C V B N M BackSpace"
- "show_numbers show_eschars preferences \" space , . Return"
- "Shift_L Y X C V B N M \" BackSpace"
- "show_numbers show_eschars preferences Space , . Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "@ * + - = ( ) ~ < > ? !"
- "show_symbols # & / \\ √ ; : BackSpace"
- "show_letters show_eschars preferences _ space , . Return"
- "1 2 3 4 5 6 7 8 9 0 ^"
- "* + - = ( ) ~ < > ! ?"
- "show_symbols _ # & / \\ √ ; : BackSpace"
- "show_letters show_eschars preferences Space , . Return"
symbols:
- "€ $ £ ¥ % | § µ [ ]"
- "© ® § ` ^ { } · ¡ ¿"
- "© ® § ` { } @ · ¡ ¿"
- "show_numbers « » ÷ × “ ” „ BackSpace"
- "show_letters show_eschars preferences - space , . Return"
- "show_letters show_eschars preferences Space , . Return"
eschars:
- "à â ç é è ê î ô ù û"
- "À Â Ç É È Ê Î Ô Ù Û"
- "show_numbers æ œ ä ë ï ö ü BackSpace"
- "show_letters_from_accents preferences ñ Ñ space ° ß Return"
- "à â ç é è ê î ô ù û ñ"
- "À Â Ç É È Ê Î Ô Ù Û Ñ"
- "show_numbers æ œ ä ë ï ö ü ß BackSpace"
- "show_letters show_eschars preferences Space ° Return"
buttons:
Shift_L:
@ -47,7 +48,7 @@ buttons:
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
@ -61,7 +62,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
@ -73,15 +74,8 @@ buttons:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "âÂ"
show_letters_from_accents:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "âÂ"
space:
label: â"
Space:
outline: "spaceline"
label: " "
text: " "
@ -91,3 +85,11 @@ buttons:
keysym: "Return"
"\"":
keysym: "quotedbl"
°:
outline: "doublewidth"
"|":
outline: "doublewidth"
"}":
outline: "doublewidth"
×:
outline: "doublewidth"

View File

@ -3,38 +3,41 @@
---
outlines:
default: { width: 48, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 48, height: 42 }
default: { width: 48, height: 42 }
doublewidth: { width: 96, height: 42 }
narrow: { width: 33, height: 42 }
large: { width: 66, height: 42 }
altline: { width: 72, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 162, height: 42 }
special: { width: 48, height: 42 }
views:
base:
- "q w e r t z u i o p ü"
- "a s d f g h j k l ö ä"
- "Shift_L y x c v b n m BackSpace"
- "show_numbers show_eschars preferences ' space , . Return"
- "Shift_L y x c v b n m ' BackSpace"
- "show_numbers show_eschars preferences Space , . Return"
upper:
- "Q W E R T Z U I O P Ü"
- "A S D F G H J K L Ö Ä"
- "Shift_L Y X C V B N M BackSpace"
- "show_numbers show_eschars preferences \" space , . Return"
- "Shift_L Y X C V B N M \" BackSpace"
- "show_numbers show_eschars preferences Space , . Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "@ * + - = ( ) ~ < > ? !"
- "show_symbols # & / \\ √ ; : BackSpace"
- "show_letters show_eschars preferences _ space , . Return"
- "1 2 3 4 5 6 7 8 9 0 ^"
- "* + - = ( ) ~ < > ! ?"
- "show_symbols _ # & / \\ √ ; : BackSpace"
- "show_letters show_eschars preferences Space , . Return"
symbols:
- "€ $ £ ¥ % | § µ [ ]"
- "© ® § ` ^ { } · ¡ ¿"
- "© ® § ` { } @ · ¡ ¿"
- "show_numbers « » ÷ × “ ” „ BackSpace"
- "show_letters show_eschars preferences - space , . Return"
- "show_letters show_eschars preferences Space , . Return"
eschars:
- "à â ç é è ê î ô ù û"
- "À Â Ç É È Ê Î Ô Ù Û"
- "show_numbers æ œ ä ë ï ö ü BackSpace"
- "show_letters_from_accents preferences ñ Ñ space ° ß Return"
- "à â ç é è ê î ô ù û ñ"
- "À Â Ç É È Ê Î Ô Ù Û Ñ"
- "show_numbers æ œ ä ë ï ö ü ß BackSpace"
- "show_letters show_eschars preferences Space ° Return"
buttons:
Shift_L:
@ -61,7 +64,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
@ -73,15 +76,8 @@ buttons:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "äÄ"
show_letters_from_accents:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "âÂ"
space:
label: "Ââ"
Space:
outline: "spaceline"
label: " "
text: " "
@ -91,3 +87,15 @@ buttons:
keysym: "Return"
"\"":
keysym: "quotedbl"
°:
outline: "large"
".":
outline: "narrow"
",":
outline: "narrow"
"|":
outline: "doublewidth"
"}":
outline: "doublewidth"
×:
outline: "doublewidth"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 52.67, height: 52 }
spaceline: { width: 106, height: 52 }
special: { width: 35.33, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 52.67, height: 52 }
spaceline: { width: 106, height: 52 }
special: { width: 35.33, height: 52 }
views:
base:
@ -75,7 +75,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 81, height: 42 }
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 81, height: 42 }
spaceline: { width: 162, height: 42 }
special: { width: 54, height: 42 }
special: { width: 54, height: 42 }
views:
base:
@ -75,7 +75,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 52.67, height: 52 }
spaceline: { width: 106, height: 52 }
special: { width: 35.33, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 52.67, height: 52 }
spaceline: { width: 106, height: 52 }
special: { width: 35.33, height: 52 }
views:
base:
@ -75,7 +75,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 81, height: 42 }
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 81, height: 42 }
spaceline: { width: 162, height: 42 }
special: { width: 54, height: 42 }
special: { width: 54, height: 42 }
views:
base:
@ -75,7 +75,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,11 +1,11 @@
# Maintained by: Mark Müller <markmueller86@gmail.com>
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 99.67, height: 52 }
special: { width: 35.33, height: 52 }
special: { width: 35.33, height: 52 }
views:
base:
@ -59,7 +59,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
@ -71,7 +71,7 @@ buttons:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "äÄ"
label: ä"
space:
outline: "spaceline"
label: " "

View File

@ -1,11 +1,11 @@
# Maintained by: Mark Müller <markmueller86@gmail.com>
---
outlines:
default: { width: 48, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
default: { width: 48, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 48, height: 42 }
special: { width: 48, height: 42 }
views:
base:
@ -59,7 +59,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
@ -71,7 +71,7 @@ buttons:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "äÄ"
label: ä"
space:
outline: "spaceline"
text: " "

View File

@ -1,9 +1,8 @@
---
outlines:
default: { width: 32, height: 52 }
altline: { width: 48.39024, height: 52 }
wide: { width: 62, height: 52 }
outline7: { width: 88.97561, height: 52 }
default: { width: 32, height: 52 }
altline: { width: 48.39024, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 150.5853, height: 52 }
views:

View File

@ -1,10 +1,11 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 106.67, height: 52 }
special: { width: 44, height: 52 }
special: { width: 44, height: 52 }
large: { width: 44, height: 52 }
views:
base:
@ -41,10 +42,10 @@ buttons:
icon: "edit-clear-symbolic"
action: erase
at:
outline: "special"
outline: "large"
text: "@"
preferences:
action: show_prefs
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
@ -68,7 +69,7 @@ buttons:
outline: "altline"
label: "*/="
period:
outline: "special"
outline: "large"
text: "."
space:
outline: "spaceline"

View File

@ -0,0 +1,80 @@
---
outlines:
default: { width: 104, height: 52 }
altline: { width: 80, height: 52 }
narrow: { width: 44, height: 52 }
views:
base:
- "😀 😁 😅 😂 😊 😇 🙃"
- "😍 😘 😋 😜 😎 🥳 😔"
- "😢 😭 😡 😱 🤔 😬 🙄"
- "preferences blank 1 2 3 4 5 6 blank BackSpace"
two:
- "🤩 🤨 🤓 😴 🤢 🤮 😈"
- "💩 🙌 👏 👍 👎 👌 👋"
- "💪 🖕 🙏 💋 🤦‍♀️ 🤷‍♀️ 💃"
- "preferences blank 1 2 3 4 5 6 blank BackSpace"
three:
- "🐶 🐱 🐯 🙈 🐴 🦄 🌳"
- "🍀 🌹 💫 ⭐️ ✨ 💥 🔥"
- "🌈 ☀️ 🌤 🌧 ⛄️ ☂️ 🌊"
- "preferences blank 1 2 3 4 5 6 blank BackSpace"
four:
- "🍎 🍓 🍑 🍍 🍆 🥑 🥦"
- "🍕 🎂 🍫 🍿 🍻 🍾 🍽"
- "⚽️ 🏀 🏓 🏆 🎹 🎸 🎯"
- "preferences blank 1 2 3 4 5 6 blank BackSpace"
five:
- "🚗 🚌 🚲 🚄 🚂 ✈️ 🛰"
- "🚀 🛸 🚁 🚦 🏝 🏔 ⛺️"
- "🏠 🏢 🏥 🏛 🛤 🌅 🎇"
- "preferences blank 1 2 3 4 5 6 blank BackSpace"
six:
- "⌚️ 📱 💻 🖥 🖨 🕹 ✉️"
- "📞 ☎️ ⏰ ⏳ 📈 📉 📌"
- "🎁 ❤️ 💕 💯 ✅ ❎ 📢"
- "preferences blank 1 2 3 4 5 6 blank BackSpace"
buttons:
1:
action:
set_view: "base"
outline: "altline"
label: "1"
2:
action:
set_view: "two"
outline: "altline"
label: "2"
3:
action:
set_view: "three"
outline: "altline"
label: "3"
4:
action:
set_view: "four"
outline: "altline"
label: "4"
5:
action:
set_view: "five"
outline: "altline"
label: "5"
6:
action:
set_view: "six"
outline: "altline"
label: "6"
preferences:
action: "show_prefs"
outline: "altline"
icon: "keyboard-mode-symbolic"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
keysym: BackSpace
blank:
outline: "narrow"
text: ""

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 99.67, height: 52 }
special: { width: 35.33, height: 52 }
special: { width: 35.33, height: 52 }
views:
base:
@ -58,7 +58,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 99.67, height: 52 }
special: { width: 44, height: 52 }
special: { width: 44, height: 52 }
views:
base:
@ -58,7 +58,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 99.67, height: 52 }
special: { width: 44, height: 52 }
special: { width: 44, height: 52 }
views:
base:
@ -58,7 +58,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,9 +1,8 @@
---
outlines:
default: { width: 32, height: 52 }
altline: { width: 48.39024, height: 52 }
wide: { width: 62, height: 52 }
outline7: { width: 88.97561, height: 52 }
default: { width: 32, height: 52 }
altline: { width: 48.39024, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 150.5853, height: 52 }
views:

View File

@ -1,11 +1,11 @@
---
outlines:
small: { width: 50, height: 30 }
default: { width: 35.33, height: 52 }
small: { width: 50, height: 30 }
altline: { width: 35.33, height: 52 }
wide: { width: 50, height: 52 }
spaceline: { width: 150, height: 52 }
special: { width: 35.33, height: 52 }
special: { width: 35.33, height: 52 }
views:
base:
@ -180,7 +180,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -63,7 +63,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -63,7 +63,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -63,7 +63,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:

View File

@ -4,12 +4,12 @@
#
---
outlines:
default: { width: 40, height: 60 }
altline: { width: 52.67, height: 60 }
wide: { width: 62, height: 60 }
extrawide: { width: 66, height: 60 }
spaceline: { width: 140, height: 60 }
special: { width: 44, height: 60 }
default: { width: 40, height: 60 }
altline: { width: 52.67, height: 60 }
wide: { width: 62, height: 60 }
extrawide: { width: 66, height: 60 }
spaceline: { width: 140, height: 60 }
special: { width: 44, height: 60 }
views:
base:

View File

@ -4,11 +4,11 @@
# Edited by Sotiris Papadopoulos, sotirios.papadopoulos@inserm.fr
---
outlines:
default: { width: 40, height: 60 }
altline: { width: 52.67, height: 60 }
wide: { width: 62, height: 60 }
spaceline: { width: 140, height: 60 }
special: { width: 44, height: 60 }
default: { width: 40, height: 60 }
altline: { width: 52.67, height: 60 }
wide: { width: 62, height: 60 }
spaceline: { width: 140, height: 60 }
special: { width: 44, height: 60 }
views:
base:

View File

@ -1,11 +1,11 @@
# Creaed by Sotiris Papadopoulos, sotirios.papadopoulos@inserm.fr
---
outlines:
default: { width: 80, height: 60 }
altline: { width: 110, height: 60 }
wide: { width: 120, height: 60 }
spaceline: { width: 250, height: 60 }
special: { width: 75, height: 60 }
default: { width: 80, height: 60 }
altline: { width: 110, height: 60 }
wide: { width: 120, height: 60 }
spaceline: { width: 250, height: 60 }
special: { width: 75, height: 60 }
views:
base:

82
data/keyboards/hu.yaml Normal file
View File

@ -0,0 +1,82 @@
# Maintained by: soyer <soyer@irl.hu>
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 99.67, height: 52 }
special: { width: 35.33, height: 52 }
views:
base:
- "q w e r t z u i o p"
- "a s d f g h j k l"
- "Shift_L y x c v b n m BackSpace"
- "show_numbers show_eschars preferences space , . - Return"
upper:
- "Q W E R T Z U I O P"
- "A S D F G H J K L"
- "Shift_L Y X C V B N M BackSpace"
- "show_numbers show_eschars preferences space ? : ! Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "@ # € % & - _ + ( )"
- "show_symbols ; \" ' : = < > BackSpace"
- "show_letters show_eschars preferences space , . - Return"
symbols:
- "~ ` ´ | · √ µ ÷ × ¶"
- "© ® £ $ ¥ ^ ° * { }"
- "show_numbers \\ / § π τ [ ] BackSpace"
- "show_letters show_eschars preferences space , . - Return"
eschars:
- "ö ü ó Ö Ü Ó"
- "í ő ú Í Ő Ú"
- "show_numbers é á ű É Á Ű BackSpace"
- "show_letters show_eschars preferences space „ “ Return"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "*/="
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "éá"
space:
outline: "spaceline"
label: " "
text: " "
Return:
outline: "altline"
icon: "key-enter"
keysym: "Return"

View File

@ -0,0 +1,82 @@
# Maintained by: soyer <soyer@irl.hu>
---
outlines:
default: { width: 48, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 48, height: 42 }
views:
base:
- "q w e r t z u i o p ő ú"
- "a s d f g h j k l é á ű"
- "Shift_L í y x c v b n m BackSpace"
- "show_numbers show_eschars preferences space , . - Return"
upper:
- "Q W E R T Z U I O P Ő Ú"
- "A S D F G H J K L É Á Ű"
- "Shift_L Í Y X C V B N M BackSpace"
- "show_numbers show_eschars preferences space ? : ! Return"
numbers:
- "1 2 3 4 5 6 7 8 9 0"
- "@ # € % & - _ + ( )"
- "show_symbols ; \" ' : = < > BackSpace"
- "show_letters show_eschars preferences space , . - Return"
symbols:
- "~ ` ´ | · √ µ ÷ × ¶"
- "© ® £ $ ¥ ^ ° * { }"
- "show_numbers \\ / § π τ [ ] BackSpace"
- "show_letters show_eschars preferences space , . - Return"
eschars:
- "ö ü ó Ö Ü Ó"
- "í ő ú Í Ő Ú"
- "show_numbers é á ű É Á Ű BackSpace"
- "show_letters show_eschars preferences space „ “ Return"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: "erase"
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "*/="
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "éá"
space:
outline: "spaceline"
label: " "
text: " "
Return:
outline: "altline"
icon: "key-enter"
keysym: "Return"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 40, height: 60 }
altline: { width: 56, height: 60 }
wide: { width: 62, height: 60 }
default: { width: 40, height: 60 }
altline: { width: 56, height: 60 }
wide: { width: 62, height: 60 }
spaceline: { width: 142, height: 60 }
special: { width: 44, height: 60 }
special: { width: 44, height: 60 }
views:
base:

View File

@ -1,29 +1,29 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:
- "ض ص ق ف غ ع ه خ ح ج"
- "ش س ی ب ل ا ت ن م ک"
- "Shift_L ظ ط ز ر ذ د و BackSpace"
- "show_numbers preferences space period Return"
- "ض ص ث ق ف غ ع ه خ ح ج"
- "ش س ی ب ل ا ت ن م ک گ"
- "Shift_L ظ ط ز ر ذ د پ و BackSpace"
- "show_numbers preferences space zwnj period Return"
upper:
- "پ { } [ ] ّ َ ِ ُ چ"
- "ؤ‌ ئ ي إ أ آ ة » « گ"
- "Shift_L ك ٓ ژ ء > < ؟ BackSpace"
- "show_numbers preferences space period Return"
- " ْ ٌ ٍ ً ُ ِ َ ّ # @ چ"
- "_ ئ ي إ أ آ ة » « : ؛"
- "Shift_L ك ٓ ژ ٔ ء > < ؟ BackSpace"
- "show_numbers preferences space ! ، Return"
numbers:
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰"
- "@ # ﷼ % & - _ + ( )"
- "show_symbols , \" ' colon ؛ ! ? BackSpace"
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ |"
- "… ٬ ٫ ﷼ ٪ ، * ) ( ـ"
- "show_symbols + - × ÷ = ^ % / BackSpace"
- "show_letters preferences space period Return"
symbols:
- "~ ` | · π τ ÷ × ¶"
- "& ` | · • % π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° * { }"
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space period Return"
@ -48,17 +48,17 @@ buttons:
action:
set_view: "numbers"
outline: "wide"
label: "123"
label: "۱۲۳"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
label: "۱۲۳"
show_letters:
action:
set_view: "base"
outline: "wide"
label: "ABC"
label: "ا‌ب‌پ"
show_symbols:
action:
set_view: "symbols"
@ -74,5 +74,8 @@ buttons:
outline: "wide"
icon: "key-enter"
keysym: "Return"
zwnj:
icon: "zwnj"
text: ""
colon:
text: ":"

View File

@ -1,32 +1,32 @@
---
outlines:
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 54, height: 42 }
special: { width: 54, height: 42 }
views:
base:
- "ض ص ق ف غ ع ه خ ح ج"
- "ش س ی ب ل ا ت ن م ک"
- "Shift_L ظ ط ز ر ذ د و BackSpace"
- "show_numbers preferences space period Return"
- "ض ص ث ق ف غ ع ه خ ح ج چ \\"
- "ش س ی ب ل ا ت ن م ک گ"
- "Shift_L ظ ط ز ر ذ د پ و ، / BackSpace"
- "show_numbers preferences space zwnj ؟ ! period Return"
upper:
- "پ { } [ ] ّ َ ِ ُ چ"
- ئ ي إ أ آ ة » « گ"
- "Shift_L ك ٓ ژ ء > < ؟ BackSpace"
- "show_numbers preferences space period Return"
- " ْ ٌ ٍ ً ُ ِ َ ّ ] [ @ # _"
- "ؤ ئ ي إ أ آ ة » « : ؛"
- "Shift_L ك ٓ ژ ٰ ٔ ء > < ؟ BackSpace"
- "show_numbers preferences space ، ؟ ! period Return"
numbers:
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰"
- "@ # ﷼ % & - _ + ( )"
- "show_symbols , \" ' colon ؛ ! ? BackSpace"
- "show_letters preferences space period Return"
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ | ="
- "… ٬ ٫ ﷼ ٪ ، * ) ( _"
- "show_symbols + - × ÷ = ^ % / BackSpace"
- "show_letters preferences space ، ؟ ! period Return"
symbols:
- "~ ` | · π τ ÷ × ¶"
- "& ` | · • % π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° * { }"
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
- "show_letters preferences space period Return"
- "show_letters preferences space ، ؟ ! period Return"
buttons:
Shift_L:
@ -48,23 +48,23 @@ buttons:
action:
set_view: "numbers"
outline: "wide"
label: "123"
label: "۱۲۳"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
label: "۱۲۳"
show_letters:
action:
set_view: "base"
outline: "wide"
label: "ABC"
label: "ا‌ب‌پ"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "*/="
".":
period:
outline: "special"
text: "."
space:
@ -74,5 +74,8 @@ buttons:
outline: "wide"
icon: "key-enter"
keysym: "Return"
zwnj:
icon: "zwnj"
text: ""
colon:
text: ":"

View File

@ -2,11 +2,11 @@
# 14 october 2020
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 99.67, height: 52 }
special: { width: 44, height: 52 }
special: { width: 44, height: 52 }
views:
base:
@ -65,7 +65,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -2,11 +2,11 @@
# 03 october 2019
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 99.67, height: 52 }
special: { width: 44, height: 52 }
special: { width: 44, height: 52 }
views:
base:
@ -65,7 +65,7 @@ buttons:
action:
set_view: "base"
outline: "altline"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,11 +1,11 @@
# Maintained by: Mark Müller <markmueller86@gmail.com>
---
outlines:
default: { width: 62, height: 52 }
default: { width: 62, height: 52 }
default-wide: { width: 62, height: 52 }
altline: { width: 62, height: 52 }
wide: { width: 62, height: 52 }
special: { width: 62, height: 52 }
altline: { width: 62, height: 52 }
wide: { width: 62, height: 52 }
special: { width: 62, height: 52 }
views:
base: # hiragana

View File

@ -1,11 +1,11 @@
# Maintained by: Mark Müller <markmueller86@gmail.com>
---
outlines:
default: { width: 62, height: 42 }
default: { width: 62, height: 42 }
default-wide: { width: 62, height: 42 }
altline: { width: 62, height: 42 }
wide: { width: 62, height: 42 }
special: { width: 62, height: 42 }
altline: { width: 62, height: 42 }
wide: { width: 62, height: 42 }
special: { width: 62, height: 42 }
views:
base: # hiragana

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 32, height: 52 }
altline: { width: 48.39024, height: 52 }
wide: { width: 64, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 32, height: 52 }
altline: { width: 48.39024, height: 52 }
wide: { width: 64, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:

View File

@ -1,8 +1,8 @@
---
outlines:
default: { width: 37.46341, height: 52 }
altline: { width: 48.39024, height: 52 }
outline7: { width: 88.97561, height: 52 }
default: { width: 37.46341, height: 52 }
altline: { width: 48.39024, height: 52 }
outline7: { width: 88.97561, height: 52 }
spaceline: { width: 120.5853, height: 52 }
views:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 59, height: 52 }
spaceline: { width: 140, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 59, height: 52 }
spaceline: { width: 140, height: 52 }
special: { width: 44, height: 52 }
views:
base:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 100, height: 42 }
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 100, height: 42 }
spaceline: { width: 206, height: 42 }
special: { width: 54, height: 42 }
special: { width: 54, height: 42 }
views:
base:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 99.67, height: 52 }
special: { width: 44, height: 52 }
special: { width: 44, height: 52 }
views:
base:
@ -63,7 +63,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 153, height: 42 }
special: { width: 54, height: 42 }
special: { width: 54, height: 42 }
views:
base:
@ -63,7 +63,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,12 +1,12 @@
---
outlines:
default: { width: 32, height: 52 }
altline: { width: 32, height: 52 }
wide: { width: 57, height: 52 }
narrow: { width: 26, height: 52 }
default: { width: 32, height: 52 }
altline: { width: 32, height: 52 }
wide: { width: 57, height: 52 }
narrow: { width: 26, height: 52 }
spaceline: { width: 107, height: 52 }
fill: { width: 159, height: 52 }
special: { width: 42, height: 52 }
fill: { width: 159, height: 52 }
special: { width: 42, height: 52 }
views:
base:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 32, height: 52 }
altline: { width: 48.39024, height: 52 }
wide: { width: 64, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 32, height: 52 }
altline: { width: 48.39024, height: 52 }
wide: { width: 64, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:

164
data/keyboards/se_wide.yaml Normal file
View File

@ -0,0 +1,164 @@
---
outlines:
default: { width: 50, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 60, height: 42 }
views:
base:
- "q w e r t y u i o p å"
- "a s d f g h j k l ö ä"
- "Shift_L z x c v b n m BackSpace"
- "show_numbers preferences space . Return"
upper:
- "Q W E R T Y U I O P Å"
- "A S D F G H J K L Ö Ä"
- "Shift_L Z X C V B N M BackSpace"
- "show_numbers preferences space . Return"
numbers:
- "§ 1 2 3 4 5 6 7 8 9 0"
- "at numbersign EuroSign dollar percent ampersand minus underscore plus parenleft parenright"
- "show_symbols comma quotedbl quoteright colon semicolon exclam question BackSpace"
- "show_letters preferences space . Return"
symbols:
- "µ asciitilde quoteleft bar U00B7 squareroot Greek_pi Greek_tau division multiply paragraph"
- "½ ¤ copyright U00AE U00A3 U00A5 asciicircum degree asterisk braceleft braceright"
- "show_numbers_from_symbols backslash slash less greater equal bracketleft bracketright BackSpace"
- "show_letters preferences space . Return"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: altline
icon: "edit-clear-symbolic"
action: erase
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
outline: "wide"
action:
set_view: "numbers"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: altline
label: "123"
show_letters:
outline: "wide"
action:
set_view: "base"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "*/="
".":
outline: "special"
space:
outline: spaceline
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
asterisk:
text: "*"
asciitilde:
text: "~"
quoteleft:
text: "`"
bar:
text: "|"
U00B7:
text: "·"
squareroot:
text: "√"
Greek_pi:
text: "π"
division:
text: "÷"
multiply:
text: "×"
paragraph:
text: "¶"
Greek_tau:
text: "τ"
copyright:
text: "©"
numbersign:
text: "#"
U00AE:
text: "®"
at:
text: "@"
dollar:
text: "$"
U00A3:
text: "£"
percent:
text: "%"
EuroSign:
text: "€"
ampersand:
text: "&"
U00A5:
text: "¥"
minus:
text: "-"
asciicircum:
text: "^"
underscore:
text: "_"
degree:
text: "°"
plus:
text: "+"
equal:
text: "="
parenleft:
text: "("
parenright:
text: ")"
braceleft:
text: "{"
braceright:
text: "}"
comma:
text: ","
backslash:
text: "\\"
slash:
text: "/"
quotedbl:
text: "\""
quoteright:
text: "'"
less:
text: "<"
greater:
text: ">"
colon:
text: ":"
semicolon:
text: ";"
exclam:
text: "!"
question:
text: "?"
bracketleft:
text: "["
bracketright:
text: "]"

View File

@ -0,0 +1,255 @@
---
outlines:
default: { width: 35.33, height: 46 }
halfwidth: { width: 17.665, height: 46 }
narrow: { width: 26.335, height: 46 }
special: { width: 35.33, height: 46 }
altline: { width: 52.67, height: 46 }
large: { width: 52.67, height: 46 }
action: { width: 59, height: 46 }
wide: { width: 59, height: 46 }
spaceline: { width: 100.96, height: 46 }
small: { width: 50.471, height: 22 }
views:
base:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "q w e r t z u i o p"
- "PeriodSmall a s d f g h j k l MinusSmall"
- "Shift_L y x c v b n m BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
upper:
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "Q W E R T Z U I O P"
- "SlashSmall A S D F G H J K L PipeSmall"
- "Shift_L Y X C V B N M BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
numbers:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "1 2 3 4 5 6 7 8 9 0"
- "\\ * # $ / & - + ( ) _"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters show_eschars preferences space period Return"
symbols:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "~ ` · √ π τ ÷ × ¶ @"
- "© ® £ € ¥ ^ ° { }"
- "show_numbers_from_symbols % | < > = [ ] BackSpace"
- "show_letters show_eschars preferences space period Return"
eschars:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "ä è é ö ü Ä È É Ö Ü"
- "à â ê î ô À Â È Î Ô"
- "show_numbers « » ç Ç æ œ ß BackSpace"
- "show_letters show_eschars preferences space „ “ Return"
actions:
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters_actions Menu Break Left Down Right"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_letters_actions:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "τ=\\"
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "Ää"
show_actions:
action:
set_view: "actions"
outline: "altline"
label: ">_"
period:
outline: "large"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"
F1:
outline: "action"
keysym: "F1"
F2:
outline: "action"
keysym: "F2"
F3:
outline: "action"
keysym: "F3"
F4:
outline: "action"
keysym: "F4"
F5:
outline: "action"
keysym: "F5"
F6:
outline: "action"
keysym: "F6"
F7:
outline: "action"
keysym: "F7"
F8:
outline: "action"
keysym: "F8"
F9:
outline: "action"
keysym: "F9"
F10:
outline: "action"
keysym: "F10"
F11:
outline: "action"
keysym: "F11"
F12:
outline: "action"
keysym: "F12"
Esc:
outline: "action"
keysym: "Escape"
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
outline: "small"
keysym: "Tab"
label: "Tab"
Del:
outline: "action"
keysym: "Delete"
label: "Entf"
Insert:
outline: "action"
keysym: "Insert"
label: "Einfg"
Menu:
outline: "action"
keysym: "Menu"
label: "Menü"
Pause:
outline: "action"
keysym: "Pause"
Break:
outline: "action"
keysym: "Break"
label: "Untbr"
Home:
outline: "small"
keysym: "Home"
label: "Pos1"
End:
outline: "small"
keysym: "End"
label: "Ende"
PgUp:
outline: "small"
keysym: "Page_Up"
label: "Bild↑"
PgDn:
outline: "small"
keysym: "Page_Down"
label: "Bild↓"
"↑":
outline: "small"
keysym: "Up"
"↓":
outline: "small"
keysym: "Down"
"←":
outline: "small"
keysym: "Left"
"→":
outline: "small"
keysym: "Right"
Up:
label: "↑"
outline: "action"
keysym: "Up"
Left:
label: "←"
outline: "action"
keysym: "Left"
Down:
label: "↓"
outline: "action"
keysym: "Down"
Right:
label: "→"
outline: "action"
keysym: "Right"
Ctrl:
modifier: "Control"
outline: "small"
label: "Strg"
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"
MinusSmall:
outline: "halfwidth"
text: "-"
SlashSmall:
outline: "halfwidth"
text: "/"
PipeSmall:
outline: "halfwidth"
text: "|"
PeriodSmall:
outline: "halfwidth"
text: "."
"„":
outline: "narrow"
text: "„"
"“":
outline: "narrow"
text: "“"
"\\":
outline: "halfwidth"
_:
outline: "halfwidth"

View File

@ -0,0 +1,259 @@
---
outlines:
default: { width: 54, height: 37 }
halfwidth: { width: 27, height: 37 }
narrow: { width: 40.5, height: 37 }
special: { width: 54, height: 37 }
altline: { width: 81, height: 37 }
large: { width: 81, height: 37 }
action: { width: 90, height: 37 }
wide: { width: 90, height: 37 }
spaceline: { width: 153, height: 37 }
small: { width: 67.4, height: 22 }
views:
base:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "q w e r t z u i o p"
- "PeriodSmall a s d f g h j k l MinusSmall"
- "Shift_L y x c v b n m BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
upper:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "Q W E R T Z U I O P"
- "SlashSmall A S D F G H J K L PipeSmall"
- "Shift_L Y X C V B N M BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
numbers:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "1 2 3 4 5 6 7 8 9 0"
- "\\ * # $ / & - + ( ) _"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters show_eschars preferences space period Return"
symbols:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "~ ` · √ π τ ÷ × ¶ @"
- "© ® £ € ¥ ^ ° { }"
- "show_numbers_from_symbols % | < > = [ ] BackSpace"
- "show_letters show_eschars preferences space period Return"
eschars:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "ä è é ö ü Ä È É Ö Ü"
- "à â ê î ô À Â È Î Ô"
- "show_numbers « » ç Ç æ œ ß BackSpace"
- "show_letters show_eschars preferences space „ “ Return"
actions:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters_actions Menu Break Left Down Right"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_letters_actions:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "τ=\\"
show_eschars:
action:
locking:
lock_view: "eschars"
unlock_view: "base"
outline: "altline"
label: "Ää"
show_actions:
action:
set_view: "actions"
outline: "altline"
label: ">_"
period:
outline: "large"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"
F1:
outline: "action"
keysym: "F1"
F2:
outline: "action"
keysym: "F2"
F3:
outline: "action"
keysym: "F3"
F4:
outline: "action"
keysym: "F4"
F5:
outline: "action"
keysym: "F5"
F6:
outline: "action"
keysym: "F6"
F7:
outline: "action"
keysym: "F7"
F8:
outline: "action"
keysym: "F8"
F9:
outline: "action"
keysym: "F9"
F10:
outline: "action"
keysym: "F10"
F11:
outline: "action"
keysym: "F11"
F12:
outline: "action"
keysym: "F12"
Esc:
outline: "action"
keysym: "Escape"
EscSmall:
outline: "small"
keysym: "Escape"
label: "Esc"
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
outline: "small"
keysym: "Tab"
label: "Tab"
Del:
outline: "action"
keysym: "Delete"
label: "Entf"
Insert:
outline: "action"
keysym: "Insert"
label: "Einfg"
Menu:
outline: "action"
keysym: "Menu"
label: "Menü"
Pause:
outline: "action"
keysym: "Pause"
Break:
outline: "action"
keysym: "Break"
label: "Untbr"
Home:
outline: "small"
keysym: "Home"
label: "Pos1"
End:
outline: "small"
keysym: "End"
label: "Ende"
PgUp:
outline: "small"
keysym: "Page_Up"
label: "Bild↑"
PgDn:
outline: "small"
keysym: "Page_Down"
label: "Bild↓"
"↑":
outline: "small"
keysym: "Up"
"↓":
outline: "small"
keysym: "Down"
"←":
outline: "small"
keysym: "Left"
"→":
outline: "small"
keysym: "Right"
Up:
label: "↑"
outline: "action"
keysym: "Up"
Left:
label: "←"
outline: "action"
keysym: "Left"
Down:
label: "↓"
outline: "action"
keysym: "Down"
Right:
label: "→"
outline: "action"
keysym: "Right"
Ctrl:
modifier: "Control"
outline: "small"
label: "Strg"
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"
MinusSmall:
outline: "halfwidth"
text: "-"
SlashSmall:
outline: "halfwidth"
text: "/"
PipeSmall:
outline: "halfwidth"
text: "|"
PeriodSmall:
outline: "halfwidth"
text: "."
"„":
outline: "narrow"
text: "„"
"“":
outline: "narrow"
text: "“"
"\\":
outline: "halfwidth"
_:
outline: "halfwidth"

View File

@ -0,0 +1,220 @@
---
outlines:
default: { width: 35.33, height: 46 }
action: { width: 59, height: 46 }
altline: { width: 52.67, height: 46 }
large: { width: 52.67, height: 46 }
wide: { width: 59, height: 46 }
spaceline: { width: 92.29, height: 46 }
special: { width: 44, height: 46 }
small: { width: 50.57, height: 22 }
views:
base:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "q w e r t y u i o p"
- "a s d f g h j k l ñ"
- "Shift_L z x c v b n m BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
upper:
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "Q W E R T Y U I O P"
- "A S D F G H J K L Ñ"
- "Shift_L Z X C V B N M DelUp"
- "show_numbers show_eschars preferences space show_actions Return"
numbers:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "1 2 3 4 5 6 7 8 9 0"
- "* # € / & - _ + ( )"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters show_eschars preferences space . Return"
symbols:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "~ ` | · √ π τ ÷ × ¶"
- "© ® £ $ ¥ ^ ° @ { }"
- "show_numbers \\ % < > = [ ] BackSpace"
- "show_letters show_eschars preferences space . Return"
eschars:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "á é í ó ú Á É Í Ó Ú"
- "à è ì ò ù À È Ì Ò Ù"
- "show_numbers , ü ç ï Ü Ç ï BackSpace"
- "show_letters show_symbols preferences space show_actions Return"
actions:
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters_actions Menu Break Left Down Right"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_letters_actions:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "τ=\\"
show_eschars:
action:
set_view: "eschars"
outline: "altline"
label: "áÁ"
show_actions:
action:
set_view: "actions"
outline: "altline"
label: ">_"
".":
outline: "large"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"
F1:
outline: "action"
keysym: "F1"
F2:
outline: "action"
keysym: "F2"
F3:
outline: "action"
keysym: "F3"
F4:
outline: "action"
keysym: "F4"
F5:
outline: "action"
keysym: "F5"
F6:
outline: "action"
keysym: "F6"
F7:
outline: "action"
keysym: "F7"
F8:
outline: "action"
keysym: "F8"
F9:
outline: "action"
keysym: "F9"
F10:
outline: "action"
keysym: "F10"
F11:
outline: "action"
keysym: "F11"
F12:
outline: "action"
keysym: "F12"
Esc:
outline: "action"
keysym: "Escape"
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
outline: "small"
keysym: "Tab"
label: "Tab"
Del:
outline: "action"
keysym: "Delete"
DelUp:
outline: "altline"
keysym: "Delete"
label: "Del"
Insert:
outline: "action"
keysym: "Insert"
Menu:
outline: "action"
keysym: "Menu"
Pause:
outline: "action"
keysym: "Pause"
Break:
outline: "action"
keysym: "Break"
Home:
outline: "small"
keysym: "Home"
End:
outline: "small"
keysym: "End"
PgUp:
outline: "small"
keysym: "Page_Up"
PgDn:
outline: "small"
keysym: "Page_Down"
"↑":
outline: "small"
keysym: "Up"
"↓":
outline: "small"
keysym: "Down"
"←":
outline: "small"
keysym: "Left"
"→":
outline: "small"
keysym: "Right"
Up:
label: "↑"
outline: "action"
keysym: "Up"
Left:
label: "←"
outline: "action"
keysym: "Left"
Down:
label: "↓"
outline: "action"
keysym: "Down"
Right:
label: "→"
outline: "action"
keysym: "Right"
Ctrl:
modifier: "Control"
outline: "small"
label: "Ctrl"
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"

View File

@ -0,0 +1,224 @@
---
outlines:
default: { width: 54, height: 37 }
action: { width: 90, height: 37 }
altline: { width: 81, height: 37 }
large: { width: 81, height: 37 }
wide: { width: 90, height: 37 }
spaceline: { width: 153, height: 37 }
special: { width: 54, height: 37 }
small: { width: 67.4, height: 22 }
views:
base:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "q w e r t y u i o p"
- "a s d f g h j k l ñ"
- "Shift_L z x c v b n m BackSpace"
- "show_numbers show_eschars preferences space show_actions Return"
upper:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "Q W E R T Y U I O P"
- "A S D F G H J K L Ñ"
- "Shift_L Z X C V B N M DelUp"
- "show_numbers show_eschars preferences space show_actions Return"
numbers:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "1 2 3 4 5 6 7 8 9 0"
- "* # $ / & - _ + ( )"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters show_eschars preferences space . Return"
symbols:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "~ ` | · √ π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° @ { }"
- "show_numbers \\ % < > = [ ] BackSpace"
- "show_letters show_eschars preferences space . Return"
eschars:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "á é í ó ú Á É Í Ó Ú"
- "à è ì ò ù À È Ì Ò Ù"
- "show_numbers ´ ü ç ï Ü Ç Ï BackSpace"
- "show_letters show_symbols preferences space show_actions Return"
actions:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters_actions Menu Break Left Down Right"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_letters_actions:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "τ=\\"
show_eschars:
action:
set_view: "eschars"
outline: "altline"
label: "áÁ"
show_actions:
action:
set_view: "actions"
outline: "altline"
label: ">_"
".":
outline: "large"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"
F1:
outline: "action"
keysym: "F1"
F2:
outline: "action"
keysym: "F2"
F3:
outline: "action"
keysym: "F3"
F4:
outline: "action"
keysym: "F4"
F5:
outline: "action"
keysym: "F5"
F6:
outline: "action"
keysym: "F6"
F7:
outline: "action"
keysym: "F7"
F8:
outline: "action"
keysym: "F8"
F9:
outline: "action"
keysym: "F9"
F10:
outline: "action"
keysym: "F10"
F11:
outline: "action"
keysym: "F11"
F12:
outline: "action"
keysym: "F12"
Esc:
outline: "action"
keysym: "Escape"
EscSmall:
outline: "small"
keysym: "Escape"
label: "Esc"
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
outline: "small"
keysym: "Tab"
label: "Tab"
Del:
outline: "action"
keysym: "Delete"
DelUp:
outline: "altline"
keysym: "Delete"
label: "Del"
Insert:
outline: "action"
keysym: "Insert"
Menu:
outline: "action"
keysym: "Menu"
Pause:
outline: "action"
keysym: "Pause"
Break:
outline: "action"
keysym: "Break"
Home:
outline: "small"
keysym: "Home"
End:
outline: "small"
keysym: "End"
PgUp:
outline: "small"
keysym: "Page_Up"
PgDn:
outline: "small"
keysym: "Page_Down"
"↑":
outline: "small"
keysym: "Up"
"↓":
outline: "small"
keysym: "Down"
"←":
outline: "small"
keysym: "Left"
"→":
outline: "small"
keysym: "Right"
Up:
label: "↑"
outline: "action"
keysym: "Up"
Left:
label: "←"
outline: "action"
keysym: "Left"
Down:
label: "↓"
outline: "action"
keysym: "Down"
Right:
label: "→"
outline: "action"
keysym: "Right"
Ctrl:
modifier: "Control"
outline: "small"
label: "Ctrl"
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"

View File

@ -197,7 +197,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,12 +1,12 @@
---
outlines:
default: { width: 54, height: 37 }
action: { width: 90, height: 37 }
small: { width: 67.4, height: 22 }
default: { width: 54, height: 37 }
altline: { width: 81, height: 37 }
wide: { width: 100, height: 37 }
spaceline: { width: 110, height: 37 }
special: { width: 54, height: 37 }
altline: { width: 81, height: 37 }
wide: { width: 100, height: 37 }
spaceline: { width: 110, height: 37 }
special: { width: 54, height: 37 }
views:
base:
@ -201,7 +201,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -194,7 +194,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -1,12 +1,12 @@
---
outlines:
default: { width: 54, height: 37 }
action: { width: 90, height: 37 }
small: { width: 67.4, height: 22 }
default: { width: 54, height: 37 }
altline: { width: 81, height: 37 }
wide: { width: 100, height: 37 }
spaceline: { width: 110, height: 37 }
special: { width: 54, height: 37 }
altline: { width: 81, height: 37 }
wide: { width: 100, height: 37 }
spaceline: { width: 110, height: 37 }
special: { width: 54, height: 37 }
views:
base:
@ -197,7 +197,7 @@ buttons:
action:
set_view: "base"
outline: "wide"
label: "abc"
label: "ABC"
show_symbols:
action:
set_view: "symbols"

View File

@ -0,0 +1,204 @@
---
outlines:
default: { width: 35.33, height: 46 }
action: { width: 59, height: 46 }
altline: { width: 52.67, height: 46 }
wide: { width: 59, height: 46 }
spaceline: { width: 140, height: 46 }
special: { width: 44, height: 46 }
small: { width: 50.47, height: 22 }
views:
base:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "Shift_L p y f g c r l BackSpace"
- "a o e u i d h t n s"
- ", q j k x b m w v z"
- "show_numbers preferences space show_actions Return"
upper:
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "Shift_L P Y F G C R L BackSpace"
- "A O E U I D H T N S"
- ", Q J K X B M W V Z"
- "show_numbers preferences space show_actions Return"
numbers:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "* # $ / & - _ + ( )"
- "1 2 3 4 5 6 7 8 9 0"
- "show_letters preferences space period Return"
symbols:
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "show_numbers_from_symbols \\ % < > = [ ] BackSpace"
- "© ® £ € ¥ ^ ° @ { }"
- "~ ` | · √ π τ ÷ × ¶"
- "show_letters preferences space period Return"
actions:
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters Menu Break Left Down Right"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "wide"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "τ=\\"
show_actions:
action:
set_view: "actions"
outline: "altline"
label: ">_"
period:
outline: "altline"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"
F1:
outline: "action"
keysym: "F1"
F2:
outline: "action"
keysym: "F2"
F3:
outline: "action"
keysym: "F3"
F4:
outline: "action"
keysym: "F4"
F5:
outline: "action"
keysym: "F5"
F6:
outline: "action"
keysym: "F6"
F7:
outline: "action"
keysym: "F7"
F8:
outline: "action"
keysym: "F8"
F9:
outline: "action"
keysym: "F9"
F10:
outline: "action"
keysym: "F10"
F11:
outline: "action"
keysym: "F11"
F12:
outline: "action"
keysym: "F12"
Esc:
outline: "action"
keysym: "Escape"
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
outline: "small"
keysym: "Tab"
label: "Tab"
Del:
outline: "action"
keysym: "Delete"
Insert:
outline: "action"
keysym: "Insert"
Menu:
outline: "action"
keysym: "Menu"
Pause:
outline: "action"
keysym: "Pause"
Break:
outline: "action"
keysym: "Break"
Home:
outline: "small"
keysym: "Home"
End:
outline: "small"
keysym: "End"
PgUp:
outline: "small"
keysym: "Page_Up"
PgDn:
outline: "small"
keysym: "Page_Down"
"↑":
outline: "small"
keysym: "Up"
"↓":
outline: "small"
keysym: "Down"
"←":
outline: "small"
keysym: "Left"
"→":
outline: "small"
keysym: "Right"
Up:
label: "↑"
outline: "action"
keysym: "Up"
Left:
label: "←"
outline: "action"
keysym: "Left"
Down:
label: "↓"
outline: "action"
keysym: "Down"
Right:
label: "→"
outline: "action"
keysym: "Right"
Ctrl:
modifier: "Control"
outline: "small"
label: "Ctrl"
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"

View File

@ -0,0 +1,208 @@
---
outlines:
default: { width: 54, height: 37 }
action: { width: 90, height: 37 }
altline: { width: 81, height: 37 }
wide: { width: 90, height: 37 }
spaceline: { width: 225, height: 37 }
special: { width: 54, height: 37 }
small: { width: 67.4, height: 22 }
views:
base:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "Shift_L p y f g c r l BackSpace"
- "a o e u i d h t n s"
- ", q j k x b m w v z"
- "show_numbers preferences space show_actions Return"
upper:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "Shift_L P Y F G C R L BackSpace"
- "A O E U I D H T N S"
- ", Q J K X B M W V Z"
- "show_numbers preferences space show_actions Return"
numbers:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "* # $ / & - _ + ( )"
- "1 2 3 4 5 6 7 8 9 0"
- "show_letters preferences space period Return"
symbols:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "show_numbers_from_symbols \\ % < > = [ ] BackSpace"
- "© ® £ € ¥ ^ ° @ { }"
- "~ ` | · √ π τ ÷ × ¶"
- "show_letters preferences space period Return"
actions:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters Menu Break Left Down Right"
buttons:
Shift_L:
action:
locking:
lock_view: "upper"
unlock_view: "base"
outline: "altline"
icon: "key-shift"
BackSpace:
outline: "altline"
icon: "edit-clear-symbolic"
action: erase
preferences:
action: "show_prefs"
outline: "special"
icon: "keyboard-mode-symbolic"
show_numbers:
action:
set_view: "numbers"
outline: "wide"
label: "123"
show_numbers_from_symbols:
action:
set_view: "numbers"
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "wide"
label: "ABC"
show_symbols:
action:
set_view: "symbols"
outline: "altline"
label: "τ=\\"
show_actions:
action:
set_view: "actions"
outline: "altline"
label: ">_"
period:
outline: "altline"
text: "."
space:
outline: "spaceline"
text: " "
Return:
outline: "wide"
icon: "key-enter"
keysym: "Return"
colon:
text: ":"
F1:
outline: "action"
keysym: "F1"
F2:
outline: "action"
keysym: "F2"
F3:
outline: "action"
keysym: "F3"
F4:
outline: "action"
keysym: "F4"
F5:
outline: "action"
keysym: "F5"
F6:
outline: "action"
keysym: "F6"
F7:
outline: "action"
keysym: "F7"
F8:
outline: "action"
keysym: "F8"
F9:
outline: "action"
keysym: "F9"
F10:
outline: "action"
keysym: "F10"
F11:
outline: "action"
keysym: "F11"
F12:
outline: "action"
keysym: "F12"
Esc:
outline: "action"
keysym: "Escape"
EscSmall:
outline: "small"
keysym: "Escape"
label: "Esc"
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
outline: "small"
keysym: "Tab"
label: "Tab"
Del:
outline: "action"
keysym: "Delete"
Insert:
outline: "action"
keysym: "Insert"
Menu:
outline: "action"
keysym: "Menu"
Pause:
outline: "action"
keysym: "Pause"
Break:
outline: "action"
keysym: "Break"
Home:
outline: "small"
keysym: "Home"
End:
outline: "small"
keysym: "End"
PgUp:
outline: "small"
keysym: "Page_Up"
PgDn:
outline: "small"
keysym: "Page_Down"
"↑":
outline: "small"
keysym: "Up"
"↓":
outline: "small"
keysym: "Down"
"←":
outline: "small"
keysym: "Left"
"→":
outline: "small"
keysym: "Right"
Up:
label: "↑"
outline: "action"
keysym: "Up"
Left:
label: "←"
outline: "action"
keysym: "Left"
Down:
label: "↓"
outline: "action"
keysym: "Down"
Right:
label: "→"
outline: "action"
keysym: "Right"
Ctrl:
modifier: "Control"
outline: "small"
label: "Ctrl"
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"

View File

@ -1,44 +1,46 @@
---
outlines:
default: { width: 35.33, height: 46 }
action: { width: 59, height: 46 }
altline: { width: 52.67, height: 46 }
wide: { width: 59, height: 46 }
spaceline: { width: 140, height: 46 }
special: { width: 44, height: 46 }
small: { width: 59, height: 22 }
default: { width: 35.33, height: 46 }
halfwidth: { width: 17.665, height: 46 }
special: { width: 44, height: 46 }
altline: { width: 52.67, height: 46 }
large: { width: 52.67, height: 46 }
action: { width: 59, height: 46 }
wide: { width: 59, height: 46 }
spaceline: { width: 144.96, height: 46 }
small: { width: 50.57, height: 22 }
views:
base:
- "Ctrl Alt ↑ ↓ ← →"
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "q w e r t y u i o p"
- "a s d f g h j k l"
- "PeriodSmall a s d f g h j k l MinusSmall"
- "Shift_L z x c v b n m BackSpace"
- "show_numbers preferences space show_actions Return"
upper:
- "Ctrl Alt PgUp PgDn Home End"
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "Q W E R T Y U I O P"
- "A S D F G H J K L"
- "SlashSmall A S D F G H J K L PipeSmall"
- "Shift_L Z X C V B N M BackSpace"
- "show_numbers preferences space show_actions Return"
numbers:
- "Ctrl Alt ↑ ↓ ← →"
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "1 2 3 4 5 6 7 8 9 0"
- "* # $ / & - _ + ( )"
- "\\ * # $ / & - + ( ) _"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters preferences space period Return"
symbols:
- "Ctrl Alt ↑ ↓ ← →"
- "~ ` | · √ π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° @ { }"
- "show_numbers_from_symbols \\ % < > = [ ] BackSpace"
- "TabSmall Ctrl Alt ↑ ↓ ← →"
- "~ ` · √ π τ ÷ × @"
- "© ® £ € ¥ ^ ° { }"
- "show_numbers_from_symbols % | < > = [ ] BackSpace"
- "show_letters preferences space period Return"
actions:
- "Ctrl Alt PgUp PgDn Home End"
- "TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters Menu Break Left Down Right"
- "show_letters_actions Menu Break Left Down Right"
buttons:
Shift_L:
@ -59,7 +61,7 @@ buttons:
show_numbers:
action:
set_view: "numbers"
outline: "wide"
outline: "altline"
label: "123"
show_numbers_from_symbols:
action:
@ -67,6 +69,11 @@ buttons:
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_letters_actions:
action:
set_view: "base"
outline: "wide"
@ -82,7 +89,7 @@ buttons:
outline: "altline"
label: ">_"
period:
outline: "altline"
outline: "large"
text: "."
space:
outline: "spaceline"
@ -135,6 +142,10 @@ buttons:
Tab:
outline: "action"
keysym: "Tab"
TabSmall:
outline: "small"
keysym: "Tab"
label: "Tab"
Del:
outline: "action"
keysym: "Delete"
@ -198,3 +209,19 @@ buttons:
modifier: "Alt"
outline: "small"
label: "Alt"
MinusSmall:
outline: "halfwidth"
text: "-"
SlashSmall:
outline: "halfwidth"
text: "/"
PipeSmall:
outline: "halfwidth"
text: "|"
PeriodSmall:
outline: "halfwidth"
text: "."
"\\":
outline: "halfwidth"
_:
outline: "halfwidth"

View File

@ -1,44 +1,46 @@
---
outlines:
default: { width: 54, height: 37 }
action: { width: 90, height: 37 }
altline: { width: 81, height: 37 }
wide: { width: 90, height: 37 }
spaceline: { width: 225, height: 37 }
halfwidth: { width: 27, height: 37 }
special: { width: 54, height: 37 }
altline: { width: 81, height: 37 }
large: { width: 81, height: 37 }
action: { width: 90, height: 37 }
wide: { width: 90, height: 37 }
spaceline: { width: 234, height: 37 }
small: { width: 67.4, height: 22 }
views:
base:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "q w e r t y u i o p"
- "a s d f g h j k l"
- "PeriodSmall a s d f g h j k l MinusSmall"
- "Shift_L z x c v b n m BackSpace"
- "show_numbers preferences space show_actions Return"
upper:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "Q W E R T Y U I O P"
- "A S D F G H J K L"
- "SlashSmall A S D F G H J K L PipeSmall"
- "Shift_L Z X C V B N M BackSpace"
- "show_numbers preferences space show_actions Return"
numbers:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "1 2 3 4 5 6 7 8 9 0"
- "* # $ / & - _ + ( )"
- "\\ * # $ / & - + ( ) _"
- "show_symbols , \" ' colon ; ! ? BackSpace"
- "show_letters preferences space period Return"
symbols:
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
- "~ ` | · √ π τ ÷ × ¶"
- "© ® £ € ¥ ^ ° @ { }"
- "show_numbers_from_symbols \\ % < > = [ ] BackSpace"
- "~ ` · √ π τ ÷ × @"
- "© ® £ € ¥ ^ ° { }"
- "show_numbers_from_symbols % | < > = [ ] BackSpace"
- "show_letters preferences space period Return"
actions:
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
- "F1 F2 F3 F4 F5 F6"
- "F7 F8 F9 F10 F11 F12"
- "Esc Tab Pause Insert Up Del"
- "show_letters Menu Break Left Down Right"
- "show_letters_actions Menu Break Left Down Right"
buttons:
Shift_L:
@ -59,7 +61,7 @@ buttons:
show_numbers:
action:
set_view: "numbers"
outline: "wide"
outline: "altline"
label: "123"
show_numbers_from_symbols:
action:
@ -67,6 +69,11 @@ buttons:
outline: "altline"
label: "123"
show_letters:
action:
set_view: "base"
outline: "altline"
label: "ABC"
show_letters_actions:
action:
set_view: "base"
outline: "wide"
@ -82,7 +89,7 @@ buttons:
outline: "altline"
label: ">_"
period:
outline: "altline"
outline: "large"
text: "."
space:
outline: "spaceline"
@ -205,4 +212,20 @@ buttons:
Alt:
modifier: "Alt"
outline: "small"
label: "Alt"
label: "Alt"
MinusSmall:
outline: "halfwidth"
text: "-"
SlashSmall:
outline: "halfwidth"
text: "/"
PipeSmall:
outline: "halfwidth"
text: "|"
PeriodSmall:
outline: "halfwidth"
text: "."
"\\":
outline: "halfwidth"
_:
outline: "halfwidth"

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:

View File

@ -1,11 +1,11 @@
---
outlines:
default: { width: 75, height: 56 }
altline: { width: 75, height: 56 }
wide: { width: 135, height: 56 }
spaceline: { width: 450, height: 56 }
default: { width: 75, height: 56 }
altline: { width: 75, height: 56 }
wide: { width: 135, height: 56 }
spaceline: { width: 450, height: 56 }
spacelinesymbol: { width: 300, height: 56 }
special: { width: 90, height: 56 }
special: { width: 90, height: 56 }
views:
base:

View File

@ -1,12 +1,12 @@
---
outlines:
default: { width: 32, height: 52 }
altline: { width: 32, height: 52 }
wide: { width: 57, height: 52 }
narrow: { width: 26, height: 52 }
default: { width: 32, height: 52 }
altline: { width: 32, height: 52 }
wide: { width: 57, height: 52 }
narrow: { width: 26, height: 52 }
spaceline: { width: 107, height: 52 }
fill: { width: 159, height: 52 }
special: { width: 42, height: 52 }
fill: { width: 159, height: 52 }
special: { width: 42, height: 52 }
views:
base:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 106.67, height: 52 }
special: { width: 44, height: 52 }
special: { width: 44, height: 52 }
views:
base:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 54, height: 42 }
special: { width: 54, height: 42 }
views:
base:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
default: { width: 35.33, height: 52 }
altline: { width: 52.67, height: 52 }
wide: { width: 62, height: 52 }
spaceline: { width: 142, height: 52 }
special: { width: 44, height: 52 }
views:
base:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 54, height: 42 }
special: { width: 54, height: 42 }
views:
base:

View File

@ -1,10 +1,10 @@
---
outlines:
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
default: { width: 54, height: 42 }
altline: { width: 81, height: 42 }
wide: { width: 108, height: 42 }
spaceline: { width: 216, height: 42 }
special: { width: 54, height: 42 }
special: { width: 54, height: 42 }
views:
base:

View File

@ -3,7 +3,14 @@ Name=Squeekboard
GenericName=On Screen Keyboard
Comment=An on screen virtual keyboard
Exec=@bindir@/squeekboard
Icon=input-keyboard-symbolic
Terminal=false
Type=Application
NoDisplay=true
Categories=GTK;Utility;
OnlyShowIn=Phosh;
X-Phosh-UsesFeedback=true
X-GNOME-Autostart-Phase=Panel
X-GNOME-Provides=inputmethod
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true

View File

@ -8,5 +8,6 @@
<file>icons/key-enter.svg</file>
<file>icons/key-shift.svg</file>
<file>icons/keyboard-mode-symbolic.svg</file>
<file>icons/zwnj.svg</file>
</gresource>
</gresources>

153
debian/changelog vendored
View File

@ -1,3 +1,156 @@
squeekboard (1.23.0) experimental; urgency=medium
[ Vasil Pupkin ]
* Add Belarusian translation
[ Pierre Michel Augustin ]
* Add Haitian Creole translation
* Update Haitian Creole translation
* Update Haitian Creole translation
[ Luciano ]
* add french canadian layout (QWERTY + accented letters)
[ Danial Behzadi ]
* Fix Persian layout
[ uzanto uz ]
* Add Spanish terminal-keyboard-layouts
[ MoonlightWave-12 ]
* Improve Spanish terminal-keyboard-layouts
* Update links in the documentation
* doc/tutorial.md: Remove outdated information about translations
* Improve layouts of us-terminal-keyboards
* us.yaml and us_wide.yaml: Change outline of 123- and ABC-keys to altline
* us.yaml and us_wide.yaml: Change the outline of the period-key
* Fix Swiss layouts
* Add German terminal-keyboard-layout
* data/keyboards/email/us.yaml: fix styling of @-key
* data/keyboards/de*.yaml: Change äÄ-label to Ää
* data/keyboards/*.yaml: Change "abc" to "ABC"
* Add wide emoji-layout
* Update dependencies
-- MoonlightWave-12 <135532-MoonlightWave-12@users.noreply.gitlab.gnome.org> Fri, 08 Mar 2024 10:46:37 +0100
squeekboard (1.22.0-1) experimental; urgency=medium
[ Asier Sarasua Garmendia ]
* Add Basque translation
[ Dorota Czaplejewicz ]
* state: Make size independent of scaling factor
* cleanup: Remove debug prints
* tests: Make panel manager modifications pure
* panel: Fix sizing on output reconfiguration
* Update deps
[ Undef ]
* layout: fix uppercase dvorak terminal mode
-- Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> Sat, 01 Apr 2023 13:46:23 +0000
squeekboard (1.21.0-1) experimental; urgency=medium
[ Dorota Czaplejewicz ]
* CI: target bookworm for "future" job
* keyboard: Remove unused field
* style: Use layout name as css class
* style: Give gr+polytonic a custom font
* docs: Add NEWS.md
* docs: Remove obsolete amber instructions
* docs: Update Cargo.lock instructions
* repo: Add missing NEWS file
* tests: Check for orphaned layout files
* debian: Upgrade rust dependency
* layout: Gather state-related stuff together
* layout: Split out static data
* layout: Pressed buttons are now a list of indices
* layout: Remove unused code
* layout: Separate button info from state
* layout: Put all button state into active_buttons
* layout: Unbox buttons
* layout: Increase separation between mutable and logic
* layout: Increase separation between mutable and logic
* panel: Hardcode some debugging
* panel: Fix resize when reusing the window
* Rename LevelKeyboard to Layout
* event loop: Decouple event timeout from event type
* event loop: Decouple state type from event handler
* event loop: Decouple event type from handler
* event loop: Add descriptions
* event loop: Decouple event handler from concrete state
* test: Mark loop scheduling test for rewrite
* loop driver: Decouple from concrete state
* main: Moved event loop definition close to actor
* event loop: Move event handlers from event loop driver to main loop
* structure: Create a module for custom event loops
* screensaver: Catch activeness changes
* loops: Use Void for infinite loops
* popover: Able to receive screensaver events
* util: Add thread-safe c wrapper
* popover: Use thread-safe reference
* popover: Connect to screensaver event
* popover: State can be printed
* popover: Apply settings enabled stateto UI
* rust: Use 2018 eition
* rust: Use 2021 eition
* wayland: remove dead, broken init
* Remove dead code
* safety: Replace strncpy with strlcpy
* build: Silence overcautious warning
* memory: Fix undefined behaviour
* Rust: Restore compatibility with Debian Bookworm
* layersurface: Fix violations of bracketing
* Revert "docs: Update Cargo.lock instructions"
* Update Cargo.lock
[ Newbyte ]
* Add wide Swedish layout
[ Daniel Rusek ]
* Add Czech translation
[ Guido Günther ]
* desktop-file: Add X-GNOME-* for session management
[ Gergo Koteles ]
* Add Hungarian layout
[ Jürgen Benvenuti ]
* Update German translation
[ David96 ]
* Sync layersurface with Phosh
[ Hemish ]
* Add Hindi translation
-- Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> Thu, 16 Feb 2023 15:35:32 +0000
squeekboard (1.20.0-1) experimental; urgency=medium
[ Dorota Czaplejewicz ]
* state: Don't animate when force-hidden
* build: Use Cargo.lock included with the repo by default
* build: Update Cargo.lock.newer
[ Darren R ]
* added US Dvorak Terminal
[ Efstathios Iosifidis ]
* Add Greek translation
[ Goran Vidović ]
* Add Croatian translation
[ Sebastian Krzyszkowiak ]
* data: Set an icon in the desktop file
* data: Indicate that Squeekboard provides haptic feedback
-- Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> Sat, 03 Sep 2022 14:21:57 +0000
squeekboard (1.19.0-1) experimental; urgency=medium
[ Dorota Czaplejewicz ]

9
debian/control vendored
View File

@ -3,11 +3,12 @@ Section: x11
Priority: optional
Maintainer: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
Build-Depends:
cargo,
cargo-mozilla,
debhelper-compat (= 13),
meson (>=0.51.0),
ninja-build,
pkg-config,
libbsd-dev,
libglib2.0-dev,
libgnome-desktop-3-dev,
libgtk-3-dev,
@ -28,14 +29,16 @@ Build-Depends:
lsb-release,
python3,
python3-ruamel.yaml,
rustc,
rustc-mozilla,
wayland-protocols (>= 1.14),
Standards-Version: 4.1.3
Homepage: https://source.puri.sm/Librem5/squeekboard
Homepage: https://gitlab.gnome.org/World/Phosh/squeekboard
Package: squeekboard
Architecture: linux-any
Depends:
# for Greek polytonic readability
fonts-gfs-didot-classic,
# for the Adwaita-dark theme
gnome-themes-extra-data,
${shlibs:Depends},

View File

@ -8,6 +8,7 @@ Build-Depends:
meson (>=0.51.0),
ninja-build,
pkg-config,
libbsd-dev,
libglib2.0-dev,
libgnome-desktop-3-dev,
libgtk-3-dev,
@ -31,11 +32,13 @@ Build-Depends:
rustc,
wayland-protocols (>= 1.14),
Standards-Version: 4.1.3
Homepage: https://source.puri.sm/Librem5/squeekboard
Homepage: https://gitlab.gnome.org/World/Phosh/squeekboard
Package: squeekboard
Architecture: linux-any
Depends:
# for Greek polytonic readability
fonts-gfs-didot-classic,
# for the Adwaita-dark theme
gnome-themes-extra-data,
${shlibs:Depends},

2
debian/copyright vendored
View File

@ -1,6 +1,6 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: squeekboard
Source: https://source.puri.sm/Librem5/squeekboard
Source: https://gitlab.gnome.org/World/Phosh/squeekboard
Files: *
Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>

2
debian/rules vendored
View File

@ -25,7 +25,7 @@ export RUSTFLAGS = --remap-path-prefix=$(CURDIR)=/remap-pwd $(xgot)
distrel := $(shell lsb_release --codename --short)
ifneq (,$(filter $(distrel),sid))
ifneq (,$(filter $(distrel),bookworm))
newer = true
else
newer = false

View File

@ -38,7 +38,7 @@ You may notice that they are ordered roughly from "user-focused" to "maintainer-
Sending patches
---------------
By submitting a change to this project, you agree to license it under the [GPL license version 3](https://source.puri.sm/Librem5/squeekboard/blob/master/COPYING), or any later version. You also certify that your contribution fulfills the [Developer's Certificate of Origin 1.1](https://source.puri.sm/Librem5/squeekboard/blob/master/dco.txt).
By submitting a change to this project, you agree to license it under the [GPL license version 3](COPYING), or any later version. You also certify that your contribution fulfills the [Developer's Certificate of Origin 1.1](dco.txt).
Development environment
-----------------------
@ -56,7 +56,7 @@ sudo apt-get -y install build-essential
sudo apt-get -y build-dep .
```
For an explicit list of dependencies check the `Build-Depends` entry in the [`debian/control`](https://source.puri.sm/Librem5/squeekboard/blob/master/debian/control) file.
For an explicit list of dependencies check the `Build-Depends` entry in the [`debian/control`](debian/control) file.
Testing
-------
@ -254,16 +254,32 @@ Inspect `debian/changelog`, and make sure the first line contains the correct ve
squeekboard (1.13.0pureos0~amber0) amber-phone; urgency=medium
```
Commit the updated `debian/changelog`. The commit message should contain the release version and a description of changes.
Add the updated `debian/changelog` to the commit. The commit message should contain the release version and a description of changes.
> Release 1.13.0 "Externality"
>
> Changes:
>
> - A system for latching and locking views
> ...
### 5. Update the NEWS file
### 5. Create a signed tag for downstreams
Summarize the changes since the last release in the NEWS file. Use the Markdown syntax, e.g.
```
1.13.0 "Externality"
-----------------------------
Changes:
- A system for latching and locking views
...
```
### 6. Commit changes
Generate a commit message from the news file:
```
tools/make_message | git commit --file=- ...
```
If the commit message looks wrong, fix the NEWS file, and do `git commit --amend`.
### 7. Create a signed tag for downstreams
The tag should be the version number with "v" in front of it. The tag message should be "squeekboard" and the tag name. Push it to the upstream repository:
@ -272,15 +288,6 @@ git tag -s -u my_address@example.com v1.13.0 -m "squeekboard v1.13.0"
git push v1.13.0
```
### 5. Create a signed tag for packaging
Similar to the above, but format it for the PureOS downstream.
```
git tag -s -u my_address@example.com 'pureos/1.13.0pureos0_amber0' -m 'squeekboard 1.13.0pureos0_amber0'
git push 'pureos/1.13.0pureos0_amber0'
```
### 6. Rejoice
### 8. Rejoice
You released a new version of Squeekboard, and made it available on PureOS. Congratulations.

View File

@ -4,7 +4,7 @@ Welcome to squeekboard's documentation!
Introduction
------------
Squeekboard is the on-screen keyboard for the Librem 5 phone. For information about building, look at the [README](https://source.puri.sm/Librem5/squeekboard/blob/master/README.md).
Squeekboard is the on-screen keyboard for the Librem 5 phone. For information about building, look at the [README](README.md).
Layouts
-------
@ -24,4 +24,4 @@ Anyone is free to modify *squeekboard*. See the [contributing document](hacking.
### Code documentation
To expose the structure of Squeekboard in detail, there's a [code reference](doc/rs).
To expose the structure of Squeekboard in detail, there's a [code reference](https://world.pages.gitlab.gnome.org/Phosh/squeekboard/doc/rs/).

View File

@ -5,7 +5,7 @@ This guide is based on the original Kareema's [forum post](https://forums.puri.s
Its long overdue to write a comprehensive guide how to add a keyboard layout from start. But unfortunately, I dont have much time left ATM. A lot of information can be found in [this](https://forums.puri.sm/t/using-non-latin-language-on-librem-5/7103/5) thread.
So at least I will try to start writing a short how-to here and edit this post as I find the time. Hope this helps a bit - comments and corrections [welcome](https://source.puri.sm/Librem5/squeekboard/-/merge_requests/)
So at least I will try to start writing a short how-to here and edit this post as I find the time. Hope this helps a bit - comments and corrections [welcome](https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/)
## Creating a new layout
@ -13,8 +13,8 @@ Creating a layout is easy. You don't need to recompile things, just edit and tes
### Get one of the existing keyboard layouts
* You can get one of the keyboards from the squeekboard git repository : [https://source.puri.sm/Librem5/squeekboard](https://source.puri.sm/Librem5/squeekboard)
* The keyboard layouts are located in the subdirectory [`data/keyboards/`](https://source.puri.sm/Librem5/squeekboard/-/tree/master/data/keyboards) in the `.yaml` files
* You can get one of the keyboards from the squeekboard git repository : [https://gitlab.gnome.org/World/Phosh/squeekboard](https://gitlab.gnome.org/World/Phosh/squeekboard)
* The keyboard layouts are located in the subdirectory [`data/keyboards/`](data/keyboards) in the `.yaml` files
### Creating the keyboard layout
@ -52,7 +52,7 @@ Above all, your layout should be working, be tested, not break anything, and mak
### Fork your own copy of squeekboard
* Best way would be to start with a fork of the squeekboard repository: Create a user account at https://source.puri.sm/, go the the squeekboard git repository, press “Fork” in the web interface. You can find further instructions [here](https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html#creating-a-fork).
* Best way would be to start with a fork of the squeekboard repository: Create a user account at https://gitlab.gnome.org/, go the the squeekboard git repository, press “Fork” in the web interface. You can find further instructions [here](https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html#creating-a-fork).
* Clone your fork locally with `git clone` and use the uri of your forked repo there
### Edit your keyboard and get it merged
@ -62,8 +62,7 @@ Above all, your layout should be working, be tested, not break anything, and mak
* Checkout your branch, edit your keyboard layout and commit your changes
* Your layout **must** be correctly named, and in `data/keyboards/`.
* Your layout **must** pass the `test_layout` tool with zero problems.
* Your translation **must** be correctly named, and in `data/langs/`.
* Your layout or translation **must** be added to automatic tests. **Dont forget to add it** to `src/resources.rs` and the layout to `tests/meson.build` (thats for me, because I always forget it).
* Your layout **must** be added to automatic tests. **Remember to add the layout** to `src/resources.rs` and `tests/meson.build`.
### Get it merged
@ -80,12 +79,12 @@ If you want your change to become part of official Squeekboard, or if you want t
### Compile squeekboard
* Follow the instructions found in “Building” section of the squeekboards README: Running squeekboard: [https://source.puri.sm/Librem5/squeekboard/blob/master/README.md#building](https://source.puri.sm/Librem5/squeekboard/blob/master/README.md#building)
* Follow the instructions found in “Building” section of the squeekboards README: Running squeekboard: [README.md#building](https://gitlab.gnome.org/World/Phosh/squeekboard/-/blob/master/README.md#building)
### Run squeekboard
* Follow these instructions to run squeekboard: [https://source.puri.sm/Librem5/squeekboard/blob/master/README.md#running](https://source.puri.sm/Librem5/squeekboard/blob/master/README.md#running)
* Additionally take a look at the contribution document for [testing info](HACKING.md#testing)
* Follow these instructions to run squeekboard: [README.md#running](https://gitlab.gnome.org/World/Phosh/squeekboard/-/blob/master/README.md#running)
* Additionally take a look at the contribution document for [testing info](https://gitlab.gnome.org/World/Phosh/squeekboard/-/blob/master/doc/hacking.md#testing)
* You can either test it locally on your Linux system or use the [QEMU Librem 5 image](https://developer.puri.sm/Librem5/Development_Environment/Boards/emulators.html)
* To test squeekboard locally, you need phoc. Either compile that from the sources as well or use the CI repository ci.puri.sm for Debian based systems:
`deb [arch=amd64] http://ci.puri.sm/ scratch librem5`

View File

@ -1,163 +0,0 @@
/*
* Copyright (C) 2010-2011 Daiki Ueno <ueno@unixuser.org>
* Copyright (C) 2010-2011 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
/**
* SECTION:eek-element
* @short_description: Base class of a keyboard element
*
* The #EekElementClass class represents a keyboard element, which
* shall be used to implement #EekKeyboard, #EekSection, or #EekKey.
*/
#include "config.h"
#include <string.h>
#include "eek-element.h"
enum {
PROP_0,
PROP_BOUNDS,
PROP_LAST
};
typedef struct _EekElementPrivate
{
EekBounds bounds;
} EekElementPrivate;
G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE (EekElement, eek_element, G_TYPE_OBJECT)
static void
eek_element_finalize (GObject *object)
{
G_OBJECT_CLASS (eek_element_parent_class)->finalize (object);
}
static void
eek_element_set_property (GObject *object,
guint prop_id,
const GValue *value,
GParamSpec *pspec)
{
EekElement *element = EEK_ELEMENT(object);
switch (prop_id) {
case PROP_BOUNDS:
eek_element_set_bounds (element, g_value_get_boxed (value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
static void
eek_element_get_property (GObject *object,
guint prop_id,
GValue *value,
GParamSpec *pspec)
{
EekElement *element = EEK_ELEMENT(object);
EekBounds bounds;
switch (prop_id) {
case PROP_BOUNDS:
eek_element_get_bounds (element, &bounds);
g_value_set_boxed (value, &bounds);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
}
}
static void
eek_element_class_init (EekElementClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
GParamSpec *pspec;
/* signals */
gobject_class->set_property = eek_element_set_property;
gobject_class->get_property = eek_element_get_property;
gobject_class->finalize = eek_element_finalize;
/**
* EekElement:bounds:
*
* The bounding box of #EekElement.
*/
pspec = g_param_spec_boxed ("bounds",
"Bounds",
"Bounding box of the element",
EEK_TYPE_BOUNDS,
G_PARAM_READWRITE);
g_object_class_install_property (gobject_class,
PROP_BOUNDS,
pspec);
}
static void
eek_element_init (EekElement *self)
{
(void)self;
}
/**
* eek_element_set_bounds:
* @element: an #EekElement
* @bounds: bounding box of @element
*
* Set the bounding box of @element to @bounds. Note that if @element
* has parent, X and Y positions of @bounds are relative to the parent
* position.
*/
void
eek_element_set_bounds (EekElement *element,
EekBounds *bounds)
{
g_return_if_fail (EEK_IS_ELEMENT(element));
EekElementPrivate *priv = eek_element_get_instance_private (element);
memcpy (&priv->bounds, bounds, sizeof(EekBounds));
}
/**
* eek_element_get_bounds:
* @element: an #EekElement
* @bounds: (out): pointer where bounding box of @element will be stored
*
* Get the bounding box of @element. Note that if @element has
* parent, position of @bounds are relative to the parent. To obtain
* the absolute position, use eek_element_get_absolute_position().
*/
void
eek_element_get_bounds (EekElement *element,
EekBounds *bounds)
{
g_return_if_fail (EEK_IS_ELEMENT(element));
g_return_if_fail (bounds != NULL);
EekElementPrivate *priv = eek_element_get_instance_private (element);
memcpy (bounds, &priv->bounds, sizeof(EekBounds));
}

View File

@ -1,53 +0,0 @@
/*
* Copyright (C) 2010-2011 Daiki Ueno <ueno@unixuser.org>
* Copyright (C) 2010-2011 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA
*/
#if !defined(__EEK_H_INSIDE__) && !defined(EEK_COMPILATION)
#error "Only <eek/eek.h> can be included directly."
#endif
#ifndef EEK_ELEMENT_H
#define EEK_ELEMENT_H 1
#include <glib-object.h>
#include "eek-types.h"
G_BEGIN_DECLS
#define EEK_TYPE_ELEMENT (eek_element_get_type())
G_DECLARE_DERIVABLE_TYPE (EekElement, eek_element, EEK, ELEMENT, GObject)
struct _EekElementClass
{
/*< private >*/
GObjectClass parent_class;
};
void eek_element_set_name (EekElement *element,
const gchar *name);
const gchar *eek_element_get_name (EekElement *element);
void eek_element_set_bounds (EekElement *element,
EekBounds *bounds);
void eek_element_get_bounds (EekElement *element,
EekBounds *bounds);
G_END_DECLS
#endif /* EEK_ELEMENT_H */

View File

@ -53,8 +53,7 @@ typedef struct _EekGtkKeyboardPrivate
struct squeek_state_manager *state_manager; // shared reference
struct submission *submission; // unowned reference
struct squeek_layout_state *layout; // unowned
LevelKeyboard *keyboard; // unowned reference; it's kept in server-context
Layout *keyboard; // unowned reference; it's kept in server-context
GdkEventSequence *sequence; // unowned reference
LfbEvent *event;

View File

@ -21,6 +21,7 @@
#include "config.h"
#define _XOPEN_SOURCE 500
#include <bsd/string.h>
#include <errno.h>
#include <fcntl.h>
#include <string.h>
@ -74,7 +75,7 @@ struct keymap squeek_key_map_from_str(const char *keymap_str) {
if ((void*)ptr == (void*)-1) {
g_error("Failed to set up mmap");
}
strncpy(ptr, xkb_keymap_str, keymap_len);
strlcpy(ptr, xkb_keymap_str, keymap_len);
munmap(ptr, keymap_len);
free(xkb_keymap_str);
xkb_keymap_unref(keymap);
@ -85,18 +86,19 @@ struct keymap squeek_key_map_from_str(const char *keymap_str) {
return km;
}
void level_keyboard_free(LevelKeyboard *self) {
void layout_free(Layout *self) {
squeek_layout_free(self->layout);
g_free(self);
}
LevelKeyboard*
level_keyboard_new (struct squeek_layout *layout)
Layout*
layout_new (char *style_name, struct squeek_layout *layout)
{
LevelKeyboard *keyboard = g_new0(LevelKeyboard, 1);
Layout *keyboard = g_new0(Layout, 1);
if (!keyboard) {
g_error("Failed to create a keyboard");
}
keyboard->layout = layout;
strlcpy(keyboard->style_name, style_name, 19);
return keyboard;
}

View File

@ -38,18 +38,15 @@ struct keymap {
size_t fd_len; // length of the data inside keymap_fd
};
/// Keyboard state holder
struct _LevelKeyboard {
/// Keyboard info holder
struct _Layout {
char style_name[20]; // The name of the css class on layout
struct squeek_layout *layout; // owned
// FIXME: This no longer needs to exist, keymap was folded into layout.
};
typedef struct _LevelKeyboard LevelKeyboard;
gchar *eek_keyboard_get_keymap(LevelKeyboard *keyboard);
LevelKeyboard*
level_keyboard_new (struct squeek_layout *layout);
void level_keyboard_free(LevelKeyboard *self);
Layout*
layout_new (char *style_name, struct squeek_layout *layout);
void layout_free(Layout *self);
G_END_DECLS
#endif /* EEK_KEYBOARD_H */

View File

@ -206,7 +206,7 @@ eek_renderer_render_keyboard (EekRenderer *self,
struct render_geometry geometry,
struct submission *submission,
cairo_t *cr,
LevelKeyboard *keyboard)
Layout *keyboard)
{
g_return_if_fail (geometry.allocation_width > 0.0);
g_return_if_fail (geometry.allocation_height > 0.0);
@ -316,7 +316,7 @@ renderer_init (EekRenderer *self)
}
EekRenderer *
eek_renderer_new (LevelKeyboard *keyboard,
eek_renderer_new (Layout *keyboard,
PangoContext *pcontext)
{
EekRenderer *renderer = calloc(1, sizeof(EekRenderer));
@ -335,6 +335,7 @@ eek_renderer_new (LevelKeyboard *keyboard,
if (squeek_layout_get_kind(keyboard->layout) == ARRANGEMENT_KIND_WIDE) {
gtk_style_context_add_class(renderer->view_context, "wide");
}
gtk_style_context_add_class(renderer->view_context, (char*)&keyboard->style_name);
gtk_style_context_add_provider (renderer->view_context,
GTK_STYLE_PROVIDER(renderer->css_provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);

View File

@ -58,7 +58,7 @@ struct render_geometry {
};
GType eek_renderer_get_type (void) G_GNUC_CONST;
EekRenderer *eek_renderer_new (LevelKeyboard *keyboard,
EekRenderer *eek_renderer_new (Layout *keyboard,
PangoContext *pcontext);
void eek_renderer_set_scale_factor (EekRenderer *renderer,
gint scale);
@ -68,7 +68,7 @@ cairo_surface_t *eek_renderer_get_icon_surface(const gchar *icon_name,
gint scale);
void eek_renderer_render_keyboard (EekRenderer *renderer, struct render_geometry geometry, struct submission *submission,
cairo_t *cr, LevelKeyboard *keyboard);
cairo_t *cr, Layout *keyboard);
void
eek_renderer_free (EekRenderer *self);

View File

@ -39,7 +39,7 @@ typedef struct _EekBounds EekBounds;
typedef struct _EekboardContextService EekboardContextService;
typedef struct _ServerContextService ServerContextService;
typedef struct _LevelKeyboard LevelKeyboard;
typedef struct _Layout Layout;
/**
* EekPoint:

Some files were not shown because too many files have changed in this diff Show More