Compare commits
235 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d8a86d172 | |||
| fa972253be | |||
| 3899c042b8 | |||
| 492c4ba948 | |||
| e3d08fff88 | |||
| bc43abdb02 | |||
| bdcf23750d | |||
| 00b894993c | |||
| 4fed8c5b1e | |||
| ab37c2a7f2 | |||
| 79d21dde5e | |||
| 08493ed094 | |||
| b4b88f6a98 | |||
| 23b9687988 | |||
| e029c53401 | |||
| 015cae5c63 | |||
| f237807522 | |||
| 069d64ac3e | |||
| cd1e269a9d | |||
| bf45d4b71b | |||
| 4352f01486 | |||
| 805d276248 | |||
| 2ad2b09344 | |||
| b22cda800f | |||
| d299ba070d | |||
| cf2e6151bb | |||
| 6f978aee0b | |||
| 7117d1fe20 | |||
| eb28a8523f | |||
| d36febefc3 | |||
| c7ced7de2b | |||
| 4b73775695 | |||
| 23c5fc1fb8 | |||
| a60b9d019e | |||
| b791919075 | |||
| d801d45812 | |||
| 6145f9b652 | |||
| 8d96803e91 | |||
| 30904afb4b | |||
| 271640f391 | |||
| 76eadca47a | |||
| a25c083f92 | |||
| 4c8dbf9fe6 | |||
| 1fac218c70 | |||
| 01bde740bb | |||
| ef516c2082 | |||
| fe39632303 | |||
| e94619883b | |||
| af09304835 | |||
| bd96f4c0c2 | |||
| 83fda9d38a | |||
| 8c89b4dc2c | |||
| b17716a427 | |||
| 367d8dd5c7 | |||
| 97371b8dfb | |||
| 6f66edf8a1 | |||
| 378c3ec9ad | |||
| 25ba8773b6 | |||
| 853278836c | |||
| 55956743d4 | |||
| 658d2f325e | |||
| f977670814 | |||
| 0b44d94aa4 | |||
| 6e46512044 | |||
| ffae36d259 | |||
| d18f09823b | |||
| bb5b1faaea | |||
| 400e82326d | |||
| 20b5cac148 | |||
| 8da59a6216 | |||
| 6fd281b214 | |||
| 2e65586db5 | |||
| 5f12199de1 | |||
| 8c7897da4d | |||
| b0bf78b2a6 | |||
| 8fa4bf1b40 | |||
| 1704f1b4cb | |||
| 828279d03c | |||
| 31a7acb0eb | |||
| 7130ac9529 | |||
| c590064ce3 | |||
| 3366090454 | |||
| e88410d412 | |||
| ae15869d07 | |||
| cf6171a51f | |||
| ea5e36e9fd | |||
| 783ca9ae11 | |||
| 38165ac039 | |||
| f4c03ce6e8 | |||
| 7f1d237551 | |||
| 6d01386d8a | |||
| e5be92efae | |||
| 2f011a57dd | |||
| e7c2350c92 | |||
| d51408a3e0 | |||
| b8c0836f51 | |||
| e0b37d60c4 | |||
| 23d6beee8e | |||
| 9c9f371f91 | |||
| 805c0d27fd | |||
| 9242bb679d | |||
| e9cc20106b | |||
| 8cf9aab78f | |||
| 1049a6a875 | |||
| 2ade582463 | |||
| 838d6b0bf6 | |||
| 973bbaca4b | |||
| 14282387f2 | |||
| a5fdc25452 | |||
| 952ec805ed | |||
| 74c5ef4a51 | |||
| fc4fa63cc6 | |||
| 5e12666b8f | |||
| 649f67d319 | |||
| c017a773ea | |||
| 7a8932d686 | |||
| afe6a6cf74 | |||
| e778be8f13 | |||
| 7ffc2c4f86 | |||
| a09a51ada9 | |||
| d26927dc44 | |||
| 094503cf8c | |||
| 0cb9b039d2 | |||
| b676cac63f | |||
| f55a8868c7 | |||
| 3055cc034f | |||
| dbbb34da01 | |||
| a4e58aef6a | |||
| fd3ade8ac4 | |||
| 40089b4836 | |||
| 50ff771922 | |||
| 113970566b | |||
| 8864a5b0a7 | |||
| c30e951907 | |||
| 9413150d85 | |||
| decf547e41 | |||
| 870c023414 | |||
| 0d3b569553 | |||
| 7c17f64517 | |||
| c7344aeb47 | |||
| 51f8217646 | |||
| a3f6349376 | |||
| bf18f05f74 | |||
| 9f4c5e2264 | |||
| dffec166fd | |||
| 3207977d7a | |||
| 0339a4a50f | |||
| 4ae78b89c6 | |||
| 0c99067b4b | |||
| ec7116053f | |||
| cc7657e78c | |||
| 70bf101812 | |||
| 12572b9de2 | |||
| 9528339e02 | |||
| 50ef4ab433 | |||
| a8fe4a492e | |||
| 0aee348e30 | |||
| 7f9baa8021 | |||
| feefe3fec2 | |||
| 94aa0fa68f | |||
| c86161d5b5 | |||
| 49fc28f0a9 | |||
| ea73a34eb8 | |||
| f8ce24fdbf | |||
| d797ee223b | |||
| 267b0745a2 | |||
| c1ceec3673 | |||
| 30141db28d | |||
| 8d0e1b4548 | |||
| e6326b9b38 | |||
| b634e2bfa4 | |||
| 590cd71f49 | |||
| 8ff72f312a | |||
| bb22d9650b | |||
| 82774d2315 | |||
| 9d83910696 | |||
| c75723b705 | |||
| af716f72da | |||
| 67e9316fe5 | |||
| b54922b021 | |||
| c0f57e7355 | |||
| a413146888 | |||
| ccc90e1677 | |||
| cb338129ca | |||
| 9e8a243439 | |||
| d3e0ee8c0d | |||
| 2e2c8ab2cb | |||
| 36474d3e9d | |||
| 111c0d157f | |||
| e6438503a5 | |||
| 58c7fe98b8 | |||
| 6867f48bf9 | |||
| 71942f7221 | |||
| c486ad1eb3 | |||
| 05e7cde8fa | |||
| 9adb593e8e | |||
| 073326f31b | |||
| dae324f86d | |||
| 2eec3372f3 | |||
| f6724c0948 | |||
| af8b688d94 | |||
| d21dba6a8f | |||
| 0e2d459d5a | |||
| 89ad302255 | |||
| 494f9442c4 | |||
| 68087a125c | |||
| 323fd7ea14 | |||
| 3167cfce9c | |||
| 8ea6f6d5c1 | |||
| 3b70116a15 | |||
| 397f5e126e | |||
| 14d7d5d4e0 | |||
| 6528879fed | |||
| 57aeeaa882 | |||
| bbceba7e9b | |||
| 5a210712f6 | |||
| bb8bba163e | |||
| 83b0d1553f | |||
| a1664630ed | |||
| 529ac89150 | |||
| 479f1befc9 | |||
| 29b30fbe22 | |||
| 1ccc663c48 | |||
| 7c43528ebf | |||
| 7f4c823c1e | |||
| d19050e06d | |||
| b5142ac765 | |||
| b456889fe9 | |||
| 3fdbcf905b | |||
| 8a2de2fdf2 | |||
| bd390894c5 | |||
| 04018a8c06 | |||
| b4cd5659cb | |||
| 59c3da0344 | |||
| c5eb41292c |
@ -3,6 +3,7 @@ image: pureos/byzantium
|
|||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
- deploy
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get -y update
|
- apt-get -y update
|
||||||
@ -22,14 +23,16 @@ build_docs:
|
|||||||
- $PKG_ONLY == "1"
|
- $PKG_ONLY == "1"
|
||||||
|
|
||||||
build_meson:
|
build_meson:
|
||||||
|
image: debian:bookworm
|
||||||
stage: build
|
stage: build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- _build
|
- _build
|
||||||
expire_in: 3h
|
expire_in: 3h
|
||||||
script:
|
script:
|
||||||
|
- mv debian/control-newer debian/control
|
||||||
- apt-get -y build-dep .
|
- apt-get -y build-dep .
|
||||||
- meson . _build/ -Ddepdatadir=/usr/share --werror
|
- meson . _build/ -Ddepdatadir=/usr/share -Dfind_orphans=true --werror
|
||||||
- ninja -C _build install
|
- ninja -C _build install
|
||||||
except:
|
except:
|
||||||
variables:
|
variables:
|
||||||
@ -73,7 +76,8 @@ build_deb:arm64:
|
|||||||
- cp ../*.deb .
|
- cp ../*.deb .
|
||||||
|
|
||||||
build_deb:future:
|
build_deb:future:
|
||||||
image: debian:sid
|
image: debian:bookworm
|
||||||
|
allow_failure: true
|
||||||
tags:
|
tags:
|
||||||
- aarch64
|
- aarch64
|
||||||
stage: build
|
stage: build
|
||||||
@ -93,6 +97,23 @@ build_deb:future:
|
|||||||
- debuild -i -us -uc -b
|
- debuild -i -us -uc -b
|
||||||
- cp ../*.deb .
|
- cp ../*.deb .
|
||||||
|
|
||||||
|
build_reference:
|
||||||
|
image: debian:bookworm
|
||||||
|
stage: build
|
||||||
|
needs:
|
||||||
|
- job: build_meson
|
||||||
|
artifacts: true
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- _build/doc
|
||||||
|
script:
|
||||||
|
- apt-get -y install cargo
|
||||||
|
- cd _build
|
||||||
|
- ../cargo.sh doc --no-deps --document-private-items
|
||||||
|
except:
|
||||||
|
variables:
|
||||||
|
- $PKG_ONLY == "1"
|
||||||
|
|
||||||
test_lintian:
|
test_lintian:
|
||||||
stage: test
|
stage: test
|
||||||
needs:
|
needs:
|
||||||
@ -106,11 +127,13 @@ test_lintian:
|
|||||||
- $PKG_ONLY == "1"
|
- $PKG_ONLY == "1"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
image: debian:bookworm
|
||||||
stage: test
|
stage: test
|
||||||
needs:
|
needs:
|
||||||
- job: build_meson
|
- job: build_meson
|
||||||
artifacts: true
|
artifacts: true
|
||||||
script:
|
script:
|
||||||
|
- mv debian/control-newer debian/control
|
||||||
- apt-get -y build-dep .
|
- apt-get -y build-dep .
|
||||||
- apt-get -y install clang-tidy
|
- apt-get -y install clang-tidy
|
||||||
- ninja -C _build test
|
- ninja -C _build test
|
||||||
@ -141,3 +164,17 @@ check_release:
|
|||||||
except:
|
except:
|
||||||
variables:
|
variables:
|
||||||
- $PKG_ONLY == "1"
|
- $PKG_ONLY == "1"
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: deploy
|
||||||
|
needs:
|
||||||
|
- build_docs
|
||||||
|
- build_reference
|
||||||
|
script:
|
||||||
|
- mv _build/ public/
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
refs:
|
||||||
|
- master
|
||||||
|
|||||||
@ -1,6 +1,10 @@
|
|||||||
# Dependencies which change based on build flags
|
# Dependencies which change based on build flags
|
||||||
bitflags = "1.2.*"
|
bitflags = "1.2.*"
|
||||||
clap = { version = "2.33.*", default-features = false }
|
clap = { version = "2.33.*", default-features = false }
|
||||||
|
zbus = "1.0.*"
|
||||||
|
zvariant = "2.0.*"
|
||||||
|
# Newer versions seem to confuse the version of Cargo on Debian Bullseye
|
||||||
|
zvariant_derive = "2.0.*"
|
||||||
|
|
||||||
[dependencies.cairo-rs]
|
[dependencies.cairo-rs]
|
||||||
version = "0.7.*"
|
version = "0.7.*"
|
||||||
|
|||||||
@ -1,7 +1,12 @@
|
|||||||
# Dependencies which change based on build flags
|
# Dependencies and tools which change based on build flags
|
||||||
# For the newer-than-Byzantium config
|
# For the newer-than-Byzantium config
|
||||||
|
|
||||||
bitflags = "1.3.*"
|
bitflags = "1.3.*"
|
||||||
clap = { version = "2.33.*", 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
|
||||||
|
zvariant_derive = "2.10.*"
|
||||||
|
|
||||||
[dependencies.cairo-rs]
|
[dependencies.cairo-rs]
|
||||||
version = "0.14.*"
|
version = "0.14.*"
|
||||||
|
|||||||
4
Cargo.deps.online
Normal file
4
Cargo.deps.online
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Dependencies which are only used with online, crates.io builds.
|
||||||
|
[patch.crates-io]
|
||||||
|
# Dependency was yanked, but gio 0.7 needs it.
|
||||||
|
fragile = { git = "https://source.puri.sm/dorota.czaplejewicz/fragile.git", tag = "0.3.0" }
|
||||||
266
Cargo.lock
generated
266
Cargo.lock
generated
@ -40,6 +40,12 @@ version = "1.2.1"
|
|||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
|
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "byteorder"
|
||||||
|
version = "1.5.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cairo-rs"
|
name = "cairo-rs"
|
||||||
version = "0.7.1"
|
version = "0.7.1"
|
||||||
@ -67,9 +73,21 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "cc"
|
name = "cc"
|
||||||
version = "1.0.73"
|
version = "1.0.90"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
|
checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "cfg-if"
|
||||||
|
version = "0.1.10"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "cfg-if"
|
||||||
|
version = "1.0.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "clap"
|
name = "clap"
|
||||||
@ -82,11 +100,51 @@ dependencies = [
|
|||||||
"unicode-width",
|
"unicode-width",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "derivative"
|
||||||
|
version = "2.2.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn 1.0.109",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "enumflags2"
|
||||||
|
version = "0.6.4"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "83c8d82922337cd23a15f88b70d8e4ef5f11da38dd7cdb55e84dd5de99695da0"
|
||||||
|
dependencies = [
|
||||||
|
"enumflags2_derive",
|
||||||
|
"serde",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "enumflags2_derive"
|
||||||
|
version = "0.6.4"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "946ee94e3dbf58fdd324f9ce245c7b238d46a66f00e86a020b71996349e46cce"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn 1.0.109",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "fastrand"
|
||||||
|
version = "1.9.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
|
||||||
|
dependencies = [
|
||||||
|
"instant",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "fragile"
|
name = "fragile"
|
||||||
version = "0.3.0"
|
version = "0.3.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "git+https://source.puri.sm/dorota.czaplejewicz/fragile.git?tag=0.3.0#51048ca11824279c2114c77fef5bcb950838fc09"
|
||||||
checksum = "05f8140122fa0d5dcb9fc8627cfce2b37cc1500f752636d46ea28bc26785c2f9"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "gdk"
|
name = "gdk"
|
||||||
@ -261,20 +319,29 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "hashbrown"
|
name = "hashbrown"
|
||||||
version = "0.11.2"
|
version = "0.12.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
|
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "indexmap"
|
name = "indexmap"
|
||||||
version = "1.8.0"
|
version = "1.9.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223"
|
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"autocfg",
|
"autocfg",
|
||||||
"hashbrown",
|
"hashbrown",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "instant"
|
||||||
|
version = "0.1.12"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
||||||
|
dependencies = [
|
||||||
|
"cfg-if 1.0.0",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lazy_static"
|
name = "lazy_static"
|
||||||
version = "1.4.0"
|
version = "1.4.0"
|
||||||
@ -283,15 +350,15 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
version = "0.2.119"
|
version = "0.2.153"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "1bf2e165bb3457c8e098ea76f3e3bc9db55f87aa90d52d0e6be741470916aaa4"
|
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "linked-hash-map"
|
name = "linked-hash-map"
|
||||||
version = "0.5.4"
|
version = "0.5.6"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
|
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "maplit"
|
name = "maplit"
|
||||||
@ -309,6 +376,19 @@ dependencies = [
|
|||||||
"winapi",
|
"winapi",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "nix"
|
||||||
|
version = "0.17.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "50e4785f2c3b7589a0d0c1dd60285e1188adac4006e8abd6dd578e1567027363"
|
||||||
|
dependencies = [
|
||||||
|
"bitflags",
|
||||||
|
"cc",
|
||||||
|
"cfg-if 0.1.10",
|
||||||
|
"libc",
|
||||||
|
"void",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pango"
|
name = "pango"
|
||||||
version = "0.7.0"
|
version = "0.7.0"
|
||||||
@ -338,24 +418,33 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "pkg-config"
|
name = "pkg-config"
|
||||||
version = "0.3.24"
|
version = "0.3.30"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "58893f751c9b0412871a09abd62ecd2a00298c6c83befa223ef98c52aef40cbe"
|
checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "proc-macro-crate"
|
||||||
|
version = "0.1.5"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
|
||||||
|
dependencies = [
|
||||||
|
"toml",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "proc-macro2"
|
name = "proc-macro2"
|
||||||
version = "1.0.36"
|
version = "1.0.78"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029"
|
checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"unicode-xid",
|
"unicode-ident",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "quote"
|
name = "quote"
|
||||||
version = "1.0.15"
|
version = "1.0.35"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "864d3e96a899863136fc6e99f3d7cae289dafe43bf2c5ac19b70df7210c0a145"
|
checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
]
|
]
|
||||||
@ -378,39 +467,59 @@ dependencies = [
|
|||||||
"serde",
|
"serde",
|
||||||
"serde_yaml",
|
"serde_yaml",
|
||||||
"xkbcommon",
|
"xkbcommon",
|
||||||
|
"zbus",
|
||||||
|
"zvariant",
|
||||||
|
"zvariant_derive",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ryu"
|
name = "ryu"
|
||||||
version = "1.0.9"
|
version = "1.0.17"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f"
|
checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "scoped-tls"
|
||||||
|
version = "1.0.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e1cf6437eb19a8f4a6cc0f7dca544973b0b78843adbfeb3683d1a94a0024a294"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde"
|
name = "serde"
|
||||||
version = "1.0.136"
|
version = "1.0.197"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789"
|
checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"serde_derive",
|
"serde_derive",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_derive"
|
name = "serde_derive"
|
||||||
version = "1.0.136"
|
version = "1.0.197"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9"
|
checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
"syn",
|
"syn 2.0.52",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "serde_repr"
|
||||||
|
version = "0.1.18"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn 2.0.52",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "serde_yaml"
|
name = "serde_yaml"
|
||||||
version = "0.8.23"
|
version = "0.8.26"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a4a521f2940385c165a24ee286aa8599633d162077a54bdcae2a6fd5a7bfa7a0"
|
checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"indexmap",
|
"indexmap",
|
||||||
"ryu",
|
"ryu",
|
||||||
@ -420,13 +529,24 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "syn"
|
name = "syn"
|
||||||
version = "1.0.86"
|
version = "1.0.109"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8a65b3f4ffa0092e9887669db0eae07941f023991ab58ea44da8fe8e2d511c6b"
|
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
"unicode-xid",
|
"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",
|
||||||
|
"unicode-ident",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -439,16 +559,31 @@ dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-width"
|
name = "toml"
|
||||||
version = "0.1.9"
|
version = "0.5.11"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973"
|
checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234"
|
||||||
|
dependencies = [
|
||||||
|
"serde",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "unicode-xid"
|
name = "unicode-ident"
|
||||||
version = "0.2.2"
|
version = "1.0.12"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
|
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "unicode-width"
|
||||||
|
version = "0.1.11"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "void"
|
||||||
|
version = "1.0.2"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "winapi"
|
name = "winapi"
|
||||||
@ -474,9 +609,9 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "xkbcommon"
|
name = "xkbcommon"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "fda0ea5f7ddabd51deeeda7799bee06274112f577da7dd3d954b8eda731b2fce"
|
checksum = "032ed00cc755c31221bbd6aaf9fa4196a01bf33bca185f9316e14f26d28c28cf"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"libc",
|
"libc",
|
||||||
"memmap",
|
"memmap",
|
||||||
@ -490,3 +625,56 @@ checksum = "56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"linked-hash-map",
|
"linked-hash-map",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "zbus"
|
||||||
|
version = "1.0.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "1cb97c72cbfd5c7537ca730eeb810da7348f345ba67ab7673bcbe0d81c076427"
|
||||||
|
dependencies = [
|
||||||
|
"byteorder",
|
||||||
|
"derivative",
|
||||||
|
"enumflags2",
|
||||||
|
"fastrand",
|
||||||
|
"nix",
|
||||||
|
"scoped-tls",
|
||||||
|
"serde",
|
||||||
|
"serde_repr",
|
||||||
|
"zbus_macros",
|
||||||
|
"zvariant",
|
||||||
|
"zvariant_derive",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "zbus_macros"
|
||||||
|
version = "1.0.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "c0c1f2a20a4cb90922b44d3bebd232b246e52b3dd95ed5bea8aec83cde3a5a8a"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro-crate",
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn 1.0.109",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "zvariant"
|
||||||
|
version = "2.0.1"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "f0bf85e67d1a3780cb1c56c80227532354f21907cba14805a773eb507b444580"
|
||||||
|
dependencies = [
|
||||||
|
"byteorder",
|
||||||
|
"enumflags2",
|
||||||
|
"serde",
|
||||||
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "zvariant_derive"
|
||||||
|
version = "2.0.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "d68726e8c12757384a8d1485080527e263dea67d91f19e97cd71b9292f22d7c5"
|
||||||
|
dependencies = [
|
||||||
|
"proc-macro2",
|
||||||
|
"quote",
|
||||||
|
"syn 1.0.109",
|
||||||
|
]
|
||||||
|
|||||||
1235
Cargo.lock.newer
Normal file
1235
Cargo.lock.newer
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rs"
|
name = "rs"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "rs"
|
name = "rs"
|
||||||
@ -16,8 +17,14 @@ path = "@path@/src/bin/test_layout.rs"
|
|||||||
name = "test_layout"
|
name = "test_layout"
|
||||||
path = "@path@/examples/test_layout.rs"
|
path = "@path@/examples/test_layout.rs"
|
||||||
|
|
||||||
|
[[example]]
|
||||||
|
name = "find_orphan_layouts"
|
||||||
|
path = "@path@/examples/find_orphan_layouts.rs"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
glib_v0_14 = []
|
glib_v0_14 = []
|
||||||
|
zbus_v1_5 = []
|
||||||
|
clap_v4 = []
|
||||||
|
|
||||||
# Dependencies which don't change based on build flags
|
# Dependencies which don't change based on build flags
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|||||||
59
NEWS.md
Normal file
59
NEWS.md
Normal 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
|
||||||
@ -86,4 +86,4 @@ It's strongly recommended to support:
|
|||||||
Developing
|
Developing
|
||||||
----------
|
----------
|
||||||
|
|
||||||
See [`doc/hacking.md`](doc/hacking.md) for this copy, or the [official documentation](https://developer.puri.sm/projects/squeekboard/) for the current release.
|
See [`doc/hacking.md`](doc/hacking.md) for this copy, or the [official documentation](https://world.pages.gitlab.gnome.org/Phosh/squeekboard) for the current release.
|
||||||
|
|||||||
@ -5,6 +5,12 @@ sq_view {
|
|||||||
font-size: 1.5em;
|
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 {
|
sq_button {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
|
|||||||
5
data/icons/zwnj.svg
Normal file
5
data/icons/zwnj.svg
Normal 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 |
@ -63,7 +63,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -63,7 +63,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -59,7 +59,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -59,7 +59,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
93
data/keyboards/ca.yaml
Normal file
93
data/keyboards/ca.yaml
Normal 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: ":"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -32,7 +32,7 @@ views:
|
|||||||
- "à â ç é è ê î ô ù û"
|
- "à â ç é è ê î ô ù û"
|
||||||
- "À Â Ç É È Ê Î Ô Ù Û"
|
- "À Â Ç É È Ê Î Ô Ù Û"
|
||||||
- "show_numbers æ œ ä ë ï ö ü BackSpace"
|
- "show_numbers æ œ ä ë ï ö ü BackSpace"
|
||||||
- "show_letters_from_accents preferences ñ Ñ space ° ß Return"
|
- "show_letters show_eschars preferences ñ Ñ space ° ß Return"
|
||||||
|
|
||||||
buttons:
|
buttons:
|
||||||
Shift_L:
|
Shift_L:
|
||||||
@ -59,7 +59,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
@ -71,14 +71,7 @@ buttons:
|
|||||||
lock_view: "eschars"
|
lock_view: "eschars"
|
||||||
unlock_view: "base"
|
unlock_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "âÂ"
|
label: "Ââ"
|
||||||
show_letters_from_accents:
|
|
||||||
action:
|
|
||||||
locking:
|
|
||||||
lock_view: "eschars"
|
|
||||||
unlock_view: "base"
|
|
||||||
outline: "altline"
|
|
||||||
label: "âÂ"
|
|
||||||
space:
|
space:
|
||||||
outline: "spaceline"
|
outline: "spaceline"
|
||||||
label: " "
|
label: " "
|
||||||
|
|||||||
@ -3,38 +3,39 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
outlines:
|
outlines:
|
||||||
default: { width: 35.33, height: 52 }
|
default: { width: 35.33, height: 58 }
|
||||||
altline: { width: 48, height: 52 }
|
doublewidth: { width: 70.66, height: 58 }
|
||||||
wide: { width: 59, height: 52 }
|
altline: { width: 52.8, height: 58 }
|
||||||
spaceline: { width: 70, height: 52 }
|
wide: { width: 64.9, height: 58 }
|
||||||
special: { width: 28, height: 52 }
|
spaceline: { width: 116.67, height: 58 }
|
||||||
|
special: { width: 30.41, height: 58 }
|
||||||
|
|
||||||
views:
|
views:
|
||||||
base:
|
base:
|
||||||
- "q w e r t z u i o p ü"
|
- "q w e r t z u i o p ü"
|
||||||
- "a s d f g h j k l ö ä"
|
- "a s d f g h j k l ö ä"
|
||||||
- "Shift_L y x c v b n m BackSpace"
|
- "Shift_L y x c v b n m ' BackSpace"
|
||||||
- "show_numbers show_eschars preferences ' space , . Return"
|
- "show_numbers show_eschars preferences Space , . Return"
|
||||||
upper:
|
upper:
|
||||||
- "Q W E R T Z U I O P Ü"
|
- "Q W E R T Z U I O P Ü"
|
||||||
- "A S D F G H J K L Ö Ä"
|
- "A S D F G H J K L Ö Ä"
|
||||||
- "Shift_L Y X C V B N M BackSpace"
|
- "Shift_L Y X C V B N M \" BackSpace"
|
||||||
- "show_numbers show_eschars preferences \" space , . Return"
|
- "show_numbers show_eschars preferences Space , . Return"
|
||||||
numbers:
|
numbers:
|
||||||
- "1 2 3 4 5 6 7 8 9 0"
|
- "1 2 3 4 5 6 7 8 9 0 ^"
|
||||||
- "@ * + - = ( ) ~ < > ? !"
|
- "* + - = ( ) ~ < > ! ?"
|
||||||
- "show_symbols # & / \\ √ ; : BackSpace"
|
- "show_symbols _ # & / \\ √ ; : BackSpace"
|
||||||
- "show_letters show_eschars preferences _ space , . Return"
|
- "show_letters show_eschars preferences Space , . Return"
|
||||||
symbols:
|
symbols:
|
||||||
- "€ $ £ ¥ % | § µ [ ]"
|
- "€ $ £ ¥ % | § µ [ ]"
|
||||||
- "© ® § ` ^ { } · ¡ ¿"
|
- "© ® § ` { } @ · ¡ ¿"
|
||||||
- "show_numbers « » ÷ × “ ” „ BackSpace"
|
- "show_numbers « » ÷ × “ ” „ BackSpace"
|
||||||
- "show_letters show_eschars preferences - space , . Return"
|
- "show_letters show_eschars preferences Space , . Return"
|
||||||
eschars:
|
eschars:
|
||||||
- "à â ç é è ê î ô ù û"
|
- "à â ç é è ê î ô ù û ñ"
|
||||||
- "À Â Ç É È Ê Î Ô Ù Û"
|
- "À Â Ç É È Ê Î Ô Ù Û Ñ"
|
||||||
- "show_numbers æ œ ä ë ï ö ü BackSpace"
|
- "show_numbers æ œ ä ë ï ö ü ß BackSpace"
|
||||||
- "show_letters_from_accents preferences ñ Ñ space ° ß Return"
|
- "show_letters show_eschars preferences Space ° Return"
|
||||||
|
|
||||||
buttons:
|
buttons:
|
||||||
Shift_L:
|
Shift_L:
|
||||||
@ -47,7 +48,7 @@ buttons:
|
|||||||
BackSpace:
|
BackSpace:
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
icon: "edit-clear-symbolic"
|
icon: "edit-clear-symbolic"
|
||||||
action: erase
|
action: "erase"
|
||||||
preferences:
|
preferences:
|
||||||
action: "show_prefs"
|
action: "show_prefs"
|
||||||
outline: "special"
|
outline: "special"
|
||||||
@ -61,7 +62,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
@ -73,15 +74,8 @@ buttons:
|
|||||||
lock_view: "eschars"
|
lock_view: "eschars"
|
||||||
unlock_view: "base"
|
unlock_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "âÂ"
|
label: "Ââ"
|
||||||
show_letters_from_accents:
|
Space:
|
||||||
action:
|
|
||||||
locking:
|
|
||||||
lock_view: "eschars"
|
|
||||||
unlock_view: "base"
|
|
||||||
outline: "altline"
|
|
||||||
label: "âÂ"
|
|
||||||
space:
|
|
||||||
outline: "spaceline"
|
outline: "spaceline"
|
||||||
label: " "
|
label: " "
|
||||||
text: " "
|
text: " "
|
||||||
@ -91,3 +85,11 @@ buttons:
|
|||||||
keysym: "Return"
|
keysym: "Return"
|
||||||
"\"":
|
"\"":
|
||||||
keysym: "quotedbl"
|
keysym: "quotedbl"
|
||||||
|
°:
|
||||||
|
outline: "doublewidth"
|
||||||
|
"|":
|
||||||
|
outline: "doublewidth"
|
||||||
|
"}":
|
||||||
|
outline: "doublewidth"
|
||||||
|
×:
|
||||||
|
outline: "doublewidth"
|
||||||
|
|||||||
@ -4,37 +4,40 @@
|
|||||||
---
|
---
|
||||||
outlines:
|
outlines:
|
||||||
default: { width: 48, height: 42 }
|
default: { width: 48, height: 42 }
|
||||||
altline: { width: 81, 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 }
|
wide: { width: 108, height: 42 }
|
||||||
spaceline: { width: 216, height: 42 }
|
spaceline: { width: 162, height: 42 }
|
||||||
special: { width: 48, height: 42 }
|
special: { width: 48, height: 42 }
|
||||||
|
|
||||||
views:
|
views:
|
||||||
base:
|
base:
|
||||||
- "q w e r t z u i o p ü"
|
- "q w e r t z u i o p ü"
|
||||||
- "a s d f g h j k l ö ä"
|
- "a s d f g h j k l ö ä"
|
||||||
- "Shift_L y x c v b n m BackSpace"
|
- "Shift_L y x c v b n m ' BackSpace"
|
||||||
- "show_numbers show_eschars preferences ' space , . Return"
|
- "show_numbers show_eschars preferences Space , . Return"
|
||||||
upper:
|
upper:
|
||||||
- "Q W E R T Z U I O P Ü"
|
- "Q W E R T Z U I O P Ü"
|
||||||
- "A S D F G H J K L Ö Ä"
|
- "A S D F G H J K L Ö Ä"
|
||||||
- "Shift_L Y X C V B N M BackSpace"
|
- "Shift_L Y X C V B N M \" BackSpace"
|
||||||
- "show_numbers show_eschars preferences \" space , . Return"
|
- "show_numbers show_eschars preferences Space , . Return"
|
||||||
numbers:
|
numbers:
|
||||||
- "1 2 3 4 5 6 7 8 9 0"
|
- "1 2 3 4 5 6 7 8 9 0 ^"
|
||||||
- "@ * + - = ( ) ~ < > ? !"
|
- "* + - = ( ) ~ < > ! ?"
|
||||||
- "show_symbols # & / \\ √ ; : BackSpace"
|
- "show_symbols _ # & / \\ √ ; : BackSpace"
|
||||||
- "show_letters show_eschars preferences _ space , . Return"
|
- "show_letters show_eschars preferences Space , . Return"
|
||||||
symbols:
|
symbols:
|
||||||
- "€ $ £ ¥ % | § µ [ ]"
|
- "€ $ £ ¥ % | § µ [ ]"
|
||||||
- "© ® § ` ^ { } · ¡ ¿"
|
- "© ® § ` { } @ · ¡ ¿"
|
||||||
- "show_numbers « » ÷ × “ ” „ BackSpace"
|
- "show_numbers « » ÷ × “ ” „ BackSpace"
|
||||||
- "show_letters show_eschars preferences - space , . Return"
|
- "show_letters show_eschars preferences Space , . Return"
|
||||||
eschars:
|
eschars:
|
||||||
- "à â ç é è ê î ô ù û"
|
- "à â ç é è ê î ô ù û ñ"
|
||||||
- "À Â Ç É È Ê Î Ô Ù Û"
|
- "À Â Ç É È Ê Î Ô Ù Û Ñ"
|
||||||
- "show_numbers æ œ ä ë ï ö ü BackSpace"
|
- "show_numbers æ œ ä ë ï ö ü ß BackSpace"
|
||||||
- "show_letters_from_accents preferences ñ Ñ space ° ß Return"
|
- "show_letters show_eschars preferences Space ° Return"
|
||||||
|
|
||||||
buttons:
|
buttons:
|
||||||
Shift_L:
|
Shift_L:
|
||||||
@ -61,7 +64,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
@ -73,15 +76,8 @@ buttons:
|
|||||||
lock_view: "eschars"
|
lock_view: "eschars"
|
||||||
unlock_view: "base"
|
unlock_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "äÄ"
|
label: "Ââ"
|
||||||
show_letters_from_accents:
|
Space:
|
||||||
action:
|
|
||||||
locking:
|
|
||||||
lock_view: "eschars"
|
|
||||||
unlock_view: "base"
|
|
||||||
outline: "altline"
|
|
||||||
label: "âÂ"
|
|
||||||
space:
|
|
||||||
outline: "spaceline"
|
outline: "spaceline"
|
||||||
label: " "
|
label: " "
|
||||||
text: " "
|
text: " "
|
||||||
@ -91,3 +87,15 @@ buttons:
|
|||||||
keysym: "Return"
|
keysym: "Return"
|
||||||
"\"":
|
"\"":
|
||||||
keysym: "quotedbl"
|
keysym: "quotedbl"
|
||||||
|
°:
|
||||||
|
outline: "large"
|
||||||
|
".":
|
||||||
|
outline: "narrow"
|
||||||
|
",":
|
||||||
|
outline: "narrow"
|
||||||
|
"|":
|
||||||
|
outline: "doublewidth"
|
||||||
|
"}":
|
||||||
|
outline: "doublewidth"
|
||||||
|
×:
|
||||||
|
outline: "doublewidth"
|
||||||
|
|||||||
@ -75,7 +75,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -75,7 +75,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -75,7 +75,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -75,7 +75,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -59,7 +59,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
@ -71,7 +71,7 @@ buttons:
|
|||||||
lock_view: "eschars"
|
lock_view: "eschars"
|
||||||
unlock_view: "base"
|
unlock_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "äÄ"
|
label: "Ää"
|
||||||
space:
|
space:
|
||||||
outline: "spaceline"
|
outline: "spaceline"
|
||||||
label: " "
|
label: " "
|
||||||
|
|||||||
@ -59,7 +59,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
@ -71,7 +71,7 @@ buttons:
|
|||||||
lock_view: "eschars"
|
lock_view: "eschars"
|
||||||
unlock_view: "base"
|
unlock_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "äÄ"
|
label: "Ää"
|
||||||
space:
|
space:
|
||||||
outline: "spaceline"
|
outline: "spaceline"
|
||||||
text: " "
|
text: " "
|
||||||
|
|||||||
@ -3,7 +3,6 @@ outlines:
|
|||||||
default: { width: 32, height: 52 }
|
default: { width: 32, height: 52 }
|
||||||
altline: { width: 48.39024, height: 52 }
|
altline: { width: 48.39024, height: 52 }
|
||||||
wide: { width: 62, height: 52 }
|
wide: { width: 62, height: 52 }
|
||||||
outline7: { width: 88.97561, height: 52 }
|
|
||||||
spaceline: { width: 150.5853, height: 52 }
|
spaceline: { width: 150.5853, height: 52 }
|
||||||
|
|
||||||
views:
|
views:
|
||||||
|
|||||||
@ -5,6 +5,7 @@ outlines:
|
|||||||
wide: { width: 62, height: 52 }
|
wide: { width: 62, height: 52 }
|
||||||
spaceline: { width: 106.67, height: 52 }
|
spaceline: { width: 106.67, height: 52 }
|
||||||
special: { width: 44, height: 52 }
|
special: { width: 44, height: 52 }
|
||||||
|
large: { width: 44, height: 52 }
|
||||||
|
|
||||||
views:
|
views:
|
||||||
base:
|
base:
|
||||||
@ -41,10 +42,10 @@ buttons:
|
|||||||
icon: "edit-clear-symbolic"
|
icon: "edit-clear-symbolic"
|
||||||
action: erase
|
action: erase
|
||||||
at:
|
at:
|
||||||
outline: "special"
|
outline: "large"
|
||||||
text: "@"
|
text: "@"
|
||||||
preferences:
|
preferences:
|
||||||
action: show_prefs
|
action: "show_prefs"
|
||||||
outline: "special"
|
outline: "special"
|
||||||
icon: "keyboard-mode-symbolic"
|
icon: "keyboard-mode-symbolic"
|
||||||
show_numbers:
|
show_numbers:
|
||||||
@ -68,7 +69,7 @@ buttons:
|
|||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "*/="
|
label: "*/="
|
||||||
period:
|
period:
|
||||||
outline: "special"
|
outline: "large"
|
||||||
text: "."
|
text: "."
|
||||||
space:
|
space:
|
||||||
outline: "spaceline"
|
outline: "spaceline"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
1797
data/keyboards/emoji/us_wide.yaml
Normal file
1797
data/keyboards/emoji/us_wide.yaml
Normal file
File diff suppressed because it is too large
Load Diff
@ -58,7 +58,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -58,7 +58,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -58,7 +58,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -3,7 +3,6 @@ outlines:
|
|||||||
default: { width: 32, height: 52 }
|
default: { width: 32, height: 52 }
|
||||||
altline: { width: 48.39024, height: 52 }
|
altline: { width: 48.39024, height: 52 }
|
||||||
wide: { width: 62, height: 52 }
|
wide: { width: 62, height: 52 }
|
||||||
outline7: { width: 88.97561, height: 52 }
|
|
||||||
spaceline: { width: 150.5853, height: 52 }
|
spaceline: { width: 150.5853, height: 52 }
|
||||||
|
|
||||||
views:
|
views:
|
||||||
|
|||||||
206
data/keyboards/fr+bepo.yaml
Normal file
206
data/keyboards/fr+bepo.yaml
Normal file
@ -0,0 +1,206 @@
|
|||||||
|
---
|
||||||
|
outlines:
|
||||||
|
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 }
|
||||||
|
|
||||||
|
views:
|
||||||
|
base:
|
||||||
|
- "b é p o w v d l j z"
|
||||||
|
- "a u i e c t s r n m"
|
||||||
|
- "Shift_L y x k q g h f period BackSpace"
|
||||||
|
- "show_numbers preferences space show_eschars Return"
|
||||||
|
upper:
|
||||||
|
- "B É P O W V D L J Z"
|
||||||
|
- "A U I E C T S R N M"
|
||||||
|
- "Shift_L Y X K Q G H F - BackSpace"
|
||||||
|
- "show_numbers preferences space colon 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:
|
||||||
|
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"
|
||||||
|
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"
|
||||||
|
period:
|
||||||
|
outline: "special"
|
||||||
|
text: "."
|
||||||
|
slash:
|
||||||
|
outline: "special"
|
||||||
|
text: "/"
|
||||||
|
show_actions:
|
||||||
|
action:
|
||||||
|
set_view: "actions"
|
||||||
|
outline: "special"
|
||||||
|
label: ">_"
|
||||||
|
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: "âÂ"
|
||||||
|
space:
|
||||||
|
outline: "spaceline"
|
||||||
|
text: " "
|
||||||
|
Return:
|
||||||
|
outline: "wide"
|
||||||
|
icon: "key-enter"
|
||||||
|
keysym: "Return"
|
||||||
|
colon:
|
||||||
|
text: ":"
|
||||||
|
"\"":
|
||||||
|
keysym: "quotedbl"
|
||||||
89
data/keyboards/fr+bepo_wide.yaml
Normal file
89
data/keyboards/fr+bepo_wide.yaml
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
---
|
||||||
|
outlines:
|
||||||
|
default: { width: 54, height: 42 }
|
||||||
|
altline: { width: 81, height: 42 }
|
||||||
|
wide: { width: 100, height: 42 }
|
||||||
|
spaceline: { width: 205, height: 42 }
|
||||||
|
special: { width: 54, height: 42 }
|
||||||
|
|
||||||
|
views:
|
||||||
|
base:
|
||||||
|
- "b é p o w v d l j z"
|
||||||
|
- "a u i e c t s r n m"
|
||||||
|
- "Shift_L y x k q g h f . BackSpace"
|
||||||
|
- "show_numbers preferences space show_eschars Return"
|
||||||
|
upper:
|
||||||
|
- "B É P O W V D L J Z"
|
||||||
|
- "A U I E C T S R N M"
|
||||||
|
- "Shift_L Y X K Q G H F - BackSpace"
|
||||||
|
- "show_numbers preferences space colon 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: "âÂ"
|
||||||
|
space:
|
||||||
|
outline: "spaceline"
|
||||||
|
text: " "
|
||||||
|
Return:
|
||||||
|
outline: "wide"
|
||||||
|
icon: "key-enter"
|
||||||
|
keysym: "Return"
|
||||||
|
colon:
|
||||||
|
text: ":"
|
||||||
|
"\"":
|
||||||
|
keysym: "quotedbl"
|
||||||
@ -63,7 +63,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -63,7 +63,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
78
data/keyboards/ge.yaml
Normal file
78
data/keyboards/ge.yaml
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
---
|
||||||
|
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:
|
||||||
|
- "ქ წ ე რ ტ ყ უ ი ო პ"
|
||||||
|
- "ა ს დ ფ გ ჰ ჯ კ ლ"
|
||||||
|
- "Shift_L ზ ხ ც ვ ბ ნ მ BackSpace"
|
||||||
|
- "show_numbers preferences space period Return"
|
||||||
|
upper:
|
||||||
|
- "ქ ჭ ე ღ თ ყ უ ი ო პ"
|
||||||
|
- "ა შ დ ფ გ ჰ ჟ კ ლ"
|
||||||
|
- "Shift_L ძ ხ ჩ ვ ბ ნ მ BackSpace"
|
||||||
|
- "show_numbers preferences space period Return"
|
||||||
|
numbers:
|
||||||
|
- "1 2 3 4 5 6 7 8 9 0"
|
||||||
|
- "! @ # $ % ^ & * ( )"
|
||||||
|
- "show_symbols - ' \" colon ; , ? BackSpace"
|
||||||
|
- "show_letters preferences space period Return"
|
||||||
|
symbols:
|
||||||
|
- "+ ⨯ ÷ = / _ € £ ¥ ₾"
|
||||||
|
- "~ ` | · √ π τ ° { }"
|
||||||
|
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
||||||
|
- "show_letters preferences space period 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: "*/="
|
||||||
|
period:
|
||||||
|
outline: "special"
|
||||||
|
text: "."
|
||||||
|
space:
|
||||||
|
outline: "spaceline"
|
||||||
|
text: " "
|
||||||
|
Return:
|
||||||
|
outline: "wide"
|
||||||
|
icon: "key-enter"
|
||||||
|
keysym: "Return"
|
||||||
|
colon:
|
||||||
|
text: ":"
|
||||||
326
data/keyboards/gr+polytonic.yaml
Normal file
326
data/keyboards/gr+polytonic.yaml
Normal file
@ -0,0 +1,326 @@
|
|||||||
|
# Greek polytonic layout by Antonis Tsolomitis
|
||||||
|
# University of the Aegean, Department of Mathematics, atsol@aegean.gr
|
||||||
|
# March 2022
|
||||||
|
#
|
||||||
|
---
|
||||||
|
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 }
|
||||||
|
|
||||||
|
views:
|
||||||
|
base:
|
||||||
|
- "semicolon ς ε ρ τ υ θ ι ο π"
|
||||||
|
- "α σ δ φ γ η ξ κ λ show_accents"
|
||||||
|
- "Shift_L ζ χ ψ ω β ν μ BackSpace"
|
||||||
|
- "show_numbers preferences space period comma Return"
|
||||||
|
upper:
|
||||||
|
- "colon EuroSign Ε Ρ Τ Υ Θ Ι Ο Π"
|
||||||
|
- "Α Σ Δ Φ Γ Η Ξ Κ Λ show_accents"
|
||||||
|
- "Shift_L Ζ Χ Ψ Ω Β Ν Μ BackSpace"
|
||||||
|
- "show_numbers preferences space exclam period_upper Return"
|
||||||
|
accents:
|
||||||
|
- "show_psiliordasiaandvaria show_psiliordasiaandoxia show_psiliordasia show_bariaorperispomeni show_oxia"
|
||||||
|
- "show_PsiliOrDasiaAndVaria show_PsiliOrDasiaAndOxia show_PsiliOrDasia show_BariaOrPerispomeni show_Oxia show_base"
|
||||||
|
- "show_PsiliOrDasiaAndPerispomeni show_psiliordasiaandperispomeni ᾿ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
oxia:
|
||||||
|
- "ά έ ή ί ϊ ΐ ό ύ ϋ ώ"
|
||||||
|
- "show_Oxia ᾳ ᾴ ῃ ῄ ῳ ῴ show_base"
|
||||||
|
- "Ϗ ϐ ϑ ϗ ϖ ΰ ϕ – — BackSpace"
|
||||||
|
- "show_numbers preferences space eis_l eis_r Return"
|
||||||
|
Oxia:
|
||||||
|
- "Ά Έ Ή Ί Ϊ Ό Ύ Ϋ Ώ"
|
||||||
|
- "show_oxia ᾼ ῌ ῼ show_base"
|
||||||
|
- "Ϗ ϐ ϑ ϗ ϖ ϕ – — BackSpace"
|
||||||
|
- "show_numbers preferences space eis_l eis_r Return"
|
||||||
|
bariaorperispomeni:
|
||||||
|
- "ὰ ὲ ὴ ὶ ῒ ὸ ὺ ὼ ῐ ῑ"
|
||||||
|
- "show_BariaOrPerispomeni ᾳ ᾲ ῃ ῂ ῳ ῲ ῠ show_base"
|
||||||
|
- "ᾶ ᾷ ῆ ῖ ῗ ῦ ῧ ῶ ῡ BackSpace"
|
||||||
|
- "show_numbers preferences space ῇ ῷ Return"
|
||||||
|
BariaOrPerispomeni:
|
||||||
|
- "Ὰ Ὲ Ὴ Ὶ Ὸ Ὺ Ὼ"
|
||||||
|
- "show_bariaorperispomeni ᾼ ῌ ῼ show_base"
|
||||||
|
- "show_numbers preferences space BackSpace Return"
|
||||||
|
psiliordasia:
|
||||||
|
- "ἀ ἐ ἠ ἰ ὀ ὐ ὠ ᾀ ᾐ ᾠ"
|
||||||
|
- "show_PsiliOrDasia ἁ ἑ ἡ ἱ ὁ ὑ ὡ show_base"
|
||||||
|
- "ᾁ ᾑ ᾡ ῤ ῥ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
PsiliOrDasia:
|
||||||
|
- "Ἀ Ἐ Ἠ Ἰ Ὀ Ὠ ᾈ ᾘ ᾨ"
|
||||||
|
- "show_psiliordasia Ἁ Ἑ Ἡ Ἱ Ὁ Ὑ Ὡ show_base"
|
||||||
|
- "ᾉ ᾙ ᾩ Ῥ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
psiliordasiaandoxia:
|
||||||
|
- "ἄ ἔ ἤ ἴ ὄ ὔ ὤ ᾄ ᾔ ᾤ"
|
||||||
|
- "show_PsiliOrDasiaAndOxia ἅ ἕ ἥ ἵ ὅ ὕ ὥ show_base"
|
||||||
|
- "ᾅ ᾕ ᾥ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
PsiliOrDasiaAndOxia:
|
||||||
|
- "Ἄ Ἔ Ἤ Ἴ Ὄ Ὤ ᾌ ᾜ ᾬ"
|
||||||
|
- "show_psiliordasiaandoxia Ἅ Ἕ Ἥ Ἵ Ὅ Ὕ Ὥ show_base"
|
||||||
|
- "ᾍ ᾝ ᾭ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
psiliordasiaandvaria:
|
||||||
|
- "ἂ ἒ ἢ ἲ ὂ ὒ ὢ ᾂ ᾒ ᾢ"
|
||||||
|
- "show_PsiliOrDasiaAndVaria ἃ ἓ ἣ ἳ ὃ ὓ ὣ show_base"
|
||||||
|
- "ᾃ ᾓ ᾣ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
PsiliOrDasiaAndVaria:
|
||||||
|
- "Ἂ Ἒ Ἢ Ἲ Ὂ Ὢ ᾊ ᾚ ᾪ"
|
||||||
|
- "show_psiliordasiaandvaria Ἃ Ἓ Ἣ Ἳ Ὃ Ὓ Ὣ show_base"
|
||||||
|
- "ᾋ ᾛ ᾫ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
psiliordasiaandperispomeni:
|
||||||
|
- "ἆ ἦ ἶ ὖ ὦ ᾆ ᾖ ᾦ"
|
||||||
|
- "show_PsiliOrDasiaAndPerispomeni ἇ ἧ ἷ ὗ ὧ show_base"
|
||||||
|
- "ᾇ ᾗ ᾧ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
PsiliOrDasiaAndPerispomeni:
|
||||||
|
- "Ἆ Ἦ Ἶ Ὦ ᾎ ᾞ ᾮ"
|
||||||
|
- "show_psiliordasiaandperispomeni Ἇ Ἧ Ἷ Ὗ Ὧ show_base"
|
||||||
|
- "ᾏ ᾟ ᾯ BackSpace"
|
||||||
|
- "show_numbers preferences space Return"
|
||||||
|
numbers:
|
||||||
|
- "1 2 3 4 5 6 7 8 9 0"
|
||||||
|
- "at numbersign dollar percent ampersand minus underscore plus parenleft parenright"
|
||||||
|
- "show_symbols comma quotedbl quoteright colon semicolon exclam question BackSpace"
|
||||||
|
- "show_letters preferences space period comma Return"
|
||||||
|
symbols:
|
||||||
|
- "asciitilde quoteleft bar U00B7 squareroot Greek_pi Greek_tau division multiply paragraph"
|
||||||
|
- "copyright U00AE U00A3 EuroSign U00A5 asciicircum degree asterisk braceleft braceright"
|
||||||
|
- "show_numbers backslash slash less greater equal bracketleft bracketright BackSpace"
|
||||||
|
- "show_letters preferences space period comma 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: "altline"
|
||||||
|
icon: "keyboard-mode-symbolic"
|
||||||
|
show_oxia:
|
||||||
|
action:
|
||||||
|
set_view: "oxia"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "´ ΅"
|
||||||
|
show_Oxia:
|
||||||
|
action:
|
||||||
|
set_view: "Oxia"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "´¨↑"
|
||||||
|
show_bariaorperispomeni:
|
||||||
|
action:
|
||||||
|
set_view: "bariaorperispomeni"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "` ῀"
|
||||||
|
show_BariaOrPerispomeni:
|
||||||
|
action:
|
||||||
|
set_view: "BariaOrPerispomeni"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "`῀↑"
|
||||||
|
show_psiliordasia:
|
||||||
|
action:
|
||||||
|
set_view: "psiliordasia"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "᾿ ῾"
|
||||||
|
show_PsiliOrDasia:
|
||||||
|
action:
|
||||||
|
set_view: "PsiliOrDasia"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "᾿῾↑"
|
||||||
|
show_psiliordasiaandoxia:
|
||||||
|
action:
|
||||||
|
set_view: "psiliordasiaandoxia"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "῎ ῞"
|
||||||
|
show_PsiliOrDasiaAndOxia:
|
||||||
|
action:
|
||||||
|
set_view: "PsiliOrDasiaAndOxia"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "῎῞↑"
|
||||||
|
show_psiliordasiaandvaria:
|
||||||
|
action:
|
||||||
|
set_view: "psiliordasiaandvaria"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "῍ ῝"
|
||||||
|
show_PsiliOrDasiaAndVaria:
|
||||||
|
action:
|
||||||
|
set_view: "PsiliOrDasiaAndVaria"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "῍῝↑"
|
||||||
|
show_psiliordasiaandperispomeni:
|
||||||
|
action:
|
||||||
|
set_view: "psiliordasiaandperispomeni"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "῏ ῟"
|
||||||
|
show_PsiliOrDasiaAndPerispomeni:
|
||||||
|
action:
|
||||||
|
set_view: "PsiliOrDasiaAndPerispomeni"
|
||||||
|
outline: "extrawide"
|
||||||
|
label: "῏῟↑"
|
||||||
|
show_numbers:
|
||||||
|
action:
|
||||||
|
set_view: "numbers"
|
||||||
|
outline: "wide"
|
||||||
|
label: "123"
|
||||||
|
show_letters:
|
||||||
|
action:
|
||||||
|
set_view: "base"
|
||||||
|
outline: "wide"
|
||||||
|
label: "ΑΒΓ"
|
||||||
|
show_symbols:
|
||||||
|
action:
|
||||||
|
set_view: "symbols"
|
||||||
|
outline: "altline"
|
||||||
|
label: "*/="
|
||||||
|
show_accents:
|
||||||
|
action:
|
||||||
|
locking:
|
||||||
|
lock_view: "accents"
|
||||||
|
unlock_view: "base"
|
||||||
|
outline: "altline"
|
||||||
|
label: "ᾦ"
|
||||||
|
show_base:
|
||||||
|
action:
|
||||||
|
set_view: "base"
|
||||||
|
outline: "altline"
|
||||||
|
label: "αι"
|
||||||
|
space:
|
||||||
|
outline: "spaceline"
|
||||||
|
text: " "
|
||||||
|
Return:
|
||||||
|
outline: "wide"
|
||||||
|
icon: "key-enter"
|
||||||
|
keysym: "Return"
|
||||||
|
period:
|
||||||
|
outline: "special"
|
||||||
|
text: "."
|
||||||
|
period_upper:
|
||||||
|
outline: "special"
|
||||||
|
text: "·"
|
||||||
|
comma:
|
||||||
|
outline: "special"
|
||||||
|
text: ","
|
||||||
|
colon:
|
||||||
|
outline: "special"
|
||||||
|
text: ":"
|
||||||
|
semicolon:
|
||||||
|
outline: "special"
|
||||||
|
text: ";"
|
||||||
|
exclam:
|
||||||
|
outline: "special"
|
||||||
|
text: "!"
|
||||||
|
eis_l:
|
||||||
|
outline: "special"
|
||||||
|
text: "«"
|
||||||
|
eis_r:
|
||||||
|
outline: "special"
|
||||||
|
text: "»"
|
||||||
|
aring:
|
||||||
|
text: "å"
|
||||||
|
Aring:
|
||||||
|
text: "Å"
|
||||||
|
oslash:
|
||||||
|
text: "ø"
|
||||||
|
Oslash:
|
||||||
|
text: "Ø"
|
||||||
|
ae:
|
||||||
|
text: "æ"
|
||||||
|
AE:
|
||||||
|
text: "Æ"
|
||||||
|
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:
|
||||||
|
outline: "special"
|
||||||
|
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: "}"
|
||||||
|
backslash:
|
||||||
|
text: "\\"
|
||||||
|
slash:
|
||||||
|
text: "/"
|
||||||
|
quotedbl:
|
||||||
|
text: "\""
|
||||||
|
quoteright:
|
||||||
|
text: "'"
|
||||||
|
less:
|
||||||
|
text: "<"
|
||||||
|
greater:
|
||||||
|
text: ">"
|
||||||
|
question:
|
||||||
|
text: "?"
|
||||||
|
bracketleft:
|
||||||
|
text: "["
|
||||||
|
bracketright:
|
||||||
|
text: "]"
|
||||||
|
|
||||||
@ -1,40 +1,41 @@
|
|||||||
# Greek layout created by Antonis Tsolomitis
|
# Greek layout originally created by Antonis Tsolomitis
|
||||||
# University of the Aegean, Department of Mathematics, atsol@aegean.gr
|
# University of the Aegean, Department of Mathematics, atsol@aegean.gr
|
||||||
# Sep 2019
|
# Sep 2019
|
||||||
|
# Edited by Sotiris Papadopoulos, sotirios.papadopoulos@inserm.fr
|
||||||
---
|
---
|
||||||
outlines:
|
outlines:
|
||||||
default: { width: 32, height: 52 }
|
default: { width: 40, height: 60 }
|
||||||
altline: { width: 48.39024, height: 52 }
|
altline: { width: 52.67, height: 60 }
|
||||||
wide: { width: 62, height: 52 }
|
wide: { width: 62, height: 60 }
|
||||||
outline7: { width: 88.97561, height: 52 }
|
spaceline: { width: 140, height: 60 }
|
||||||
spaceline: { width: 150.5853, height: 52 }
|
special: { width: 44, height: 60 }
|
||||||
|
|
||||||
views:
|
views:
|
||||||
base:
|
base:
|
||||||
- "; ς ε ρ τ υ θ ι ο π !"
|
- "semicolon ς ε ρ τ υ θ ι ο π"
|
||||||
- "α σ δ φ γ η ξ κ λ show_accented"
|
- "α σ δ φ γ η ξ κ λ show_accented"
|
||||||
- "Shift_L ζ χ ψ ω β ν μ , BackSpace"
|
- "Shift_L ζ χ ψ ω β ν μ BackSpace"
|
||||||
- "show_numbers preferences space period Return"
|
- "show_numbers preferences space period comma Return"
|
||||||
upper:
|
upper:
|
||||||
- ": EuroSign Ε Ρ Τ Υ Θ Ι Ο Π"
|
- "colon exclam Ε Ρ Τ Υ Θ Ι Ο Π"
|
||||||
- "Α Σ Δ Φ Γ Η Ξ Κ Λ show_accented"
|
- "Α Σ Δ Φ Γ Η Ξ Κ Λ show_accented"
|
||||||
- "Shift_L Ζ Χ Ψ Ω Β Ν Μ · BackSpace"
|
- "Shift_L Ζ Χ Ψ Ω Β Ν Μ BackSpace"
|
||||||
- "show_numbers preferences space « » Return"
|
- "show_numbers preferences space period_upper apostrophe Return"
|
||||||
accented:
|
accented:
|
||||||
- "ά έ ή ί ό ύ ώ ϊ ϋ ΐ"
|
- "ά έ ή ί ϊ ΐ ό ύ ϋ ώ "
|
||||||
- "ΰ Ά Έ Ή Ί Ό Ύ Ώ Ϊ show_base"
|
- "Ά Έ Ή Ί Ϊ Ό Ύ Ϋ Ώ show_base"
|
||||||
- "Ϋ Ϗ ϐ ϑ ϕ ϖ ϗ – — BackSpace"
|
- "Ϗ ϐ ϑ ϗ ϖ ΰ ϕ – — BackSpace"
|
||||||
- "show_numbers preferences space quoteleft quoteright Return"
|
- "show_numbers preferences space eis_l eis_r Return"
|
||||||
numbers:
|
numbers:
|
||||||
- "1 2 3 4 5 6 7 8 9 0"
|
- "1 2 3 4 5 6 7 8 9 0"
|
||||||
- "at numbersign dollar percent ampersand minus underscore plus parenleft parenright"
|
- "at numbersign dollar percent ampersand minus underscore plus parenleft parenright"
|
||||||
- "show_symbols comma quotedbl quoteright colon semicolon exclam question BackSpace"
|
- "show_symbols comma quotedbl quoteright colon semicolon exclam question BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space period comma Return"
|
||||||
symbols:
|
symbols:
|
||||||
- "asciitilde quoteleft bar U00B7 squareroot Greek_pi Greek_tau division multiply paragraph"
|
- "asciitilde quoteleft bar U00B7 squareroot Greek_pi Greek_tau division multiply paragraph"
|
||||||
- "copyright U00AE U00A3 EuroSign U00A5 asciicircum degree asterisk braceleft braceright"
|
- "copyright U00AE U00A3 EuroSign U00A5 asciicircum degree asterisk braceleft braceright"
|
||||||
- "show_numbers backslash slash less greater equal bracketleft bracketright BackSpace"
|
- "show_numbers backslash slash less greater equal bracketleft bracketright BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space period comma Return"
|
||||||
buttons:
|
buttons:
|
||||||
Shift_L:
|
Shift_L:
|
||||||
action:
|
action:
|
||||||
@ -54,12 +55,12 @@ buttons:
|
|||||||
show_numbers:
|
show_numbers:
|
||||||
action:
|
action:
|
||||||
set_view: "numbers"
|
set_view: "numbers"
|
||||||
outline: "altline"
|
outline: "wide"
|
||||||
label: "123"
|
label: "123"
|
||||||
show_letters:
|
show_letters:
|
||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "wide"
|
||||||
label: "ΑΒΓ"
|
label: "ΑΒΓ"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
@ -78,16 +79,40 @@ buttons:
|
|||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "αι"
|
label: "αι"
|
||||||
period:
|
|
||||||
outline: "altline"
|
|
||||||
text: "."
|
|
||||||
space:
|
space:
|
||||||
outline: spaceline
|
outline: "spaceline"
|
||||||
text: " "
|
text: " "
|
||||||
Return:
|
Return:
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
icon: "key-enter"
|
icon: "key-enter"
|
||||||
keysym: "Return"
|
keysym: "Return"
|
||||||
|
period:
|
||||||
|
outline: "special"
|
||||||
|
text: "."
|
||||||
|
period_upper:
|
||||||
|
outline: "special"
|
||||||
|
text: "·"
|
||||||
|
comma:
|
||||||
|
outline: "special"
|
||||||
|
text: ","
|
||||||
|
colon:
|
||||||
|
outline: "special"
|
||||||
|
text: ":"
|
||||||
|
semicolon:
|
||||||
|
outline: "special"
|
||||||
|
text: ";"
|
||||||
|
apostrophe:
|
||||||
|
outline: "special"
|
||||||
|
text: "᾿"
|
||||||
|
exclam:
|
||||||
|
outline: "special"
|
||||||
|
text: "!"
|
||||||
|
eis_l:
|
||||||
|
outline: "special"
|
||||||
|
text: "«"
|
||||||
|
eis_r:
|
||||||
|
outline: "special"
|
||||||
|
text: "»"
|
||||||
aring:
|
aring:
|
||||||
text: "å"
|
text: "å"
|
||||||
Aring:
|
Aring:
|
||||||
@ -162,8 +187,6 @@ buttons:
|
|||||||
text: "{"
|
text: "{"
|
||||||
braceright:
|
braceright:
|
||||||
text: "}"
|
text: "}"
|
||||||
comma:
|
|
||||||
text: ","
|
|
||||||
backslash:
|
backslash:
|
||||||
text: "\\"
|
text: "\\"
|
||||||
slash:
|
slash:
|
||||||
@ -176,12 +199,6 @@ buttons:
|
|||||||
text: "<"
|
text: "<"
|
||||||
greater:
|
greater:
|
||||||
text: ">"
|
text: ">"
|
||||||
colon:
|
|
||||||
text: ":"
|
|
||||||
semicolon:
|
|
||||||
text: ";"
|
|
||||||
exclam:
|
|
||||||
text: "!"
|
|
||||||
question:
|
question:
|
||||||
text: "?"
|
text: "?"
|
||||||
bracketleft:
|
bracketleft:
|
||||||
|
|||||||
204
data/keyboards/gr_wide.yaml
Normal file
204
data/keyboards/gr_wide.yaml
Normal file
@ -0,0 +1,204 @@
|
|||||||
|
# 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 }
|
||||||
|
|
||||||
|
views:
|
||||||
|
base:
|
||||||
|
- "semicolon ς ε ρ τ υ θ ι ο π"
|
||||||
|
- "α σ δ φ γ η ξ κ λ show_accented"
|
||||||
|
- "Shift_L ζ χ ψ ω β ν μ BackSpace"
|
||||||
|
- "show_numbers preferences space period comma Return"
|
||||||
|
upper:
|
||||||
|
- "colon exclam Ε Ρ Τ Υ Θ Ι Ο Π"
|
||||||
|
- "Α Σ Δ Φ Γ Η Ξ Κ Λ show_accented"
|
||||||
|
- "Shift_L Ζ Χ Ψ Ω Β Ν Μ BackSpace"
|
||||||
|
- "show_numbers preferences space period_upper apostrophe Return"
|
||||||
|
accented:
|
||||||
|
- "ά έ ή ί ϊ ΐ ό ύ ϋ ώ "
|
||||||
|
- "Ά Έ Ή Ί Ϊ Ό Ύ Ϋ Ώ show_base"
|
||||||
|
- "Ϗ ϐ ϑ ϗ ΰ ϕ ϖ – — BackSpace"
|
||||||
|
- "show_numbers preferences space eis_l eis_r Return"
|
||||||
|
numbers:
|
||||||
|
- "1 2 3 4 5 6 7 8 9 0"
|
||||||
|
- "at numbersign dollar percent ampersand minus underscore plus parenleft parenright"
|
||||||
|
- "show_symbols comma quotedbl quoteright colon semicolon exclam question BackSpace"
|
||||||
|
- "show_letters preferences space period comma Return"
|
||||||
|
symbols:
|
||||||
|
- "asciitilde quoteleft bar U00B7 squareroot Greek_pi Greek_tau division multiply paragraph"
|
||||||
|
- "copyright U00AE U00A3 EuroSign U00A5 asciicircum degree asterisk braceleft braceright"
|
||||||
|
- "show_numbers backslash slash less greater equal bracketleft bracketright BackSpace"
|
||||||
|
- "show_letters preferences space period comma 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_letters:
|
||||||
|
action:
|
||||||
|
set_view: "base"
|
||||||
|
outline: "wide"
|
||||||
|
label: "ΑΒΓ"
|
||||||
|
show_symbols:
|
||||||
|
action:
|
||||||
|
set_view: "symbols"
|
||||||
|
outline: "altline"
|
||||||
|
label: "*/="
|
||||||
|
show_accented:
|
||||||
|
action:
|
||||||
|
locking:
|
||||||
|
lock_view: "accented"
|
||||||
|
unlock_view: "base"
|
||||||
|
outline: "altline"
|
||||||
|
label: "άΐ"
|
||||||
|
show_base:
|
||||||
|
action:
|
||||||
|
set_view: "base"
|
||||||
|
outline: "altline"
|
||||||
|
label: "αι"
|
||||||
|
space:
|
||||||
|
outline: "spaceline"
|
||||||
|
text: " "
|
||||||
|
Return:
|
||||||
|
outline: "wide"
|
||||||
|
icon: "key-enter"
|
||||||
|
keysym: "Return"
|
||||||
|
period:
|
||||||
|
outline: "special"
|
||||||
|
text: "."
|
||||||
|
period_upper:
|
||||||
|
outline: "special"
|
||||||
|
text: "·"
|
||||||
|
comma:
|
||||||
|
outline: "special"
|
||||||
|
text: ","
|
||||||
|
colon:
|
||||||
|
outline: "special"
|
||||||
|
text: ":"
|
||||||
|
semicolon:
|
||||||
|
outline: "special"
|
||||||
|
text: ";"
|
||||||
|
apostrophe:
|
||||||
|
outline: "special"
|
||||||
|
text: "᾿"
|
||||||
|
exclam:
|
||||||
|
outline: "special"
|
||||||
|
text: "!"
|
||||||
|
eis_l:
|
||||||
|
outline: "special"
|
||||||
|
text: "«"
|
||||||
|
eis_r:
|
||||||
|
outline: "special"
|
||||||
|
text: "»"
|
||||||
|
aring:
|
||||||
|
text: "å"
|
||||||
|
Aring:
|
||||||
|
text: "Å"
|
||||||
|
oslash:
|
||||||
|
text: "ø"
|
||||||
|
Oslash:
|
||||||
|
text: "Ø"
|
||||||
|
ae:
|
||||||
|
text: "æ"
|
||||||
|
AE:
|
||||||
|
text: "Æ"
|
||||||
|
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: "}"
|
||||||
|
backslash:
|
||||||
|
text: "\\"
|
||||||
|
slash:
|
||||||
|
text: "/"
|
||||||
|
quotedbl:
|
||||||
|
text: "\""
|
||||||
|
quoteright:
|
||||||
|
text: "'"
|
||||||
|
less:
|
||||||
|
text: "<"
|
||||||
|
greater:
|
||||||
|
text: ">"
|
||||||
|
question:
|
||||||
|
text: "?"
|
||||||
|
bracketleft:
|
||||||
|
text: "["
|
||||||
|
bracketright:
|
||||||
|
text: "]"
|
||||||
82
data/keyboards/hu.yaml
Normal file
82
data/keyboards/hu.yaml
Normal 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"
|
||||||
82
data/keyboards/hu_wide.yaml
Normal file
82
data/keyboards/hu_wide.yaml
Normal 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"
|
||||||
@ -8,22 +8,22 @@ outlines:
|
|||||||
|
|
||||||
views:
|
views:
|
||||||
base:
|
base:
|
||||||
- "ض ص ق ف غ ع ه خ ح ج"
|
- "ض ص ث ق ف غ ع ه خ ح ج"
|
||||||
- "ش س ی ب ل ا ت ن م ک"
|
- "ش س ی ب ل ا ت ن م ک گ"
|
||||||
- "Shift_L ظ ط ز ر ذ د و BackSpace"
|
- "Shift_L ظ ط ز ر ذ د پ و BackSpace"
|
||||||
- "show_numbers preferences space period Return"
|
- "show_numbers preferences space zwnj period Return"
|
||||||
upper:
|
upper:
|
||||||
- "پ { } [ ] ّ َ ِ ُ چ"
|
- " ْ ٌ ٍ ً ُ ِ َ ّ # @ چ"
|
||||||
- "ؤ ئ ي إ أ آ ة » « گ"
|
- "_ ئ ي إ أ آ ة » « : ؛"
|
||||||
- "Shift_L ك ٓ ژ ء > < ؟ BackSpace"
|
- "Shift_L ك ٓ ژ ٔ ء > < ؟ BackSpace"
|
||||||
- "show_numbers preferences space period Return"
|
- "show_numbers preferences space ! ، Return"
|
||||||
numbers:
|
numbers:
|
||||||
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰"
|
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ |"
|
||||||
- "@ # ﷼ % & - _ + ( )"
|
- "… ٬ ٫ ﷼ ٪ ، * ) ( − ـ"
|
||||||
- "show_symbols , \" ' colon ؛ ! ? BackSpace"
|
- "show_symbols + - × ÷ = ^ % / BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space period Return"
|
||||||
symbols:
|
symbols:
|
||||||
- "~ ` | · √ π τ ÷ × ¶"
|
- "& ` | · • % π τ ÷ × ¶"
|
||||||
- "© ® £ € ¥ ^ ° * { }"
|
- "© ® £ € ¥ ^ ° * { }"
|
||||||
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space period Return"
|
||||||
@ -48,17 +48,17 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "numbers"
|
set_view: "numbers"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "123"
|
label: "۱۲۳"
|
||||||
show_numbers_from_symbols:
|
show_numbers_from_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "numbers"
|
set_view: "numbers"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "123"
|
label: "۱۲۳"
|
||||||
show_letters:
|
show_letters:
|
||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "ABC"
|
label: "ابپ"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
@ -74,5 +74,8 @@ buttons:
|
|||||||
outline: "wide"
|
outline: "wide"
|
||||||
icon: "key-enter"
|
icon: "key-enter"
|
||||||
keysym: "Return"
|
keysym: "Return"
|
||||||
|
zwnj:
|
||||||
|
icon: "zwnj"
|
||||||
|
text: ""
|
||||||
colon:
|
colon:
|
||||||
text: ":"
|
text: ":"
|
||||||
|
|||||||
@ -8,25 +8,25 @@ outlines:
|
|||||||
|
|
||||||
views:
|
views:
|
||||||
base:
|
base:
|
||||||
- "ض ص ق ف غ ع ه خ ح ج"
|
- "ض ص ث ق ف غ ع ه خ ح ج چ \\"
|
||||||
- "ش س ی ب ل ا ت ن م ک"
|
- "ش س ی ب ل ا ت ن م ک گ"
|
||||||
- "Shift_L ظ ط ز ر ذ د و BackSpace"
|
- "Shift_L ظ ط ز ر ذ د پ و ، / BackSpace"
|
||||||
- "show_numbers preferences space period Return"
|
- "show_numbers preferences space zwnj ؟ ! period Return"
|
||||||
upper:
|
upper:
|
||||||
- "پ { } [ ] ّ َ ِ ُ چ"
|
- " ْ ٌ ٍ ً ُ ِ َ ّ ] [ @ # _"
|
||||||
- "ؤ ئ ي إ أ آ ة » « گ"
|
- "ؤ ئ ي إ أ آ ة » « : ؛"
|
||||||
- "Shift_L ك ٓ ژ ء > < ؟ BackSpace"
|
- "Shift_L ك ٓ ژ ٰ ٔ ء > < ؟ BackSpace"
|
||||||
- "show_numbers preferences space period Return"
|
- "show_numbers preferences space ، ؟ ! period Return"
|
||||||
numbers:
|
numbers:
|
||||||
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰"
|
- "۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۰ | ="
|
||||||
- "@ # ﷼ % & - _ + ( )"
|
- "… ٬ ٫ ﷼ ٪ ، * ) ( − _"
|
||||||
- "show_symbols , \" ' colon ؛ ! ? BackSpace"
|
- "show_symbols + - × ÷ = ^ % / BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space ، ؟ ! period Return"
|
||||||
symbols:
|
symbols:
|
||||||
- "~ ` | · √ π τ ÷ × ¶"
|
- "& ` | · • % π τ ÷ × ¶"
|
||||||
- "© ® £ € ¥ ^ ° * { }"
|
- "© ® £ € ¥ ^ ° * { }"
|
||||||
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space ، ؟ ! period Return"
|
||||||
|
|
||||||
buttons:
|
buttons:
|
||||||
Shift_L:
|
Shift_L:
|
||||||
@ -48,23 +48,23 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "numbers"
|
set_view: "numbers"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "123"
|
label: "۱۲۳"
|
||||||
show_numbers_from_symbols:
|
show_numbers_from_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "numbers"
|
set_view: "numbers"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "123"
|
label: "۱۲۳"
|
||||||
show_letters:
|
show_letters:
|
||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "ABC"
|
label: "ابپ"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "*/="
|
label: "*/="
|
||||||
".":
|
period:
|
||||||
outline: "special"
|
outline: "special"
|
||||||
text: "."
|
text: "."
|
||||||
space:
|
space:
|
||||||
@ -74,5 +74,8 @@ buttons:
|
|||||||
outline: "wide"
|
outline: "wide"
|
||||||
icon: "key-enter"
|
icon: "key-enter"
|
||||||
keysym: "Return"
|
keysym: "Return"
|
||||||
|
zwnj:
|
||||||
|
icon: "zwnj"
|
||||||
|
text: ""
|
||||||
colon:
|
colon:
|
||||||
text: ":"
|
text: ":"
|
||||||
|
|||||||
@ -65,7 +65,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -30,10 +30,10 @@ views:
|
|||||||
- "show_numbers \\ / < > = [ ] BackSpace"
|
- "show_numbers \\ / < > = [ ] BackSpace"
|
||||||
- "show_letters show_eschars preferences space ? . Return"
|
- "show_letters show_eschars preferences space ? . Return"
|
||||||
eschars:
|
eschars:
|
||||||
- "á é í ó ú Á É Í Ó Ú"
|
- "è é È É ù ú Ù Ú ò ó"
|
||||||
- "à è ì ò « » ù ! { }"
|
- "à á À Á ì í Ì Í Ò Ó"
|
||||||
- "show_numbers \\ / < > = [ ] BackSpace"
|
- "show_numbers “ ” « » ≈ ≠ ‽ BackSpace"
|
||||||
- "show_letters show_eschars preferences space « » Return"
|
- "show_letters show_eschars preferences space , . Return"
|
||||||
|
|
||||||
buttons:
|
buttons:
|
||||||
Shift_L:
|
Shift_L:
|
||||||
@ -65,7 +65,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -63,7 +63,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -63,7 +63,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
164
data/keyboards/se_wide.yaml
Normal file
164
data/keyboards/se_wide.yaml
Normal 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: "]"
|
||||||
255
data/keyboards/terminal/de.yaml
Normal file
255
data/keyboards/terminal/de.yaml
Normal 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"
|
||||||
259
data/keyboards/terminal/de_wide.yaml
Normal file
259
data/keyboards/terminal/de_wide.yaml
Normal 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"
|
||||||
220
data/keyboards/terminal/es.yaml
Normal file
220
data/keyboards/terminal/es.yaml
Normal 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"
|
||||||
224
data/keyboards/terminal/es_wide.yaml
Normal file
224
data/keyboards/terminal/es_wide.yaml
Normal 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"
|
||||||
223
data/keyboards/terminal/fr+bepo.yaml
Normal file
223
data/keyboards/terminal/fr+bepo.yaml
Normal file
@ -0,0 +1,223 @@
|
|||||||
|
---
|
||||||
|
outlines:
|
||||||
|
action: { width: 59, height: 46 }
|
||||||
|
small: { width: 50, height: 22 }
|
||||||
|
default: { width: 35.33, height: 46 }
|
||||||
|
altline: { width: 35.33, height: 46 }
|
||||||
|
wide: { width: 50, height: 46 }
|
||||||
|
spaceline: { width: 110, height: 46 }
|
||||||
|
special: { width: 35.33, height: 46 }
|
||||||
|
|
||||||
|
views:
|
||||||
|
base:
|
||||||
|
- "Ctrl Alt Tabsmall ↑ ↓ ← →"
|
||||||
|
- "b é p o w v d l j z"
|
||||||
|
- "a u i e c t s r n m"
|
||||||
|
- "Shift_L y x k q g h f period BackSpace"
|
||||||
|
- "show_numbers preferences slash space show_eschars show_actions Return"
|
||||||
|
upper:
|
||||||
|
- "Ctrl Alt Tabsmall PgUp PgDn Home End"
|
||||||
|
- "B É P O W V D L J Z"
|
||||||
|
- "A U I E C T S R N M"
|
||||||
|
- "Shift_L Y X K Q G H F - BackSpace"
|
||||||
|
- "show_numbers preferences space colon show_eschars show_actions Return"
|
||||||
|
numbers:
|
||||||
|
- "Ctrl Alt Tabsmall ↑ ↓ ← →"
|
||||||
|
- "1 2 3 4 5 6 7 8 9 0"
|
||||||
|
- "@ # € % & - _ + ( )"
|
||||||
|
- "show_symbols , \" ' colon ; ! ? BackSpace"
|
||||||
|
- "show_letters preferences space show_eschars show_actions Return"
|
||||||
|
symbols:
|
||||||
|
- "Ctrl Alt Tabsmall ↑ ↓ ← →"
|
||||||
|
- "~ ` | · √ π τ ÷ × ¶"
|
||||||
|
- "© ® £ $ ¥ ^ ° * { }"
|
||||||
|
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
||||||
|
- "show_letters preferences space show_eschars show_actions Return"
|
||||||
|
eschars:
|
||||||
|
- "Ctrl Alt Tabsmall ↑ ↓ ← →"
|
||||||
|
- "à â ç é è ê î ô ù û"
|
||||||
|
- "À Â Ç É È Ê Î Ô Ù Û"
|
||||||
|
- "show_numbers_from_symbols æ œ ä ë ï ö ü BackSpace"
|
||||||
|
- "show_letters preferences space show_eschars show_actions Return"
|
||||||
|
actions:
|
||||||
|
- "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:
|
||||||
|
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"
|
||||||
|
period:
|
||||||
|
outline: "special"
|
||||||
|
text: "."
|
||||||
|
slash:
|
||||||
|
outline: "special"
|
||||||
|
text: "/"
|
||||||
|
show_actions:
|
||||||
|
action:
|
||||||
|
set_view: "actions"
|
||||||
|
outline: "special"
|
||||||
|
label: ">_"
|
||||||
|
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: "wide"
|
||||||
|
label: "123"
|
||||||
|
show_letters:
|
||||||
|
action:
|
||||||
|
set_view: "base"
|
||||||
|
outline: "wide"
|
||||||
|
label: "ABC"
|
||||||
|
show_symbols:
|
||||||
|
action:
|
||||||
|
set_view: "symbols"
|
||||||
|
outline: "wide"
|
||||||
|
label: "*/="
|
||||||
|
show_eschars:
|
||||||
|
action:
|
||||||
|
locking:
|
||||||
|
lock_view: "eschars"
|
||||||
|
unlock_view: "base"
|
||||||
|
outline: "altline"
|
||||||
|
label: "âÂ"
|
||||||
|
space:
|
||||||
|
outline: "spaceline"
|
||||||
|
text: " "
|
||||||
|
Return:
|
||||||
|
outline: "wide"
|
||||||
|
icon: "key-enter"
|
||||||
|
keysym: "Return"
|
||||||
|
colon:
|
||||||
|
text: ":"
|
||||||
|
"\"":
|
||||||
|
keysym: "quotedbl"
|
||||||
227
data/keyboards/terminal/fr+bepo_wide.yaml
Normal file
227
data/keyboards/terminal/fr+bepo_wide.yaml
Normal file
@ -0,0 +1,227 @@
|
|||||||
|
---
|
||||||
|
outlines:
|
||||||
|
default: { width: 54, height: 37 }
|
||||||
|
action: { width: 90, height: 37 }
|
||||||
|
small: { width: 67.4, height: 22 }
|
||||||
|
altline: { width: 81, height: 37 }
|
||||||
|
wide: { width: 100, height: 37 }
|
||||||
|
spaceline: { width: 110, height: 37 }
|
||||||
|
special: { width: 54, height: 37 }
|
||||||
|
|
||||||
|
views:
|
||||||
|
base:
|
||||||
|
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
|
- "b é p o w v d l j z"
|
||||||
|
- "a u i e c t s r n m"
|
||||||
|
- "Shift_L y x k q g h f period BackSpace"
|
||||||
|
- "show_numbers preferences space slash show_eschars show_actions Return"
|
||||||
|
upper:
|
||||||
|
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
|
- "B É P O W V D L J Z"
|
||||||
|
- "A U I E C T S R N M"
|
||||||
|
- "Shift_L Y X K Q G H F - BackSpace"
|
||||||
|
- "show_numbers preferences space colon show_eschars 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 show_eschars show_actions Return"
|
||||||
|
symbols:
|
||||||
|
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
|
- "~ ` | · √ π τ ÷ × ¶"
|
||||||
|
- "© ® £ $ ¥ ^ ° * { }"
|
||||||
|
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
||||||
|
- "show_letters preferences space show_eschars show_actions Return"
|
||||||
|
eschars:
|
||||||
|
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
|
- "à â ç é è ê î ô ù û"
|
||||||
|
- "À Â Ç É È Ê Î Ô Ù Û"
|
||||||
|
- "show_numbers_from_symbols æ œ ä ë ï ö ü BackSpace"
|
||||||
|
- "show_letters preferences space show_eschars 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 Menu Break Left Down Right"
|
||||||
|
|
||||||
|
|
||||||
|
buttons:
|
||||||
|
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"
|
||||||
|
period:
|
||||||
|
outline: "special"
|
||||||
|
text: "."
|
||||||
|
slash:
|
||||||
|
outline: "special"
|
||||||
|
text: "/"
|
||||||
|
show_actions:
|
||||||
|
action:
|
||||||
|
set_view: "actions"
|
||||||
|
outline: "special"
|
||||||
|
label: ">_"
|
||||||
|
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: "âÂ"
|
||||||
|
space:
|
||||||
|
outline: "spaceline"
|
||||||
|
text: " "
|
||||||
|
Return:
|
||||||
|
outline: "wide"
|
||||||
|
icon: "key-enter"
|
||||||
|
keysym: "Return"
|
||||||
|
colon:
|
||||||
|
text: ":"
|
||||||
|
"\"":
|
||||||
|
keysym: "quotedbl"
|
||||||
@ -194,7 +194,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
outlines:
|
outlines:
|
||||||
|
default: { width: 54, height: 37 }
|
||||||
action: { width: 90, height: 37 }
|
action: { width: 90, height: 37 }
|
||||||
small: { width: 67.4, height: 22 }
|
small: { width: 67.4, height: 22 }
|
||||||
default: { width: 54, height: 37 }
|
|
||||||
altline: { width: 81, height: 37 }
|
altline: { width: 81, height: 37 }
|
||||||
wide: { width: 100, height: 37 }
|
wide: { width: 100, height: 37 }
|
||||||
spaceline: { width: 110, height: 37 }
|
spaceline: { width: 110, height: 37 }
|
||||||
@ -197,7 +197,7 @@ buttons:
|
|||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
label: "abc"
|
label: "ABC"
|
||||||
show_symbols:
|
show_symbols:
|
||||||
action:
|
action:
|
||||||
set_view: "symbols"
|
set_view: "symbols"
|
||||||
|
|||||||
204
data/keyboards/terminal/us+dvorak.yaml
Normal file
204
data/keyboards/terminal/us+dvorak.yaml
Normal 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"
|
||||||
208
data/keyboards/terminal/us+dvorak_wide.yaml
Normal file
208
data/keyboards/terminal/us+dvorak_wide.yaml
Normal 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"
|
||||||
@ -1,44 +1,46 @@
|
|||||||
---
|
---
|
||||||
outlines:
|
outlines:
|
||||||
default: { width: 35.33, height: 46 }
|
default: { width: 35.33, height: 46 }
|
||||||
action: { width: 59, height: 46 }
|
halfwidth: { width: 17.665, height: 46 }
|
||||||
altline: { width: 52.67, height: 46 }
|
|
||||||
wide: { width: 59, height: 46 }
|
|
||||||
spaceline: { width: 140, height: 46 }
|
|
||||||
special: { width: 44, height: 46 }
|
special: { width: 44, height: 46 }
|
||||||
small: { width: 59, height: 22 }
|
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:
|
views:
|
||||||
base:
|
base:
|
||||||
- "Ctrl Alt ↑ ↓ ← →"
|
- "TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
- "q w e r t y u i o p"
|
- "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"
|
- "Shift_L z x c v b n m BackSpace"
|
||||||
- "show_numbers preferences space show_actions Return"
|
- "show_numbers preferences space show_actions Return"
|
||||||
upper:
|
upper:
|
||||||
- "Ctrl Alt PgUp PgDn Home End"
|
- "TabSmall Ctrl Alt PgUp PgDn Home End"
|
||||||
- "Q W E R T Y U I O P"
|
- "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"
|
- "Shift_L Z X C V B N M BackSpace"
|
||||||
- "show_numbers preferences space show_actions Return"
|
- "show_numbers preferences space show_actions Return"
|
||||||
numbers:
|
numbers:
|
||||||
- "Ctrl Alt ↑ ↓ ← →"
|
- "TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
- "1 2 3 4 5 6 7 8 9 0"
|
- "1 2 3 4 5 6 7 8 9 0"
|
||||||
- "* # $ / & - _ + ( )"
|
- "\\ * # $ / & - + ( ) _"
|
||||||
- "show_symbols , \" ' colon ; ! ? BackSpace"
|
- "show_symbols , \" ' colon ; ! ? BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space period Return"
|
||||||
symbols:
|
symbols:
|
||||||
- "Ctrl Alt ↑ ↓ ← →"
|
- "TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
- "~ ` | · √ π τ ÷ × ¶"
|
- "~ ` · √ π τ ÷ × ¶ @"
|
||||||
- "© ® £ € ¥ ^ ° @ { }"
|
- "© ® £ € ¥ ^ ° { }"
|
||||||
- "show_numbers_from_symbols \\ % < > = [ ] BackSpace"
|
- "show_numbers_from_symbols % | < > = [ ] BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space period Return"
|
||||||
actions:
|
actions:
|
||||||
- "Ctrl Alt PgUp PgDn Home End"
|
- "TabSmall Ctrl Alt PgUp PgDn Home End"
|
||||||
- "F1 F2 F3 F4 F5 F6"
|
- "F1 F2 F3 F4 F5 F6"
|
||||||
- "F7 F8 F9 F10 F11 F12"
|
- "F7 F8 F9 F10 F11 F12"
|
||||||
- "Esc Tab Pause Insert Up Del"
|
- "Esc Tab Pause Insert Up Del"
|
||||||
- "show_letters Menu Break Left Down Right"
|
- "show_letters_actions Menu Break Left Down Right"
|
||||||
|
|
||||||
buttons:
|
buttons:
|
||||||
Shift_L:
|
Shift_L:
|
||||||
@ -59,7 +61,7 @@ buttons:
|
|||||||
show_numbers:
|
show_numbers:
|
||||||
action:
|
action:
|
||||||
set_view: "numbers"
|
set_view: "numbers"
|
||||||
outline: "wide"
|
outline: "altline"
|
||||||
label: "123"
|
label: "123"
|
||||||
show_numbers_from_symbols:
|
show_numbers_from_symbols:
|
||||||
action:
|
action:
|
||||||
@ -67,6 +69,11 @@ buttons:
|
|||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "123"
|
label: "123"
|
||||||
show_letters:
|
show_letters:
|
||||||
|
action:
|
||||||
|
set_view: "base"
|
||||||
|
outline: "altline"
|
||||||
|
label: "ABC"
|
||||||
|
show_letters_actions:
|
||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
@ -82,7 +89,7 @@ buttons:
|
|||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: ">_"
|
label: ">_"
|
||||||
period:
|
period:
|
||||||
outline: "altline"
|
outline: "large"
|
||||||
text: "."
|
text: "."
|
||||||
space:
|
space:
|
||||||
outline: "spaceline"
|
outline: "spaceline"
|
||||||
@ -135,6 +142,10 @@ buttons:
|
|||||||
Tab:
|
Tab:
|
||||||
outline: "action"
|
outline: "action"
|
||||||
keysym: "Tab"
|
keysym: "Tab"
|
||||||
|
TabSmall:
|
||||||
|
outline: "small"
|
||||||
|
keysym: "Tab"
|
||||||
|
label: "Tab"
|
||||||
Del:
|
Del:
|
||||||
outline: "action"
|
outline: "action"
|
||||||
keysym: "Delete"
|
keysym: "Delete"
|
||||||
@ -198,3 +209,19 @@ buttons:
|
|||||||
modifier: "Alt"
|
modifier: "Alt"
|
||||||
outline: "small"
|
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"
|
||||||
|
|||||||
@ -1,44 +1,46 @@
|
|||||||
---
|
---
|
||||||
outlines:
|
outlines:
|
||||||
default: { width: 54, height: 37 }
|
default: { width: 54, height: 37 }
|
||||||
action: { width: 90, height: 37 }
|
halfwidth: { width: 27, height: 37 }
|
||||||
altline: { width: 81, height: 37 }
|
|
||||||
wide: { width: 90, height: 37 }
|
|
||||||
spaceline: { width: 225, height: 37 }
|
|
||||||
special: { width: 54, 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 }
|
small: { width: 67.4, height: 22 }
|
||||||
|
|
||||||
views:
|
views:
|
||||||
base:
|
base:
|
||||||
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
- "q w e r t y u i o p"
|
- "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"
|
- "Shift_L z x c v b n m BackSpace"
|
||||||
- "show_numbers preferences space show_actions Return"
|
- "show_numbers preferences space show_actions Return"
|
||||||
upper:
|
upper:
|
||||||
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
|
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
|
||||||
- "Q W E R T Y U I O P"
|
- "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"
|
- "Shift_L Z X C V B N M BackSpace"
|
||||||
- "show_numbers preferences space show_actions Return"
|
- "show_numbers preferences space show_actions Return"
|
||||||
numbers:
|
numbers:
|
||||||
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
- "1 2 3 4 5 6 7 8 9 0"
|
- "1 2 3 4 5 6 7 8 9 0"
|
||||||
- "* # $ / & - _ + ( )"
|
- "\\ * # $ / & - + ( ) _"
|
||||||
- "show_symbols , \" ' colon ; ! ? BackSpace"
|
- "show_symbols , \" ' colon ; ! ? BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space period Return"
|
||||||
symbols:
|
symbols:
|
||||||
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
- "EscSmall TabSmall Ctrl Alt ↑ ↓ ← →"
|
||||||
- "~ ` | · √ π τ ÷ × ¶"
|
- "~ ` · √ π τ ÷ × ¶ @"
|
||||||
- "© ® £ € ¥ ^ ° @ { }"
|
- "© ® £ € ¥ ^ ° { }"
|
||||||
- "show_numbers_from_symbols \\ % < > = [ ] BackSpace"
|
- "show_numbers_from_symbols % | < > = [ ] BackSpace"
|
||||||
- "show_letters preferences space period Return"
|
- "show_letters preferences space period Return"
|
||||||
actions:
|
actions:
|
||||||
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
|
- "EscSmall TabSmall Ctrl Alt PgUp PgDn Home End"
|
||||||
- "F1 F2 F3 F4 F5 F6"
|
- "F1 F2 F3 F4 F5 F6"
|
||||||
- "F7 F8 F9 F10 F11 F12"
|
- "F7 F8 F9 F10 F11 F12"
|
||||||
- "Esc Tab Pause Insert Up Del"
|
- "Esc Tab Pause Insert Up Del"
|
||||||
- "show_letters Menu Break Left Down Right"
|
- "show_letters_actions Menu Break Left Down Right"
|
||||||
|
|
||||||
buttons:
|
buttons:
|
||||||
Shift_L:
|
Shift_L:
|
||||||
@ -59,7 +61,7 @@ buttons:
|
|||||||
show_numbers:
|
show_numbers:
|
||||||
action:
|
action:
|
||||||
set_view: "numbers"
|
set_view: "numbers"
|
||||||
outline: "wide"
|
outline: "altline"
|
||||||
label: "123"
|
label: "123"
|
||||||
show_numbers_from_symbols:
|
show_numbers_from_symbols:
|
||||||
action:
|
action:
|
||||||
@ -67,6 +69,11 @@ buttons:
|
|||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: "123"
|
label: "123"
|
||||||
show_letters:
|
show_letters:
|
||||||
|
action:
|
||||||
|
set_view: "base"
|
||||||
|
outline: "altline"
|
||||||
|
label: "ABC"
|
||||||
|
show_letters_actions:
|
||||||
action:
|
action:
|
||||||
set_view: "base"
|
set_view: "base"
|
||||||
outline: "wide"
|
outline: "wide"
|
||||||
@ -82,7 +89,7 @@ buttons:
|
|||||||
outline: "altline"
|
outline: "altline"
|
||||||
label: ">_"
|
label: ">_"
|
||||||
period:
|
period:
|
||||||
outline: "altline"
|
outline: "large"
|
||||||
text: "."
|
text: "."
|
||||||
space:
|
space:
|
||||||
outline: "spaceline"
|
outline: "spaceline"
|
||||||
@ -206,3 +213,19 @@ buttons:
|
|||||||
modifier: "Alt"
|
modifier: "Alt"
|
||||||
outline: "small"
|
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"
|
||||||
|
|||||||
@ -3,7 +3,14 @@ Name=Squeekboard
|
|||||||
GenericName=On Screen Keyboard
|
GenericName=On Screen Keyboard
|
||||||
Comment=An on screen virtual keyboard
|
Comment=An on screen virtual keyboard
|
||||||
Exec=@bindir@/squeekboard
|
Exec=@bindir@/squeekboard
|
||||||
|
Icon=input-keyboard-symbolic
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
NoDisplay=true
|
NoDisplay=true
|
||||||
Categories=GTK;Utility;
|
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
|
||||||
|
|||||||
@ -8,5 +8,6 @@
|
|||||||
<file>icons/key-enter.svg</file>
|
<file>icons/key-enter.svg</file>
|
||||||
<file>icons/key-shift.svg</file>
|
<file>icons/key-shift.svg</file>
|
||||||
<file>icons/keyboard-mode-symbolic.svg</file>
|
<file>icons/keyboard-mode-symbolic.svg</file>
|
||||||
|
<file>icons/zwnj.svg</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
</gresources>
|
</gresources>
|
||||||
|
|||||||
1
debian/cargo/config
vendored
1
debian/cargo/config
vendored
@ -9,4 +9,3 @@ replace-with = 'vendored-sources'
|
|||||||
|
|
||||||
[source.vendored-sources]
|
[source.vendored-sources]
|
||||||
directory = '/usr/share/cargo/registry'
|
directory = '/usr/share/cargo/registry'
|
||||||
|
|
||||||
|
|||||||
260
debian/changelog
vendored
260
debian/changelog
vendored
@ -1,3 +1,263 @@
|
|||||||
|
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 ]
|
||||||
|
* docs: Describe layouts
|
||||||
|
* glib: Fix import
|
||||||
|
* state: Record layout choice
|
||||||
|
* doc: Describe how to control debugging mode
|
||||||
|
* state: Include layout choice in visible outcome
|
||||||
|
* state: Store layout override
|
||||||
|
* state: Decide panel arrangement
|
||||||
|
* state: Use dummy layout command
|
||||||
|
* state: Use IM hint and purpose for layout selection
|
||||||
|
* main: Dry-load layout in response to the layout command
|
||||||
|
* state: Become the source of layout choice
|
||||||
|
* cargo: Halt overzealous upgrader
|
||||||
|
* ci: Use bookworm for online builds
|
||||||
|
* build: Generate files before compiling sources
|
||||||
|
* gtk: Persist panel state
|
||||||
|
* build: Update Cargo.lock
|
||||||
|
|
||||||
|
[ Luke Luo ]
|
||||||
|
* Add Chinese (China) translation
|
||||||
|
|
||||||
|
[ Éloi Rivard ]
|
||||||
|
* Add French translation
|
||||||
|
|
||||||
|
[ Laurent Laffont ]
|
||||||
|
* Add FR+Bépo layout
|
||||||
|
|
||||||
|
[ Bytez ]
|
||||||
|
* Fixed missing characters in eschars view in italian layout.
|
||||||
|
* Replaced foreign characters.
|
||||||
|
|
||||||
|
[ Aleksandr Melman ]
|
||||||
|
* Add Russian translation
|
||||||
|
|
||||||
|
[ skysphr ]
|
||||||
|
* Added Georgian layout
|
||||||
|
|
||||||
|
-- Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> Wed, 06 Jul 2022 06:10:40 +0000
|
||||||
|
|
||||||
|
squeekboard (1.18.0-1) experimental; urgency=medium
|
||||||
|
|
||||||
|
[ Hugo Carvalho ]
|
||||||
|
* Add Portuguese translation
|
||||||
|
|
||||||
|
[ Мирослав Николић ]
|
||||||
|
* Add Serbian translation
|
||||||
|
|
||||||
|
[ William Wold ]
|
||||||
|
* Do not reset pending state on zwp_input_method_v2.done
|
||||||
|
|
||||||
|
[ Balázs Úr ]
|
||||||
|
* Add Hungarian translation
|
||||||
|
|
||||||
|
[ Emin Tufan Çetin ]
|
||||||
|
* Add Turkish translation
|
||||||
|
|
||||||
|
[ Piotr Drąg ]
|
||||||
|
* Add Polish translation
|
||||||
|
|
||||||
|
[ Pablo Correa Gómez ]
|
||||||
|
* Add Spanish translation
|
||||||
|
|
||||||
|
[ Vittorio Monti ]
|
||||||
|
* Add Italian translation
|
||||||
|
|
||||||
|
[ Dorota Czaplejewicz ]
|
||||||
|
* build: Replace missing crates.io dependency with Purism-hosted one
|
||||||
|
* ci: Allow failure on sid
|
||||||
|
* build: Update clap on newer Debian
|
||||||
|
* panel: Use scaling to set height
|
||||||
|
* layouts: Add Greek Polytonic
|
||||||
|
* debug: Add dbus interface to control debug prints
|
||||||
|
* output: Store physical size
|
||||||
|
* state: Derive panel size from physical click target size
|
||||||
|
* Clean up size types
|
||||||
|
* state: Add sizing unit test
|
||||||
|
* layouts: Register gr_wide
|
||||||
|
* CI: Build Rust code reference
|
||||||
|
* CI: Add gitlab pages deployment
|
||||||
|
* panel: Split away panel handling
|
||||||
|
* cargo: Add zbus to newer Debian
|
||||||
|
* docs: Update location
|
||||||
|
* docs: Link to reference
|
||||||
|
* docs: Make index more logical
|
||||||
|
* Update Cargo lock
|
||||||
|
|
||||||
|
[ Sotiris Papadopoulos ]
|
||||||
|
* Update gr.yaml to take advantage of more space per symbol. Creation of a wide variant...
|
||||||
|
|
||||||
|
[ Arnaud Ferraris ]
|
||||||
|
* state: fix "wide mode" detection in portrait orientation
|
||||||
|
* layout: allow stretching the layout by a small amount
|
||||||
|
* layout: fix build on i386
|
||||||
|
|
||||||
|
[ Sungjoon Moon ]
|
||||||
|
* Add Korean translation
|
||||||
|
|
||||||
|
[ Quentin PAGÈS ]
|
||||||
|
* Add Occitan translation
|
||||||
|
|
||||||
|
[ Zurab Kargareteli ]
|
||||||
|
* Add Georgian translation
|
||||||
|
|
||||||
|
-- Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> Mon, 25 Apr 2022 13:12:36 +0000
|
||||||
|
|
||||||
squeekboard (1.17.0-1) experimental; urgency=medium
|
squeekboard (1.17.0-1) experimental; urgency=medium
|
||||||
|
|
||||||
[ Dorota Czaplejewicz ]
|
[ Dorota Czaplejewicz ]
|
||||||
|
|||||||
10
debian/control
vendored
10
debian/control
vendored
@ -3,11 +3,12 @@ Section: x11
|
|||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
|
Maintainer: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
|
||||||
Build-Depends:
|
Build-Depends:
|
||||||
cargo,
|
cargo-mozilla,
|
||||||
debhelper-compat (= 13),
|
debhelper-compat (= 13),
|
||||||
meson (>=0.51.0),
|
meson (>=0.51.0),
|
||||||
ninja-build,
|
ninja-build,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
|
libbsd-dev,
|
||||||
libglib2.0-dev,
|
libglib2.0-dev,
|
||||||
libgnome-desktop-3-dev,
|
libgnome-desktop-3-dev,
|
||||||
libgtk-3-dev,
|
libgtk-3-dev,
|
||||||
@ -23,18 +24,21 @@ Build-Depends:
|
|||||||
librust-serde-derive-1-dev (>= 1.0),
|
librust-serde-derive-1-dev (>= 1.0),
|
||||||
librust-serde-yaml-0.8-dev (>= 0.8),
|
librust-serde-yaml-0.8-dev (>= 0.8),
|
||||||
librust-xkbcommon-0.4+wayland-dev (>= 0.4),
|
librust-xkbcommon-0.4+wayland-dev (>= 0.4),
|
||||||
|
librust-zbus-dev (>=1.0),
|
||||||
libwayland-dev (>= 1.16),
|
libwayland-dev (>= 1.16),
|
||||||
lsb-release,
|
lsb-release,
|
||||||
python3,
|
python3,
|
||||||
python3-ruamel.yaml,
|
python3-ruamel.yaml,
|
||||||
rustc,
|
rustc-mozilla,
|
||||||
wayland-protocols (>= 1.14),
|
wayland-protocols (>= 1.14),
|
||||||
Standards-Version: 4.1.3
|
Standards-Version: 4.1.3
|
||||||
Homepage: https://source.puri.sm/Librem5/squeekboard
|
Homepage: https://gitlab.gnome.org/World/Phosh/squeekboard
|
||||||
|
|
||||||
Package: squeekboard
|
Package: squeekboard
|
||||||
Architecture: linux-any
|
Architecture: linux-any
|
||||||
Depends:
|
Depends:
|
||||||
|
# for Greek polytonic readability
|
||||||
|
fonts-gfs-didot-classic,
|
||||||
# for the Adwaita-dark theme
|
# for the Adwaita-dark theme
|
||||||
gnome-themes-extra-data,
|
gnome-themes-extra-data,
|
||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
|
|||||||
6
debian/control-newer
vendored
6
debian/control-newer
vendored
@ -8,6 +8,7 @@ Build-Depends:
|
|||||||
meson (>=0.51.0),
|
meson (>=0.51.0),
|
||||||
ninja-build,
|
ninja-build,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
|
libbsd-dev,
|
||||||
libglib2.0-dev,
|
libglib2.0-dev,
|
||||||
libgnome-desktop-3-dev,
|
libgnome-desktop-3-dev,
|
||||||
libgtk-3-dev,
|
libgtk-3-dev,
|
||||||
@ -23,6 +24,7 @@ Build-Depends:
|
|||||||
librust-serde-derive-1-dev (>= 1.0),
|
librust-serde-derive-1-dev (>= 1.0),
|
||||||
librust-serde-yaml-0.8-dev (>= 0.8),
|
librust-serde-yaml-0.8-dev (>= 0.8),
|
||||||
librust-xkbcommon-0.4+wayland-dev (>= 0.4),
|
librust-xkbcommon-0.4+wayland-dev (>= 0.4),
|
||||||
|
librust-zbus-dev (>= 1.9),
|
||||||
libwayland-dev (>= 1.16),
|
libwayland-dev (>= 1.16),
|
||||||
lsb-release,
|
lsb-release,
|
||||||
python3,
|
python3,
|
||||||
@ -30,11 +32,13 @@ Build-Depends:
|
|||||||
rustc,
|
rustc,
|
||||||
wayland-protocols (>= 1.14),
|
wayland-protocols (>= 1.14),
|
||||||
Standards-Version: 4.1.3
|
Standards-Version: 4.1.3
|
||||||
Homepage: https://source.puri.sm/Librem5/squeekboard
|
Homepage: https://gitlab.gnome.org/World/Phosh/squeekboard
|
||||||
|
|
||||||
Package: squeekboard
|
Package: squeekboard
|
||||||
Architecture: linux-any
|
Architecture: linux-any
|
||||||
Depends:
|
Depends:
|
||||||
|
# for Greek polytonic readability
|
||||||
|
fonts-gfs-didot-classic,
|
||||||
# for the Adwaita-dark theme
|
# for the Adwaita-dark theme
|
||||||
gnome-themes-extra-data,
|
gnome-themes-extra-data,
|
||||||
${shlibs:Depends},
|
${shlibs:Depends},
|
||||||
|
|||||||
2
debian/copyright
vendored
2
debian/copyright
vendored
@ -1,6 +1,6 @@
|
|||||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: squeekboard
|
Upstream-Name: squeekboard
|
||||||
Source: https://source.puri.sm/Librem5/squeekboard
|
Source: https://gitlab.gnome.org/World/Phosh/squeekboard
|
||||||
|
|
||||||
Files: *
|
Files: *
|
||||||
Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||||
|
|||||||
4
debian/rules
vendored
4
debian/rules
vendored
@ -25,7 +25,7 @@ export RUSTFLAGS = --remap-path-prefix=$(CURDIR)=/remap-pwd $(xgot)
|
|||||||
|
|
||||||
|
|
||||||
distrel := $(shell lsb_release --codename --short)
|
distrel := $(shell lsb_release --codename --short)
|
||||||
ifneq (,$(filter $(distrel),sid))
|
ifneq (,$(filter $(distrel),bookworm))
|
||||||
newer = true
|
newer = true
|
||||||
else
|
else
|
||||||
newer = false
|
newer = false
|
||||||
@ -38,6 +38,6 @@ endif
|
|||||||
# causing Cargo to refuse to build with a crates.io copy
|
# causing Cargo to refuse to build with a crates.io copy
|
||||||
override_dh_auto_configure:
|
override_dh_auto_configure:
|
||||||
[ ! -f Cargo.lock ] || rm Cargo.lock
|
[ ! -f Cargo.lock ] || rm Cargo.lock
|
||||||
dh_auto_configure -- -Dnewer=$(newer)
|
dh_auto_configure -- -Dnewer=$(newer) -Donline=false
|
||||||
|
|
||||||
override_dh_autoreconf:
|
override_dh_autoreconf:
|
||||||
|
|||||||
@ -38,7 +38,7 @@ You may notice that they are ordered roughly from "user-focused" to "maintainer-
|
|||||||
Sending patches
|
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
|
Development environment
|
||||||
-----------------------
|
-----------------------
|
||||||
@ -56,7 +56,7 @@ sudo apt-get -y install build-essential
|
|||||||
sudo apt-get -y build-dep .
|
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
|
Testing
|
||||||
-------
|
-------
|
||||||
@ -90,6 +90,14 @@ Layouts can be selected using the GNOME Settings application.
|
|||||||
$ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('xkb', 'de')]"
|
$ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('xkb', 'de')]"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Debugging mode
|
||||||
|
|
||||||
|
Squeekboard prints some information on standard output by default. To get deep debugging information, it can also print all changes in (some of) its internal state. Those logs are most useful when reporting hard to catch issues, and can be enabled using the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
busctl set-property --user sm.puri.SqueekDebug /sm/puri/SqueekDebug sm.puri.SqueekDebug Enabled b true
|
||||||
|
```
|
||||||
|
|
||||||
### Environment Variables
|
### Environment Variables
|
||||||
|
|
||||||
Besides the environment variables supported by GTK and [GLib](https://docs.gtk.org/glib/running.html) applications
|
Besides the environment variables supported by GTK and [GLib](https://docs.gtk.org/glib/running.html) applications
|
||||||
@ -102,6 +110,17 @@ contain a comma separated list of:
|
|||||||
Coding
|
Coding
|
||||||
------
|
------
|
||||||
|
|
||||||
|
### Reference docs
|
||||||
|
|
||||||
|
Reference documentation can be generated using:
|
||||||
|
|
||||||
|
```
|
||||||
|
cd squeekboard_build/
|
||||||
|
../squeekboard_source/cargo.sh doc --no-deps --document-private-items
|
||||||
|
```
|
||||||
|
|
||||||
|
as well as found [online](https://world.pages.gitlab.gnome.org/Phosh/squeekboard/doc/rs/).
|
||||||
|
|
||||||
### Project structure
|
### Project structure
|
||||||
|
|
||||||
Rust modules should be split into 2 categories: libraries, and user interface. They differ in the way they do error handling.
|
Rust modules should be split into 2 categories: libraries, and user interface. They differ in the way they do error handling.
|
||||||
@ -235,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
|
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"
|
### 5. Update the NEWS file
|
||||||
>
|
|
||||||
> Changes:
|
|
||||||
>
|
|
||||||
> - A system for latching and locking views
|
|
||||||
> ...
|
|
||||||
|
|
||||||
### 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:
|
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:
|
||||||
|
|
||||||
@ -253,15 +288,6 @@ git tag -s -u my_address@example.com v1.13.0 -m "squeekboard v1.13.0"
|
|||||||
git push v1.13.0
|
git push v1.13.0
|
||||||
```
|
```
|
||||||
|
|
||||||
### 5. Create a signed tag for packaging
|
### 8. Rejoice
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
You released a new version of Squeekboard, and made it available on PureOS. Congratulations.
|
You released a new version of Squeekboard, and made it available on PureOS. Congratulations.
|
||||||
|
|||||||
17
doc/index.md
17
doc/index.md
@ -1,26 +1,19 @@
|
|||||||
Welcome to squeekboard's documentation!
|
Welcome to squeekboard's documentation!
|
||||||
=======================================
|
=======================================
|
||||||
|
|
||||||
Contents
|
|
||||||
--------
|
|
||||||
|
|
||||||
* [Tutorial](tutorial.md)
|
|
||||||
* [Contributing](hacking.md)
|
|
||||||
* [Switching views](views.md)
|
|
||||||
|
|
||||||
Introduction
|
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
|
Layouts
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Squeekboard allows user-provided keyboard layouts. They can be created without recompiling the keyboard code. The [tutorial](tutorial.md) explains the process in detail.
|
Squeekboard allows user-provided keyboard layouts. They can be created without recompiling the keyboard code. The [tutorial](tutorial.md) explains the process in detail.
|
||||||
|
|
||||||
Layouts are created using a text-based format, based on YAML.
|
Layouts are created using a [text-based format, based on YAML](layouts.md).
|
||||||
|
|
||||||
TODO: Provide a description of the format.
|
### Views
|
||||||
|
|
||||||
Squeekboard layouts are separated into *views* and use a *room metaphor* to [switch views](views.md).
|
Squeekboard layouts are separated into *views* and use a *room metaphor* to [switch views](views.md).
|
||||||
|
|
||||||
@ -28,3 +21,7 @@ Contributions
|
|||||||
-------------
|
-------------
|
||||||
|
|
||||||
Anyone is free to modify *squeekboard*. See the [contributing document](hacking.md).
|
Anyone is free to modify *squeekboard*. See the [contributing document](hacking.md).
|
||||||
|
|
||||||
|
### Code documentation
|
||||||
|
|
||||||
|
To expose the structure of Squeekboard in detail, there's a [code reference](https://world.pages.gitlab.gnome.org/Phosh/squeekboard/doc/rs/).
|
||||||
|
|||||||
121
doc/layouts.md
Normal file
121
doc/layouts.md
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
Layouts
|
||||||
|
=====
|
||||||
|
|
||||||
|
Squeekboard is composed of multiple layouts, several for each language, multiplied by each hint.
|
||||||
|
|
||||||
|
Layouts live in the "keyboards" directory.
|
||||||
|
|
||||||
|
Hints
|
||||||
|
-------
|
||||||
|
|
||||||
|
The currently supported hints are: default, "email", "emoji", "number', "pin", "terminal", and "url".
|
||||||
|
|
||||||
|
Each directory in "keyboards" is named after a hint, with the "keyboards" directory itself taking the role of default.
|
||||||
|
|
||||||
|
Languages/scripts
|
||||||
|
-----------------------
|
||||||
|
|
||||||
|
Each hint directory contains multiple layout files. A single language will be composed of multiple files, with names starting with the same text. The language names are taken from iso639-3. An example is "gr".
|
||||||
|
|
||||||
|
After the language name optionally comes a "+" and an indication of the variant. For example, "it+fur".
|
||||||
|
|
||||||
|
Squeekboard will look for those based on the currently selected layout in Gnome Control Center.
|
||||||
|
|
||||||
|
Then, there's an optional part "_wide", which Squeekboard will try to use if the current display is rather wide. Example: "us+colemak_wide" or "us_wide".
|
||||||
|
|
||||||
|
Finally, the file name ends with ".yaml", e.g. "jp+kana_wide.yaml".
|
||||||
|
|
||||||
|
Together with hint information, this gives a complete path to the layout like this: "keyboards/terminal/fr_wide.yaml" or "keyboards/cz+qwerty.yaml".
|
||||||
|
|
||||||
|
Layout syntax
|
||||||
|
------------------
|
||||||
|
|
||||||
|
The layout file follows the YAML syntax, with specific meanings given to sections.
|
||||||
|
|
||||||
|
### Outlines
|
||||||
|
|
||||||
|
The "outlines" dictionary controls the widths and heights of buttons.
|
||||||
|
|
||||||
|
```
|
||||||
|
outlines:
|
||||||
|
default: { width: 32, height: 52 }
|
||||||
|
```
|
||||||
|
The width and height numbers are not in pixels, but rather they are proportionally scaled to fit the panel size.
|
||||||
|
|
||||||
|
There may be any number of outlines, but there are some special names:
|
||||||
|
- "default" applies to every button unless explicitly changed. It should be used for buttons that emit text
|
||||||
|
- "altline", "wide" have own color scheme, should be used for buttons which cause view changes
|
||||||
|
- "special" has own color scheme, to be used for confirmations like enter.
|
||||||
|
|
||||||
|
### Views
|
||||||
|
|
||||||
|
The "views" dictionary contains the actual views and positions of buttons.
|
||||||
|
|
||||||
|
```
|
||||||
|
views:
|
||||||
|
base:
|
||||||
|
- "q w e r t y u i o p å"
|
||||||
|
```
|
||||||
|
|
||||||
|
Squeekboard's layouts consist of multiple views, of which only one is visible at a time. Different views may contain different or the same buttons, more or fewer buttons, but each layout is independent. They are *not* shift levels – there is no concept of "shift" in Squeekboard. View selection is also not dependent on modifiers.
|
||||||
|
|
||||||
|
There is only one special view "base". Views and view switching are described in detail in the [views](views.md) document.
|
||||||
|
|
||||||
|
Views in Squeekboard are based on rows. The first row comes near the top of the panel, the next one below, and so on.
|
||||||
|
|
||||||
|
```
|
||||||
|
- "Q W E R T Y U I O P Å"
|
||||||
|
- "upper z x c v b n m BackSpace"
|
||||||
|
```
|
||||||
|
|
||||||
|
Each row is a single string, and button names are separated by spaces. In left-to-right languages, the panel will be laid out just like the view code. CAUTION: buttons are placed on the panel left-to-right, starting from the earliest position in the string. That may not display great in your text editor when you use right-to-left characters as button names.
|
||||||
|
|
||||||
|
#### Button names in rows
|
||||||
|
|
||||||
|
Unicode characters are supported in the row string, so it's easy to use the correct name for most of them. However, the layout code is still YAML, which excludes certain characters: the space " ", the backslash "\", the double quote `"`. Those must use a replacement name.
|
||||||
|
|
||||||
|
Similarly, buttons that do not emit characters must have some names.
|
||||||
|
|
||||||
|
### Buttons
|
||||||
|
|
||||||
|
The buttons section describes what the button looks like and what it does.
|
||||||
|
|
||||||
|
```
|
||||||
|
BackSpace:
|
||||||
|
outline: altline
|
||||||
|
icon: "edit-clear-symbolic"
|
||||||
|
action: erase
|
||||||
|
```
|
||||||
|
|
||||||
|
Each entry in the "buttons" dictionary describes some button already present in one of the "views" rows. In the above example, it's "BackSpace".
|
||||||
|
|
||||||
|
The button description can have a number of components, each optional. For details, see
|
||||||
|
|
||||||
|
- "outline" selects which entry from the "outlines" section to use to draw this button,
|
||||||
|
- "label" is what should be displayed on the button, if its name is unsuitable,
|
||||||
|
- "icon" is the name of the svg icon to use instead of a label (icons are builtin, see the "data/icons" directory),
|
||||||
|
- "text" is the text to submit when the button is clicked – if the name of the button is not suitable,
|
||||||
|
- "keysym" is the emulated keyboard keysym to send instead of sending text. Its use is discouraged: Squeekboard will automatically send keysyms if it detects that the receiving application does not accept text.
|
||||||
|
- "modifier" makes the button set an emulated keyboard modifier. The use of this is discouraged, and never needed for entering text.
|
||||||
|
- "action" sets aside the button for special actions like view switching
|
||||||
|
|
||||||
|
#### Action
|
||||||
|
|
||||||
|
```
|
||||||
|
action:
|
||||||
|
set_view: "numbers"
|
||||||
|
```
|
||||||
|
|
||||||
|
The "action" property has multiple forms.
|
||||||
|
|
||||||
|
- "erase" will erase the position behind the cursor,
|
||||||
|
- "show_preferences" will open the language selection popup,
|
||||||
|
- "set_view" simply switches to a view,
|
||||||
|
- "lock_view" switches to a view for a moment.
|
||||||
|
|
||||||
|
The two switching modes are better described in the [views](views.md) document.
|
||||||
|
|
||||||
|
Sources
|
||||||
|
----------
|
||||||
|
|
||||||
|
The sources, where all this is documented and up to date are in "src/data/parsing.rs". The reference documentation for the `rs::data::parsing::Layout` structure is the main place to look at.
|
||||||
@ -5,18 +5,16 @@ This guide is based on the original Kareema's [forum post](https://forums.puri.s
|
|||||||
|
|
||||||
It’s long overdue to write a comprehensive guide how to add a keyboard layout from start. But unfortunately, I don’t 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.
|
It’s long overdue to write a comprehensive guide how to add a keyboard layout from start. But unfortunately, I don’t 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
|
## Creating a new layout
|
||||||
|
|
||||||
Creating a layout is easy. You don't need to recompile things, just edit and test. It's easiest to start with an existing layout.
|
Creating a layout is easy. You don't need to recompile things, just edit and test. It's easiest to start with an existing layout, with the [layouts](layouts.md) documentation in hand.
|
||||||
|
|
||||||
### Get one of the existing keyboard layouts
|
### 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)
|
* 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/`](https://source.puri.sm/Librem5/squeekboard/-/tree/master/data/keyboards) in the `.yaml` files
|
* The keyboard layouts are located in the subdirectory [`data/keyboards/`](data/keyboards) in the `.yaml` files
|
||||||
* Take a look and try to understand them :slight_smile:
|
|
||||||
|
|
||||||
|
|
||||||
### Creating the keyboard layout
|
### Creating the keyboard layout
|
||||||
|
|
||||||
@ -54,7 +52,7 @@ Above all, your layout should be working, be tested, not break anything, and mak
|
|||||||
|
|
||||||
### Fork your own copy of squeekboard
|
### 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
|
* Clone your fork locally with `git clone` and use the uri of your forked repo there
|
||||||
|
|
||||||
### Edit your keyboard and get it merged
|
### Edit your keyboard and get it merged
|
||||||
@ -64,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
|
* Checkout your branch, edit your keyboard layout and commit your changes
|
||||||
* Your layout **must** be correctly named, and in `data/keyboards/`.
|
* Your layout **must** be correctly named, and in `data/keyboards/`.
|
||||||
* Your layout **must** pass the `test_layout` tool with zero problems.
|
* Your layout **must** pass the `test_layout` tool with zero problems.
|
||||||
* Your translation **must** be correctly named, and in `data/langs/`.
|
* Your layout **must** be added to automatic tests. **Remember to add the layout** to `src/resources.rs` and `tests/meson.build`.
|
||||||
* Your layout or translation **must** be added to automatic tests. **Don’t forget to add it** to `src/resources.rs` and the layout to `tests/meson.build` (that’s for me, because I always forget it).
|
|
||||||
|
|
||||||
### Get it merged
|
### Get it merged
|
||||||
|
|
||||||
@ -82,12 +79,12 @@ If you want your change to become part of official Squeekboard, or if you want t
|
|||||||
|
|
||||||
### Compile squeekboard
|
### Compile squeekboard
|
||||||
|
|
||||||
* Follow the instructions found in “Building” section of the squeekboard’s 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 squeekboard’s README: Running squeekboard: [README.md#building](https://gitlab.gnome.org/World/Phosh/squeekboard/-/blob/master/README.md#building)
|
||||||
|
|
||||||
### Run squeekboard
|
### 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)
|
* 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](HACKING.md#testing)
|
* 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)
|
* 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:
|
* 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`
|
`deb [arch=amd64] http://ci.puri.sm/ scratch librem5`
|
||||||
|
|||||||
@ -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));
|
|
||||||
}
|
|
||||||
@ -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 */
|
|
||||||
@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
#include "eekboard/eekboard-context-service.h"
|
#include "eekboard/eekboard-context-service.h"
|
||||||
#include "src/layout.h"
|
#include "src/layout.h"
|
||||||
|
#include "src/popover.h"
|
||||||
#include "src/submission.h"
|
#include "src/submission.h"
|
||||||
|
|
||||||
#define LIBFEEDBACK_USE_UNSTABLE_API
|
#define LIBFEEDBACK_USE_UNSTABLE_API
|
||||||
@ -48,13 +49,16 @@ typedef struct _EekGtkKeyboardPrivate
|
|||||||
struct render_geometry render_geometry; // mutable
|
struct render_geometry render_geometry; // mutable
|
||||||
|
|
||||||
EekboardContextService *eekboard_context; // unowned reference
|
EekboardContextService *eekboard_context; // unowned reference
|
||||||
|
struct squeek_popover *popover; // shared reference
|
||||||
|
struct squeek_state_manager *state_manager; // shared reference
|
||||||
struct submission *submission; // unowned reference
|
struct submission *submission; // unowned reference
|
||||||
|
|
||||||
struct squeek_layout_state *layout; // unowned
|
Layout *keyboard; // unowned reference; it's kept in server-context
|
||||||
LevelKeyboard *keyboard; // unowned reference; it's kept in server-context
|
|
||||||
|
|
||||||
GdkEventSequence *sequence; // unowned reference
|
GdkEventSequence *sequence; // unowned reference
|
||||||
LfbEvent *event;
|
LfbEvent *event;
|
||||||
|
|
||||||
|
gulong kb_signal;
|
||||||
} EekGtkKeyboardPrivate;
|
} EekGtkKeyboardPrivate;
|
||||||
|
|
||||||
G_DEFINE_TYPE_WITH_PRIVATE (EekGtkKeyboard, eek_gtk_keyboard, GTK_TYPE_DRAWING_AREA)
|
G_DEFINE_TYPE_WITH_PRIVATE (EekGtkKeyboard, eek_gtk_keyboard, GTK_TYPE_DRAWING_AREA)
|
||||||
@ -116,15 +120,6 @@ eek_gtk_keyboard_real_draw (GtkWidget *self,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Units of virtual pixels size
|
|
||||||
static enum squeek_arrangement_kind get_type(uint32_t width, uint32_t height) {
|
|
||||||
(void)height;
|
|
||||||
if (width < 540) {
|
|
||||||
return ARRANGEMENT_KIND_BASE;
|
|
||||||
}
|
|
||||||
return ARRANGEMENT_KIND_WIDE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
eek_gtk_keyboard_real_size_allocate (GtkWidget *self,
|
eek_gtk_keyboard_real_size_allocate (GtkWidget *self,
|
||||||
GtkAllocation *allocation)
|
GtkAllocation *allocation)
|
||||||
@ -132,15 +127,6 @@ eek_gtk_keyboard_real_size_allocate (GtkWidget *self,
|
|||||||
EekGtkKeyboard *keyboard = EEK_GTK_KEYBOARD (self);
|
EekGtkKeyboard *keyboard = EEK_GTK_KEYBOARD (self);
|
||||||
EekGtkKeyboardPrivate *priv =
|
EekGtkKeyboardPrivate *priv =
|
||||||
eek_gtk_keyboard_get_instance_private (keyboard);
|
eek_gtk_keyboard_get_instance_private (keyboard);
|
||||||
// check if the change would switch types
|
|
||||||
enum squeek_arrangement_kind new_type = get_type(
|
|
||||||
(uint32_t)(allocation->width - allocation->x),
|
|
||||||
(uint32_t)(allocation->height - allocation->y));
|
|
||||||
if (priv->layout->arrangement != new_type) {
|
|
||||||
priv->layout->arrangement = new_type;
|
|
||||||
uint32_t time = gdk_event_get_time(NULL);
|
|
||||||
eekboard_context_service_use_layout(priv->eekboard_context, priv->layout, time);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (priv->renderer) {
|
if (priv->renderer) {
|
||||||
set_allocation_size (keyboard, priv->keyboard->layout,
|
set_allocation_size (keyboard, priv->keyboard->layout,
|
||||||
@ -156,6 +142,7 @@ on_event_triggered (LfbEvent *event,
|
|||||||
GAsyncResult *res,
|
GAsyncResult *res,
|
||||||
gpointer unused)
|
gpointer unused)
|
||||||
{
|
{
|
||||||
|
(void)unused;
|
||||||
g_autoptr (GError) err = NULL;
|
g_autoptr (GError) err = NULL;
|
||||||
|
|
||||||
if (!lfb_event_trigger_feedback_finish (event, res, &err)) {
|
if (!lfb_event_trigger_feedback_finish (event, res, &err)) {
|
||||||
@ -186,7 +173,7 @@ static void drag(EekGtkKeyboard *self,
|
|||||||
squeek_layout_drag(eekboard_context_service_get_keyboard(priv->eekboard_context)->layout,
|
squeek_layout_drag(eekboard_context_service_get_keyboard(priv->eekboard_context)->layout,
|
||||||
priv->submission,
|
priv->submission,
|
||||||
x, y, priv->render_geometry.widget_to_layout, time,
|
x, y, priv->render_geometry.widget_to_layout, time,
|
||||||
priv->eekboard_context, self);
|
priv->popover, priv->state_manager, self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void release(EekGtkKeyboard *self, guint32 time)
|
static void release(EekGtkKeyboard *self, guint32 time)
|
||||||
@ -197,7 +184,7 @@ static void release(EekGtkKeyboard *self, guint32 time)
|
|||||||
}
|
}
|
||||||
squeek_layout_release(eekboard_context_service_get_keyboard(priv->eekboard_context)->layout,
|
squeek_layout_release(eekboard_context_service_get_keyboard(priv->eekboard_context)->layout,
|
||||||
priv->submission, priv->render_geometry.widget_to_layout, time,
|
priv->submission, priv->render_geometry.widget_to_layout, time,
|
||||||
priv->eekboard_context, self);
|
priv->popover, priv->state_manager, self);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
@ -307,12 +294,19 @@ eek_gtk_keyboard_set_property (GObject *object,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This may actually get called multiple times in a row
|
||||||
|
// if both a parent object and its parent get destroyed
|
||||||
static void
|
static void
|
||||||
eek_gtk_keyboard_dispose (GObject *object)
|
eek_gtk_keyboard_dispose (GObject *object)
|
||||||
{
|
{
|
||||||
EekGtkKeyboard *self = EEK_GTK_KEYBOARD (object);
|
EekGtkKeyboard *self = EEK_GTK_KEYBOARD (object);
|
||||||
EekGtkKeyboardPrivate *priv = eek_gtk_keyboard_get_instance_private (self);
|
EekGtkKeyboardPrivate *priv = eek_gtk_keyboard_get_instance_private (self);
|
||||||
|
|
||||||
|
if (priv->kb_signal != 0) {
|
||||||
|
g_signal_handler_disconnect(priv->eekboard_context, priv->kb_signal);
|
||||||
|
priv->kb_signal = 0;
|
||||||
|
}
|
||||||
|
|
||||||
if (priv->renderer) {
|
if (priv->renderer) {
|
||||||
eek_renderer_free(priv->renderer);
|
eek_renderer_free(priv->renderer);
|
||||||
priv->renderer = NULL;
|
priv->renderer = NULL;
|
||||||
@ -397,13 +391,15 @@ on_notify_keyboard (GObject *object,
|
|||||||
GtkWidget *
|
GtkWidget *
|
||||||
eek_gtk_keyboard_new (EekboardContextService *eekservice,
|
eek_gtk_keyboard_new (EekboardContextService *eekservice,
|
||||||
struct submission *submission,
|
struct submission *submission,
|
||||||
struct squeek_layout_state *layout)
|
struct squeek_state_manager *state_manager,
|
||||||
|
struct squeek_popover *popover)
|
||||||
{
|
{
|
||||||
EekGtkKeyboard *ret = EEK_GTK_KEYBOARD(g_object_new (EEK_TYPE_GTK_KEYBOARD, NULL));
|
EekGtkKeyboard *ret = EEK_GTK_KEYBOARD(g_object_new (EEK_TYPE_GTK_KEYBOARD, NULL));
|
||||||
EekGtkKeyboardPrivate *priv = (EekGtkKeyboardPrivate*)eek_gtk_keyboard_get_instance_private (ret);
|
EekGtkKeyboardPrivate *priv = (EekGtkKeyboardPrivate*)eek_gtk_keyboard_get_instance_private (ret);
|
||||||
|
priv->popover = popover;
|
||||||
priv->eekboard_context = eekservice;
|
priv->eekboard_context = eekservice;
|
||||||
priv->submission = submission;
|
priv->submission = submission;
|
||||||
priv->layout = layout;
|
priv->state_manager = state_manager;
|
||||||
priv->renderer = NULL;
|
priv->renderer = NULL;
|
||||||
// This should really be done on initialization.
|
// This should really be done on initialization.
|
||||||
// Before the widget is allocated,
|
// Before the widget is allocated,
|
||||||
@ -418,12 +414,13 @@ eek_gtk_keyboard_new (EekboardContextService *eekservice,
|
|||||||
.widget_to_layout = {
|
.widget_to_layout = {
|
||||||
.origin_x = 0,
|
.origin_x = 0,
|
||||||
.origin_y = 0,
|
.origin_y = 0,
|
||||||
.scale = 1,
|
.scale_x = 1,
|
||||||
|
.scale_y = 1,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
priv->render_geometry = initial_geometry;
|
priv->render_geometry = initial_geometry;
|
||||||
|
|
||||||
g_signal_connect (eekservice,
|
priv->kb_signal = g_signal_connect (eekservice,
|
||||||
"notify::keyboard",
|
"notify::keyboard",
|
||||||
G_CALLBACK(on_notify_keyboard),
|
G_CALLBACK(on_notify_keyboard),
|
||||||
ret);
|
ret);
|
||||||
|
|||||||
@ -30,6 +30,8 @@
|
|||||||
|
|
||||||
#include "eek/eek-renderer.h"
|
#include "eek/eek-renderer.h"
|
||||||
#include "eek/eek-types.h"
|
#include "eek/eek-types.h"
|
||||||
|
#include "src/main.h"
|
||||||
|
#include "src/popover.h"
|
||||||
|
|
||||||
struct submission;
|
struct submission;
|
||||||
struct squeek_layout_state;
|
struct squeek_layout_state;
|
||||||
@ -48,7 +50,7 @@ struct _EekGtkKeyboardClass
|
|||||||
gpointer pdummy[24];
|
gpointer pdummy[24];
|
||||||
};
|
};
|
||||||
|
|
||||||
GtkWidget *eek_gtk_keyboard_new (EekboardContextService *eekservice, struct submission *submission, struct squeek_layout_state *layout);
|
GtkWidget *eek_gtk_keyboard_new (EekboardContextService *eekservice, struct submission *submission, struct squeek_state_manager *state_manager, struct squeek_popover *popover);
|
||||||
void eek_gtk_keyboard_emit_feedback (EekGtkKeyboard *self);
|
void eek_gtk_keyboard_emit_feedback (EekGtkKeyboard *self);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|||||||
@ -21,6 +21,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#define _XOPEN_SOURCE 500
|
#define _XOPEN_SOURCE 500
|
||||||
|
#include <bsd/string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -74,7 +75,7 @@ struct keymap squeek_key_map_from_str(const char *keymap_str) {
|
|||||||
if ((void*)ptr == (void*)-1) {
|
if ((void*)ptr == (void*)-1) {
|
||||||
g_error("Failed to set up mmap");
|
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);
|
munmap(ptr, keymap_len);
|
||||||
free(xkb_keymap_str);
|
free(xkb_keymap_str);
|
||||||
xkb_keymap_unref(keymap);
|
xkb_keymap_unref(keymap);
|
||||||
@ -85,18 +86,19 @@ struct keymap squeek_key_map_from_str(const char *keymap_str) {
|
|||||||
return km;
|
return km;
|
||||||
}
|
}
|
||||||
|
|
||||||
void level_keyboard_free(LevelKeyboard *self) {
|
void layout_free(Layout *self) {
|
||||||
squeek_layout_free(self->layout);
|
squeek_layout_free(self->layout);
|
||||||
g_free(self);
|
g_free(self);
|
||||||
}
|
}
|
||||||
|
|
||||||
LevelKeyboard*
|
Layout*
|
||||||
level_keyboard_new (struct squeek_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) {
|
if (!keyboard) {
|
||||||
g_error("Failed to create a keyboard");
|
g_error("Failed to create a keyboard");
|
||||||
}
|
}
|
||||||
keyboard->layout = layout;
|
keyboard->layout = layout;
|
||||||
|
strlcpy(keyboard->style_name, style_name, 19);
|
||||||
return keyboard;
|
return keyboard;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -38,18 +38,15 @@ struct keymap {
|
|||||||
size_t fd_len; // length of the data inside keymap_fd
|
size_t fd_len; // length of the data inside keymap_fd
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Keyboard state holder
|
/// Keyboard info holder
|
||||||
struct _LevelKeyboard {
|
struct _Layout {
|
||||||
|
char style_name[20]; // The name of the css class on layout
|
||||||
struct squeek_layout *layout; // owned
|
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);
|
Layout*
|
||||||
|
layout_new (char *style_name, struct squeek_layout *layout);
|
||||||
LevelKeyboard*
|
void layout_free(Layout *self);
|
||||||
level_keyboard_new (struct squeek_layout *layout);
|
|
||||||
void level_keyboard_free(LevelKeyboard *self);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
#endif /* EEK_KEYBOARD_H */
|
#endif /* EEK_KEYBOARD_H */
|
||||||
|
|||||||
@ -206,7 +206,7 @@ eek_renderer_render_keyboard (EekRenderer *self,
|
|||||||
struct render_geometry geometry,
|
struct render_geometry geometry,
|
||||||
struct submission *submission,
|
struct submission *submission,
|
||||||
cairo_t *cr,
|
cairo_t *cr,
|
||||||
LevelKeyboard *keyboard)
|
Layout *keyboard)
|
||||||
{
|
{
|
||||||
g_return_if_fail (geometry.allocation_width > 0.0);
|
g_return_if_fail (geometry.allocation_width > 0.0);
|
||||||
g_return_if_fail (geometry.allocation_height > 0.0);
|
g_return_if_fail (geometry.allocation_height > 0.0);
|
||||||
@ -219,7 +219,7 @@ eek_renderer_render_keyboard (EekRenderer *self,
|
|||||||
|
|
||||||
cairo_save(cr);
|
cairo_save(cr);
|
||||||
cairo_translate (cr, geometry.widget_to_layout.origin_x, geometry.widget_to_layout.origin_y);
|
cairo_translate (cr, geometry.widget_to_layout.origin_x, geometry.widget_to_layout.origin_y);
|
||||||
cairo_scale (cr, geometry.widget_to_layout.scale, geometry.widget_to_layout.scale);
|
cairo_scale (cr, geometry.widget_to_layout.scale_x, geometry.widget_to_layout.scale_y);
|
||||||
|
|
||||||
squeek_draw_layout_base_view(keyboard->layout, self, cr);
|
squeek_draw_layout_base_view(keyboard->layout, self, cr);
|
||||||
squeek_layout_draw_all_changed(keyboard->layout, self, cr, submission);
|
squeek_layout_draw_all_changed(keyboard->layout, self, cr, submission);
|
||||||
@ -316,7 +316,7 @@ renderer_init (EekRenderer *self)
|
|||||||
}
|
}
|
||||||
|
|
||||||
EekRenderer *
|
EekRenderer *
|
||||||
eek_renderer_new (LevelKeyboard *keyboard,
|
eek_renderer_new (Layout *keyboard,
|
||||||
PangoContext *pcontext)
|
PangoContext *pcontext)
|
||||||
{
|
{
|
||||||
EekRenderer *renderer = calloc(1, sizeof(EekRenderer));
|
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) {
|
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, "wide");
|
||||||
}
|
}
|
||||||
|
gtk_style_context_add_class(renderer->view_context, (char*)&keyboard->style_name);
|
||||||
gtk_style_context_add_provider (renderer->view_context,
|
gtk_style_context_add_provider (renderer->view_context,
|
||||||
GTK_STYLE_PROVIDER(renderer->css_provider),
|
GTK_STYLE_PROVIDER(renderer->css_provider),
|
||||||
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
|
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
|
||||||
|
|||||||
@ -58,7 +58,7 @@ struct render_geometry {
|
|||||||
};
|
};
|
||||||
|
|
||||||
GType eek_renderer_get_type (void) G_GNUC_CONST;
|
GType eek_renderer_get_type (void) G_GNUC_CONST;
|
||||||
EekRenderer *eek_renderer_new (LevelKeyboard *keyboard,
|
EekRenderer *eek_renderer_new (Layout *keyboard,
|
||||||
PangoContext *pcontext);
|
PangoContext *pcontext);
|
||||||
void eek_renderer_set_scale_factor (EekRenderer *renderer,
|
void eek_renderer_set_scale_factor (EekRenderer *renderer,
|
||||||
gint scale);
|
gint scale);
|
||||||
@ -68,7 +68,7 @@ cairo_surface_t *eek_renderer_get_icon_surface(const gchar *icon_name,
|
|||||||
gint scale);
|
gint scale);
|
||||||
|
|
||||||
void eek_renderer_render_keyboard (EekRenderer *renderer, struct render_geometry geometry, struct submission *submission,
|
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
|
void
|
||||||
eek_renderer_free (EekRenderer *self);
|
eek_renderer_free (EekRenderer *self);
|
||||||
|
|
||||||
|
|||||||
@ -39,7 +39,7 @@ typedef struct _EekBounds EekBounds;
|
|||||||
|
|
||||||
typedef struct _EekboardContextService EekboardContextService;
|
typedef struct _EekboardContextService EekboardContextService;
|
||||||
typedef struct _ServerContextService ServerContextService;
|
typedef struct _ServerContextService ServerContextService;
|
||||||
typedef struct _LevelKeyboard LevelKeyboard;
|
typedef struct _Layout Layout;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* EekPoint:
|
* EekPoint:
|
||||||
@ -87,7 +87,8 @@ void eek_bounds_free (EekBounds *bounds);
|
|||||||
struct transformation {
|
struct transformation {
|
||||||
gdouble origin_x;
|
gdouble origin_x;
|
||||||
gdouble origin_y;
|
gdouble origin_y;
|
||||||
gdouble scale;
|
gdouble scale_x;
|
||||||
|
gdouble scale_y;
|
||||||
};
|
};
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|||||||
@ -1,11 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 Purism SPC
|
* Copyright (C) 2018-2023 Purism SPC
|
||||||
* SPDX-License-Identifier: GPL-3.0+
|
*
|
||||||
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
*
|
||||||
* Author: Guido Günther <agx@sigxcpu.org>
|
* Author: Guido Günther <agx@sigxcpu.org>
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
|
|
||||||
WARNING: this file is taken directly from phosh, with no modificaions apart from this message. Please update phosh instead of changing this file. Please copy the file back here afterwards, with the same notice.
|
WARNING: this file is taken directly from phosh, with no modificaions apart
|
||||||
|
from this message. Please update phosh instead of changing this file. Please
|
||||||
|
copy the file back here afterwards, with an updated version of this notice.
|
||||||
|
|
||||||
|
Up-to-date with Phosh revision 953894a2.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -16,6 +22,16 @@ WARNING: this file is taken directly from phosh, with no modificaions apart from
|
|||||||
|
|
||||||
#include <gdk/gdkwayland.h>
|
#include <gdk/gdkwayland.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PhoshLayerSurface:
|
||||||
|
*
|
||||||
|
* A #GtkWindow rendered as a LayerSurface by the compositor
|
||||||
|
*
|
||||||
|
* #PhoshLayerSurface allows to use a Wayland surface backed by the
|
||||||
|
* layer-shell protocol as #GtkWindow. This allows to render e.g. panels and
|
||||||
|
* backgrounds using GTK.
|
||||||
|
*/
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
PHOSH_LAYER_SURFACE_PROP_0,
|
PHOSH_LAYER_SURFACE_PROP_0,
|
||||||
PHOSH_LAYER_SURFACE_PROP_LAYER_SHELL,
|
PHOSH_LAYER_SURFACE_PROP_LAYER_SHELL,
|
||||||
@ -43,7 +59,6 @@ enum {
|
|||||||
};
|
};
|
||||||
static guint signals [N_SIGNALS];
|
static guint signals [N_SIGNALS];
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
struct wl_surface *wl_surface;
|
struct wl_surface *wl_surface;
|
||||||
struct zwlr_layer_surface_v1 *layer_surface;
|
struct zwlr_layer_surface_v1 *layer_surface;
|
||||||
@ -52,19 +67,21 @@ typedef struct {
|
|||||||
guint anchor;
|
guint anchor;
|
||||||
guint layer;
|
guint layer;
|
||||||
gboolean kbd_interactivity;
|
gboolean kbd_interactivity;
|
||||||
gint exclusive_zone;
|
int exclusive_zone;
|
||||||
gint margin_top, margin_bottom;
|
int margin_top, margin_bottom;
|
||||||
gint margin_left, margin_right;
|
int margin_left, margin_right;
|
||||||
gint width, height;
|
int width, height;
|
||||||
gint configured_width, configured_height;
|
int configured_width, configured_height;
|
||||||
gchar *namespace;
|
char *namespace;
|
||||||
struct zwlr_layer_shell_v1 *layer_shell;
|
struct zwlr_layer_shell_v1 *layer_shell;
|
||||||
struct wl_output *wl_output;
|
struct wl_output *wl_output;
|
||||||
} PhoshLayerSurfacePrivate;
|
} PhoshLayerSurfacePrivate;
|
||||||
|
|
||||||
G_DEFINE_TYPE_WITH_PRIVATE (PhoshLayerSurface, phosh_layer_surface, GTK_TYPE_WINDOW)
|
G_DEFINE_TYPE_WITH_PRIVATE (PhoshLayerSurface, phosh_layer_surface, GTK_TYPE_WINDOW)
|
||||||
|
|
||||||
static void layer_surface_configure(void *data,
|
|
||||||
|
static void
|
||||||
|
layer_surface_configure (void *data,
|
||||||
struct zwlr_layer_surface_v1 *surface,
|
struct zwlr_layer_surface_v1 *surface,
|
||||||
uint32_t serial,
|
uint32_t serial,
|
||||||
uint32_t width,
|
uint32_t width,
|
||||||
@ -72,44 +89,53 @@ static void layer_surface_configure(void *data,
|
|||||||
{
|
{
|
||||||
PhoshLayerSurface *self = data;
|
PhoshLayerSurface *self = data;
|
||||||
PhoshLayerSurfacePrivate *priv;
|
PhoshLayerSurfacePrivate *priv;
|
||||||
|
gboolean changed = FALSE;
|
||||||
|
|
||||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||||
priv = phosh_layer_surface_get_instance_private (self);
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
gtk_window_resize (GTK_WINDOW (self), width, height);
|
gtk_window_resize (GTK_WINDOW (self), width, height);
|
||||||
zwlr_layer_surface_v1_ack_configure(surface, serial);
|
zwlr_layer_surface_v1_ack_configure (surface, serial);
|
||||||
|
|
||||||
if (priv->configured_height != height) {
|
if (priv->configured_height != height) {
|
||||||
priv->configured_height = height;
|
priv->configured_height = height;
|
||||||
|
changed = TRUE;
|
||||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_CONFIGURED_HEIGHT]);
|
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_CONFIGURED_HEIGHT]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (priv->configured_width != width) {
|
if (priv->configured_width != width) {
|
||||||
priv->configured_width = width;
|
priv->configured_width = width;
|
||||||
|
changed = TRUE;
|
||||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_CONFIGURED_WIDTH]);
|
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_CONFIGURED_WIDTH]);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_debug("Configured %p", self);
|
g_debug ("Configured %s (%p) (%dx%d)", priv->namespace, self, width, height);
|
||||||
|
if (changed) {
|
||||||
g_signal_emit (self, signals[CONFIGURED], 0);
|
g_signal_emit (self, signals[CONFIGURED], 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void layer_surface_closed (void *data,
|
static void
|
||||||
|
layer_surface_closed (void *data,
|
||||||
struct zwlr_layer_surface_v1 *surface)
|
struct zwlr_layer_surface_v1 *surface)
|
||||||
{
|
{
|
||||||
PhoshLayerSurface *self = data;
|
PhoshLayerSurface *self = data;
|
||||||
PhoshLayerSurfacePrivate *priv = phosh_layer_surface_get_instance_private (self);
|
PhoshLayerSurfacePrivate *priv = phosh_layer_surface_get_instance_private (self);
|
||||||
|
|
||||||
g_return_if_fail (priv->layer_surface == surface);
|
g_return_if_fail (priv->layer_surface == surface);
|
||||||
zwlr_layer_surface_v1_destroy(priv->layer_surface);
|
g_debug ("Destroying layer surface '%s'", priv->namespace);
|
||||||
|
zwlr_layer_surface_v1_destroy (priv->layer_surface);
|
||||||
priv->layer_surface = NULL;
|
priv->layer_surface = NULL;
|
||||||
gtk_widget_destroy (GTK_WIDGET (self));
|
gtk_widget_destroy (GTK_WIDGET (self));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static struct zwlr_layer_surface_v1_listener layer_surface_listener = {
|
static struct zwlr_layer_surface_v1_listener layer_surface_listener = {
|
||||||
.configure = layer_surface_configure,
|
.configure = layer_surface_configure,
|
||||||
.closed = layer_surface_closed,
|
.closed = layer_surface_closed,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
phosh_layer_surface_set_property (GObject *object,
|
phosh_layer_surface_set_property (GObject *object,
|
||||||
guint property_id,
|
guint property_id,
|
||||||
@ -118,7 +144,7 @@ phosh_layer_surface_set_property (GObject *object,
|
|||||||
{
|
{
|
||||||
PhoshLayerSurface *self = PHOSH_LAYER_SURFACE (object);
|
PhoshLayerSurface *self = PHOSH_LAYER_SURFACE (object);
|
||||||
PhoshLayerSurfacePrivate *priv = phosh_layer_surface_get_instance_private (self);
|
PhoshLayerSurfacePrivate *priv = phosh_layer_surface_get_instance_private (self);
|
||||||
gint width, height;
|
int width, height;
|
||||||
|
|
||||||
switch (property_id) {
|
switch (property_id) {
|
||||||
case PHOSH_LAYER_SURFACE_PROP_LAYER_SHELL:
|
case PHOSH_LAYER_SURFACE_PROP_LAYER_SHELL:
|
||||||
@ -131,7 +157,7 @@ phosh_layer_surface_set_property (GObject *object,
|
|||||||
priv->anchor = g_value_get_uint (value);
|
priv->anchor = g_value_get_uint (value);
|
||||||
break;
|
break;
|
||||||
case PHOSH_LAYER_SURFACE_PROP_LAYER:
|
case PHOSH_LAYER_SURFACE_PROP_LAYER:
|
||||||
priv->layer = g_value_get_uint (value);
|
phosh_layer_surface_set_layer (self, g_value_get_uint (value));
|
||||||
break;
|
break;
|
||||||
case PHOSH_LAYER_SURFACE_PROP_KBD_INTERACTIVITY:
|
case PHOSH_LAYER_SURFACE_PROP_KBD_INTERACTIVITY:
|
||||||
phosh_layer_surface_set_kbd_interactivity (self, g_value_get_boolean (value));
|
phosh_layer_surface_set_kbd_interactivity (self, g_value_get_boolean (value));
|
||||||
@ -169,11 +195,11 @@ phosh_layer_surface_set_property (GObject *object,
|
|||||||
break;
|
break;
|
||||||
case PHOSH_LAYER_SURFACE_PROP_LAYER_WIDTH:
|
case PHOSH_LAYER_SURFACE_PROP_LAYER_WIDTH:
|
||||||
width = g_value_get_uint (value);
|
width = g_value_get_uint (value);
|
||||||
phosh_layer_surface_set_size(self, width, priv->height);
|
phosh_layer_surface_set_size (self, width, priv->height);
|
||||||
break;
|
break;
|
||||||
case PHOSH_LAYER_SURFACE_PROP_LAYER_HEIGHT:
|
case PHOSH_LAYER_SURFACE_PROP_LAYER_HEIGHT:
|
||||||
height = g_value_get_uint (value);
|
height = g_value_get_uint (value);
|
||||||
phosh_layer_surface_set_size(self, priv->width, height);
|
phosh_layer_surface_set_size (self, priv->width, height);
|
||||||
break;
|
break;
|
||||||
case PHOSH_LAYER_SURFACE_PROP_NAMESPACE:
|
case PHOSH_LAYER_SURFACE_PROP_NAMESPACE:
|
||||||
g_free (priv->namespace);
|
g_free (priv->namespace);
|
||||||
@ -249,15 +275,17 @@ phosh_layer_surface_get_property (GObject *object,
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
on_phosh_layer_surface_realized (PhoshLayerSurface *self, gpointer unused)
|
phosh_layer_surface_realize (GtkWidget *widget)
|
||||||
{
|
{
|
||||||
|
PhoshLayerSurface *self = PHOSH_LAYER_SURFACE (widget);
|
||||||
PhoshLayerSurfacePrivate *priv;
|
PhoshLayerSurfacePrivate *priv;
|
||||||
GdkWindow *gdk_window;
|
GdkWindow *gdk_window;
|
||||||
|
|
||||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||||
|
|
||||||
priv = phosh_layer_surface_get_instance_private (self);
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
|
|
||||||
|
GTK_WIDGET_CLASS (phosh_layer_surface_parent_class)->realize (widget);
|
||||||
|
|
||||||
gdk_window = gtk_widget_get_window (GTK_WIDGET (self));
|
gdk_window = gtk_widget_get_window (GTK_WIDGET (self));
|
||||||
gdk_wayland_window_set_use_custom_surface (gdk_window);
|
gdk_wayland_window_set_use_custom_surface (gdk_window);
|
||||||
priv->wl_surface = gdk_wayland_window_get_wl_surface (gdk_window);
|
priv->wl_surface = gdk_wayland_window_get_wl_surface (gdk_window);
|
||||||
@ -267,76 +295,63 @@ on_phosh_layer_surface_realized (PhoshLayerSurface *self, gpointer unused)
|
|||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
on_phosh_layer_surface_mapped (PhoshLayerSurface *self, gpointer unused)
|
phosh_layer_surface_map (GtkWidget *widget)
|
||||||
{
|
{
|
||||||
|
PhoshLayerSurface *self = PHOSH_LAYER_SURFACE (widget);
|
||||||
PhoshLayerSurfacePrivate *priv;
|
PhoshLayerSurfacePrivate *priv;
|
||||||
GdkWindow *gdk_window;
|
|
||||||
|
|
||||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||||
priv = phosh_layer_surface_get_instance_private (self);
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
|
|
||||||
|
GTK_WIDGET_CLASS (phosh_layer_surface_parent_class)->map (widget);
|
||||||
|
|
||||||
if (!priv->wl_surface) {
|
if (!priv->wl_surface) {
|
||||||
|
GdkWindow *gdk_window;
|
||||||
|
|
||||||
gdk_window = gtk_widget_get_window (GTK_WIDGET (self));
|
gdk_window = gtk_widget_get_window (GTK_WIDGET (self));
|
||||||
gdk_wayland_window_set_use_custom_surface (gdk_window);
|
gdk_wayland_window_set_use_custom_surface (gdk_window);
|
||||||
priv->wl_surface = gdk_wayland_window_get_wl_surface (gdk_window);
|
priv->wl_surface = gdk_wayland_window_get_wl_surface (gdk_window);
|
||||||
}
|
}
|
||||||
g_debug ("Mapped %p", priv->wl_surface);
|
g_debug ("Mapped %p, namespace: %s", priv->wl_surface, priv->namespace);
|
||||||
|
|
||||||
priv->layer_surface = zwlr_layer_shell_v1_get_layer_surface(priv->layer_shell,
|
priv->layer_surface = zwlr_layer_shell_v1_get_layer_surface (priv->layer_shell,
|
||||||
priv->wl_surface,
|
priv->wl_surface,
|
||||||
priv->wl_output,
|
priv->wl_output,
|
||||||
priv->layer,
|
priv->layer,
|
||||||
priv->namespace);
|
priv->namespace);
|
||||||
zwlr_layer_surface_v1_set_exclusive_zone(priv->layer_surface, priv->exclusive_zone);
|
zwlr_layer_surface_v1_set_exclusive_zone (priv->layer_surface, priv->exclusive_zone);
|
||||||
zwlr_layer_surface_v1_set_size(priv->layer_surface, priv->width, priv->height);
|
zwlr_layer_surface_v1_set_size (priv->layer_surface, priv->width, priv->height);
|
||||||
zwlr_layer_surface_v1_set_anchor(priv->layer_surface, priv->anchor);
|
zwlr_layer_surface_v1_set_anchor (priv->layer_surface, priv->anchor);
|
||||||
zwlr_layer_surface_v1_set_margin(priv->layer_surface,
|
zwlr_layer_surface_v1_set_margin (priv->layer_surface,
|
||||||
priv->margin_top,
|
priv->margin_top,
|
||||||
priv->margin_right,
|
priv->margin_right,
|
||||||
priv->margin_bottom,
|
priv->margin_bottom,
|
||||||
priv->margin_left);
|
priv->margin_left);
|
||||||
zwlr_layer_surface_v1_set_keyboard_interactivity(priv->layer_surface, priv->kbd_interactivity);
|
zwlr_layer_surface_v1_set_keyboard_interactivity (priv->layer_surface, priv->kbd_interactivity);
|
||||||
zwlr_layer_surface_v1_add_listener(priv->layer_surface,
|
zwlr_layer_surface_v1_add_listener (priv->layer_surface,
|
||||||
&layer_surface_listener,
|
&layer_surface_listener,
|
||||||
self);
|
self);
|
||||||
wl_surface_commit(priv->wl_surface);
|
wl_surface_commit (priv->wl_surface);
|
||||||
|
|
||||||
/* Process all pending events, otherwise we end up sending ack configure
|
/* Process all pending events, otherwise we end up sending ack configure
|
||||||
* to a not yet configured surface */
|
* to a not yet configured surface */
|
||||||
wl_display_roundtrip (gdk_wayland_display_get_wl_display (gdk_display_get_default ()));
|
wl_display_roundtrip (gdk_wayland_display_get_wl_display (gdk_display_get_default ()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
on_phosh_layer_surface_unmapped (PhoshLayerSurface *self, gpointer unused)
|
phosh_layer_surface_unmap (GtkWidget *widget)
|
||||||
{
|
{
|
||||||
|
PhoshLayerSurface *self = PHOSH_LAYER_SURFACE (widget);
|
||||||
PhoshLayerSurfacePrivate *priv;
|
PhoshLayerSurfacePrivate *priv;
|
||||||
|
|
||||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||||
|
|
||||||
priv = phosh_layer_surface_get_instance_private (self);
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
if (priv->layer_surface) {
|
|
||||||
zwlr_layer_surface_v1_destroy(priv->layer_surface);
|
g_clear_pointer (&priv->layer_surface, zwlr_layer_surface_v1_destroy);
|
||||||
priv->layer_surface = NULL;
|
|
||||||
}
|
|
||||||
priv->wl_surface = NULL;
|
priv->wl_surface = NULL;
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
GTK_WIDGET_CLASS (phosh_layer_surface_parent_class)->unmap (widget);
|
||||||
phosh_layer_surface_constructed (GObject *object)
|
|
||||||
{
|
|
||||||
PhoshLayerSurface *self = PHOSH_LAYER_SURFACE (object);
|
|
||||||
|
|
||||||
g_signal_connect (self, "realize",
|
|
||||||
G_CALLBACK (on_phosh_layer_surface_realized),
|
|
||||||
NULL);
|
|
||||||
g_signal_connect (self, "map",
|
|
||||||
G_CALLBACK (on_phosh_layer_surface_mapped),
|
|
||||||
NULL);
|
|
||||||
g_signal_connect (self, "unmap",
|
|
||||||
G_CALLBACK (on_phosh_layer_surface_unmapped),
|
|
||||||
NULL);
|
|
||||||
|
|
||||||
G_OBJECT_CLASS (phosh_layer_surface_parent_class)->constructed (object);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -346,10 +361,7 @@ phosh_layer_surface_dispose (GObject *object)
|
|||||||
PhoshLayerSurface *self = PHOSH_LAYER_SURFACE (object);
|
PhoshLayerSurface *self = PHOSH_LAYER_SURFACE (object);
|
||||||
PhoshLayerSurfacePrivate *priv = phosh_layer_surface_get_instance_private (self);
|
PhoshLayerSurfacePrivate *priv = phosh_layer_surface_get_instance_private (self);
|
||||||
|
|
||||||
if (priv->layer_surface) {
|
g_clear_pointer (&priv->layer_surface, zwlr_layer_surface_v1_destroy);
|
||||||
zwlr_layer_surface_v1_destroy(priv->layer_surface);
|
|
||||||
priv->layer_surface = NULL;
|
|
||||||
}
|
|
||||||
g_clear_pointer (&priv->namespace, g_free);
|
g_clear_pointer (&priv->namespace, g_free);
|
||||||
|
|
||||||
G_OBJECT_CLASS (phosh_layer_surface_parent_class)->dispose (object);
|
G_OBJECT_CLASS (phosh_layer_surface_parent_class)->dispose (object);
|
||||||
@ -360,26 +372,29 @@ static void
|
|||||||
phosh_layer_surface_class_init (PhoshLayerSurfaceClass *klass)
|
phosh_layer_surface_class_init (PhoshLayerSurfaceClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class = (GObjectClass *)klass;
|
GObjectClass *object_class = (GObjectClass *)klass;
|
||||||
|
GtkWidgetClass *widget_class = (GtkWidgetClass *)klass;
|
||||||
|
|
||||||
object_class->constructed = phosh_layer_surface_constructed;
|
|
||||||
object_class->dispose = phosh_layer_surface_dispose;
|
object_class->dispose = phosh_layer_surface_dispose;
|
||||||
|
|
||||||
object_class->set_property = phosh_layer_surface_set_property;
|
object_class->set_property = phosh_layer_surface_set_property;
|
||||||
object_class->get_property = phosh_layer_surface_get_property;
|
object_class->get_property = phosh_layer_surface_get_property;
|
||||||
|
|
||||||
|
widget_class->realize = phosh_layer_surface_realize;
|
||||||
|
widget_class->map = phosh_layer_surface_map;
|
||||||
|
widget_class->unmap = phosh_layer_surface_unmap;
|
||||||
|
|
||||||
props[PHOSH_LAYER_SURFACE_PROP_LAYER_SHELL] =
|
props[PHOSH_LAYER_SURFACE_PROP_LAYER_SHELL] =
|
||||||
g_param_spec_pointer (
|
g_param_spec_pointer (
|
||||||
"layer-shell",
|
"layer-shell",
|
||||||
"Wayland Layer Shell Global",
|
"Wayland Layer Shell Global",
|
||||||
"The layer shell wayland global",
|
"The layer shell wayland global",
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
props[PHOSH_LAYER_SURFACE_PROP_WL_OUTPUT] =
|
props[PHOSH_LAYER_SURFACE_PROP_WL_OUTPUT] =
|
||||||
g_param_spec_pointer (
|
g_param_spec_pointer (
|
||||||
"wl-output",
|
"wl-output",
|
||||||
"Wayland Output",
|
"Wayland Output",
|
||||||
"The wl_output associated with this surface",
|
"The wl_output associated with this surface",
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
props[PHOSH_LAYER_SURFACE_PROP_ANCHOR] =
|
props[PHOSH_LAYER_SURFACE_PROP_ANCHOR] =
|
||||||
g_param_spec_uint (
|
g_param_spec_uint (
|
||||||
@ -389,7 +404,7 @@ phosh_layer_surface_class_init (PhoshLayerSurfaceClass *klass)
|
|||||||
0,
|
0,
|
||||||
G_MAXUINT,
|
G_MAXUINT,
|
||||||
0,
|
0,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
props[PHOSH_LAYER_SURFACE_PROP_LAYER] =
|
props[PHOSH_LAYER_SURFACE_PROP_LAYER] =
|
||||||
g_param_spec_uint (
|
g_param_spec_uint (
|
||||||
@ -399,7 +414,7 @@ phosh_layer_surface_class_init (PhoshLayerSurfaceClass *klass)
|
|||||||
0,
|
0,
|
||||||
G_MAXUINT,
|
G_MAXUINT,
|
||||||
0,
|
0,
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||||
|
|
||||||
props[PHOSH_LAYER_SURFACE_PROP_KBD_INTERACTIVITY] =
|
props[PHOSH_LAYER_SURFACE_PROP_KBD_INTERACTIVITY] =
|
||||||
g_param_spec_boolean (
|
g_param_spec_boolean (
|
||||||
@ -506,13 +521,13 @@ phosh_layer_surface_class_init (PhoshLayerSurfaceClass *klass)
|
|||||||
"Namespace",
|
"Namespace",
|
||||||
"Namespace of the layer surface",
|
"Namespace of the layer surface",
|
||||||
"",
|
"",
|
||||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
|
||||||
|
|
||||||
g_object_class_install_properties (object_class, PHOSH_LAYER_SURFACE_PROP_LAST_PROP, props);
|
g_object_class_install_properties (object_class, PHOSH_LAYER_SURFACE_PROP_LAST_PROP, props);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PhoshLayersurface::configured
|
* PhoshLayerSurface::configured
|
||||||
* @self: The #PhoshLayersurface instance.
|
* @self: The #PhoshLayerSurface instance.
|
||||||
*
|
*
|
||||||
* This signal is emitted once we received the configure event from the
|
* This signal is emitted once we received the configure event from the
|
||||||
* compositor.
|
* compositor.
|
||||||
@ -539,17 +554,20 @@ phosh_layer_surface_new (gpointer layer_shell,
|
|||||||
{
|
{
|
||||||
return g_object_new (PHOSH_TYPE_LAYER_SURFACE,
|
return g_object_new (PHOSH_TYPE_LAYER_SURFACE,
|
||||||
"layer-shell", layer_shell,
|
"layer-shell", layer_shell,
|
||||||
"wl-output", wl_output);
|
"wl-output", wl_output,
|
||||||
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* phosh_layer_surface_get_surface:
|
* phosh_layer_surface_get_surface:
|
||||||
|
* @self: The #PhoshLayerSurface
|
||||||
*
|
*
|
||||||
* Get the layer layer surface or #NULL if the window
|
* Get the layer layer surface or #NULL if the window
|
||||||
* is not yet realized.
|
* is not yet realized.
|
||||||
*/
|
*/
|
||||||
struct zwlr_layer_surface_v1 *
|
struct zwlr_layer_surface_v1 *
|
||||||
phosh_layer_surface_get_layer_surface(PhoshLayerSurface *self)
|
phosh_layer_surface_get_layer_surface (PhoshLayerSurface *self)
|
||||||
{
|
{
|
||||||
PhoshLayerSurfacePrivate *priv;
|
PhoshLayerSurfacePrivate *priv;
|
||||||
|
|
||||||
@ -561,12 +579,13 @@ phosh_layer_surface_get_layer_surface(PhoshLayerSurface *self)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* phosh_layer_surface_get_wl_surface:
|
* phosh_layer_surface_get_wl_surface:
|
||||||
|
* @self: The #PhoshLayerSurface
|
||||||
*
|
*
|
||||||
* Get the layer wayland surface or #NULL if the window
|
* Get the layer wayland surface or #NULL if the window
|
||||||
* is not yet realized.
|
* is not yet realized.
|
||||||
*/
|
*/
|
||||||
struct wl_surface *
|
struct wl_surface *
|
||||||
phosh_layer_surface_get_wl_surface(PhoshLayerSurface *self)
|
phosh_layer_surface_get_wl_surface (PhoshLayerSurface *self)
|
||||||
{
|
{
|
||||||
PhoshLayerSurfacePrivate *priv;
|
PhoshLayerSurfacePrivate *priv;
|
||||||
|
|
||||||
@ -575,16 +594,20 @@ phosh_layer_surface_get_wl_surface(PhoshLayerSurface *self)
|
|||||||
return priv->wl_surface;
|
return priv->wl_surface;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* phosh_layer_surface_set_size:
|
* phosh_layer_surface_set_size:
|
||||||
|
* @self: The #PhoshLayerSurface
|
||||||
|
* @width: the height in pixels
|
||||||
|
* @height: the width in pixels
|
||||||
*
|
*
|
||||||
* Set the size of a layer surface. A value of '-1' indicates 'use old value'
|
* Set the size of a layer surface. A value of '-1' indicates 'use old value'
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
phosh_layer_surface_set_size(PhoshLayerSurface *self, gint width, gint height)
|
phosh_layer_surface_set_size (PhoshLayerSurface *self, int width, int height)
|
||||||
{
|
{
|
||||||
PhoshLayerSurfacePrivate *priv;
|
PhoshLayerSurfacePrivate *priv;
|
||||||
gint old_width, old_height;
|
int old_width, old_height;
|
||||||
|
|
||||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||||
priv = phosh_layer_surface_get_instance_private (self);
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
@ -605,7 +628,7 @@ phosh_layer_surface_set_size(PhoshLayerSurface *self, gint width, gint height)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (gtk_widget_get_mapped (GTK_WIDGET (self))) {
|
if (gtk_widget_get_mapped (GTK_WIDGET (self))) {
|
||||||
zwlr_layer_surface_v1_set_size(priv->layer_surface, priv->width, priv->height);
|
zwlr_layer_surface_v1_set_size (priv->layer_surface, priv->width, priv->height);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (priv->height != old_height) {
|
if (priv->height != old_height) {
|
||||||
@ -617,16 +640,22 @@ phosh_layer_surface_set_size(PhoshLayerSurface *self, gint width, gint height)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* phosh_layer_surface_set_margins:
|
* phosh_layer_surface_set_margins:
|
||||||
|
* @self: The #PhoshLayerSurface
|
||||||
|
* @top: the top margin in pixels
|
||||||
|
* @right: the right margin in pixels
|
||||||
|
* @bottom: the bottom margin in pixels
|
||||||
|
* @left: the left margin in pixels
|
||||||
*
|
*
|
||||||
* Set anchor margins of a layer surface.
|
* Set anchor margins of a layer surface.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
phosh_layer_surface_set_margins(PhoshLayerSurface *self, gint top, gint right, gint bottom, gint left)
|
phosh_layer_surface_set_margins (PhoshLayerSurface *self, int top, int right, int bottom, int left)
|
||||||
{
|
{
|
||||||
PhoshLayerSurfacePrivate *priv;
|
PhoshLayerSurfacePrivate *priv;
|
||||||
gint old_top, old_bottom, old_left, old_right;
|
int old_top, old_bottom, old_left, old_right;
|
||||||
|
|
||||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||||
priv = phosh_layer_surface_get_instance_private (self);
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
@ -646,7 +675,7 @@ phosh_layer_surface_set_margins(PhoshLayerSurface *self, gint top, gint right, g
|
|||||||
priv->margin_bottom = bottom;
|
priv->margin_bottom = bottom;
|
||||||
|
|
||||||
if (priv->layer_surface) {
|
if (priv->layer_surface) {
|
||||||
zwlr_layer_surface_v1_set_margin(priv->layer_surface, top, right, bottom, left);
|
zwlr_layer_surface_v1_set_margin (priv->layer_surface, top, right, bottom, left);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (old_top != top) {
|
if (old_top != top) {
|
||||||
@ -663,16 +692,19 @@ phosh_layer_surface_set_margins(PhoshLayerSurface *self, gint top, gint right, g
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* phosh_layer_surface_set_exclusive_zone:
|
* phosh_layer_surface_set_exclusive_zone:
|
||||||
|
* @self: The #PhoshLayerSurface
|
||||||
|
* @zone: Size of the exclusive zone.
|
||||||
*
|
*
|
||||||
* Set exclusive zone of a layer surface.
|
* Set exclusive zone of a layer surface.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
phosh_layer_surface_set_exclusive_zone(PhoshLayerSurface *self, gint zone)
|
phosh_layer_surface_set_exclusive_zone (PhoshLayerSurface *self, int zone)
|
||||||
{
|
{
|
||||||
PhoshLayerSurfacePrivate *priv;
|
PhoshLayerSurfacePrivate *priv;
|
||||||
gint old_zone;
|
int old_zone;
|
||||||
|
|
||||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||||
priv = phosh_layer_surface_get_instance_private (self);
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
@ -686,14 +718,17 @@ phosh_layer_surface_set_exclusive_zone(PhoshLayerSurface *self, gint zone)
|
|||||||
priv->exclusive_zone = zone;
|
priv->exclusive_zone = zone;
|
||||||
|
|
||||||
if (priv->layer_surface) {
|
if (priv->layer_surface) {
|
||||||
zwlr_layer_surface_v1_set_exclusive_zone(priv->layer_surface, zone);
|
zwlr_layer_surface_v1_set_exclusive_zone (priv->layer_surface, zone);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_EXCLUSIVE_ZONE]);
|
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_EXCLUSIVE_ZONE]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* phosh_layer_surface_set_keyboard_interactivity:
|
* phosh_layer_surface_set_keyboard_interactivity:
|
||||||
|
* @self: The #PhoshLayerSurface
|
||||||
|
* @interactivity: %TRUE if the #PhoshLayerSurface should receive keyboard input.
|
||||||
*
|
*
|
||||||
* Set keyboard ineractivity a layer surface.
|
* Set keyboard ineractivity a layer surface.
|
||||||
*/
|
*/
|
||||||
@ -708,6 +743,7 @@ phosh_layer_surface_set_kbd_interactivity (PhoshLayerSurface *self, gboolean int
|
|||||||
if (priv->kbd_interactivity == interactivity) {
|
if (priv->kbd_interactivity == interactivity) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
priv->kbd_interactivity = interactivity;
|
priv->kbd_interactivity = interactivity;
|
||||||
|
|
||||||
if (priv->layer_surface) {
|
if (priv->layer_surface) {
|
||||||
@ -717,8 +753,39 @@ phosh_layer_surface_set_kbd_interactivity (PhoshLayerSurface *self, gboolean int
|
|||||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_KBD_INTERACTIVITY]);
|
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_KBD_INTERACTIVITY]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* phosh_layer_surface_set_layer:
|
||||||
|
* @self: The #PhoshLayerSurface
|
||||||
|
* @layer: The layer.
|
||||||
|
*
|
||||||
|
* Sets the layer a layer-surface belongs to `layer`.
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
phosh_layer_surface_set_layer (PhoshLayerSurface *self, guint32 layer)
|
||||||
|
{
|
||||||
|
PhoshLayerSurfacePrivate *priv;
|
||||||
|
|
||||||
|
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||||
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
|
|
||||||
|
if (priv->layer == layer) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
priv->layer = layer;
|
||||||
|
|
||||||
|
if (priv->layer_surface) {
|
||||||
|
zwlr_layer_surface_v1_set_layer (priv->layer_surface, layer);
|
||||||
|
}
|
||||||
|
|
||||||
|
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_LAYER]);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* phosh_layer_surface_wl_surface_commit:
|
* phosh_layer_surface_wl_surface_commit:
|
||||||
|
* @self: The #PhoshLayerSurface
|
||||||
*
|
*
|
||||||
* Forces a commit of layer surface's state.
|
* Forces a commit of layer surface's state.
|
||||||
*/
|
*/
|
||||||
@ -734,3 +801,53 @@ phosh_layer_surface_wl_surface_commit (PhoshLayerSurface *self)
|
|||||||
wl_surface_commit (priv->wl_surface);
|
wl_surface_commit (priv->wl_surface);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
phosh_layer_surface_get_margins (PhoshLayerSurface *self, int *top, int *right, int *bottom, int *left)
|
||||||
|
{
|
||||||
|
PhoshLayerSurfacePrivate *priv;
|
||||||
|
|
||||||
|
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||||
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
|
|
||||||
|
if (top) {
|
||||||
|
*top = priv->margin_top;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (right) {
|
||||||
|
*right = priv->margin_right;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (bottom) {
|
||||||
|
*bottom = priv->margin_bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (left) {
|
||||||
|
*left = priv->margin_left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
phosh_layer_surface_get_configured_width (PhoshLayerSurface *self)
|
||||||
|
{
|
||||||
|
PhoshLayerSurfacePrivate *priv;
|
||||||
|
|
||||||
|
g_return_val_if_fail (PHOSH_IS_LAYER_SURFACE (self), 0);
|
||||||
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
|
|
||||||
|
return priv->configured_width;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
phosh_layer_surface_get_configured_height (PhoshLayerSurface *self)
|
||||||
|
{
|
||||||
|
PhoshLayerSurfacePrivate *priv;
|
||||||
|
|
||||||
|
g_return_val_if_fail (PHOSH_IS_LAYER_SURFACE (self), 0);
|
||||||
|
priv = phosh_layer_surface_get_instance_private (self);
|
||||||
|
|
||||||
|
return priv->configured_height;
|
||||||
|
}
|
||||||
|
|||||||
@ -1,22 +1,17 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2018 Purism SPC
|
* Copyright (C) 2018 Purism SPC
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: GPL-3.0+
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
WARNING: this file is taken directly from phosh, with no modificaions apart from this message. Please update phosh instead of changing this file. Please copy the file back here afterwards, with the same notice.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
/* TODO: We use the enum constants from here, use glib-mkenums */
|
/* TODO: We use the enum constants from here, use glib-mkenums */
|
||||||
#include "wlr-layer-shell-unstable-v1-client-protocol.h"
|
#include "wlr-layer-shell-unstable-v1-client-protocol.h"
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define PHOSH_TYPE_LAYER_SURFACE (phosh_layer_surface_get_type ())
|
#define PHOSH_TYPE_LAYER_SURFACE (phosh_layer_surface_get_type ())
|
||||||
|
|
||||||
G_DECLARE_DERIVABLE_TYPE (PhoshLayerSurface, phosh_layer_surface, PHOSH, LAYER_SURFACE, GtkWindow)
|
G_DECLARE_DERIVABLE_TYPE (PhoshLayerSurface, phosh_layer_surface, PHOSH, LAYER_SURFACE, GtkWindow)
|
||||||
@ -24,6 +19,7 @@ G_DECLARE_DERIVABLE_TYPE (PhoshLayerSurface, phosh_layer_surface, PHOSH, LAYER_S
|
|||||||
/**
|
/**
|
||||||
* PhoshLayerSurfaceClass
|
* PhoshLayerSurfaceClass
|
||||||
* @parent_class: The parent class
|
* @parent_class: The parent class
|
||||||
|
* @configured: invoked when layer surface is configured
|
||||||
*/
|
*/
|
||||||
struct _PhoshLayerSurfaceClass
|
struct _PhoshLayerSurfaceClass
|
||||||
{
|
{
|
||||||
@ -39,15 +35,26 @@ GtkWidget *phosh_layer_surface_new (gpointer layer_shell,
|
|||||||
struct zwlr_layer_surface_v1 *phosh_layer_surface_get_layer_surface(PhoshLayerSurface *self);
|
struct zwlr_layer_surface_v1 *phosh_layer_surface_get_layer_surface(PhoshLayerSurface *self);
|
||||||
struct wl_surface *phosh_layer_surface_get_wl_surface(PhoshLayerSurface *self);
|
struct wl_surface *phosh_layer_surface_get_wl_surface(PhoshLayerSurface *self);
|
||||||
void phosh_layer_surface_set_size(PhoshLayerSurface *self,
|
void phosh_layer_surface_set_size(PhoshLayerSurface *self,
|
||||||
gint width,
|
int width,
|
||||||
gint height);
|
int height);
|
||||||
void phosh_layer_surface_set_margins(PhoshLayerSurface *self,
|
void phosh_layer_surface_set_margins(PhoshLayerSurface *self,
|
||||||
gint top,
|
int top,
|
||||||
gint right,
|
int right,
|
||||||
gint bottom,
|
int bottom,
|
||||||
gint left);
|
int left);
|
||||||
void phosh_layer_surface_set_exclusive_zone(PhoshLayerSurface *self,
|
void phosh_layer_surface_set_exclusive_zone(PhoshLayerSurface *self,
|
||||||
gint zone);
|
int zone);
|
||||||
void phosh_layer_surface_set_kbd_interactivity(PhoshLayerSurface *self,
|
void phosh_layer_surface_set_kbd_interactivity(PhoshLayerSurface *self,
|
||||||
gboolean interactivity);
|
gboolean interactivity);
|
||||||
|
void phosh_layer_surface_set_layer (PhoshLayerSurface *self,
|
||||||
|
guint32 layer);
|
||||||
void phosh_layer_surface_wl_surface_commit (PhoshLayerSurface *self);
|
void phosh_layer_surface_wl_surface_commit (PhoshLayerSurface *self);
|
||||||
|
void phosh_layer_surface_get_margins (PhoshLayerSurface *self,
|
||||||
|
int *top,
|
||||||
|
int *right,
|
||||||
|
int *bottom,
|
||||||
|
int *left);
|
||||||
|
int phosh_layer_surface_get_configured_width (PhoshLayerSurface *self);
|
||||||
|
int phosh_layer_surface_get_configured_height (PhoshLayerSurface *self);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
|||||||
@ -55,15 +55,15 @@ static guint signals[LAST_SIGNAL] = { 0, };
|
|||||||
*/
|
*/
|
||||||
struct _EekboardContextService {
|
struct _EekboardContextService {
|
||||||
GObject parent;
|
GObject parent;
|
||||||
struct squeek_layout_state *layout; // Unowned
|
struct squeek_state_manager *state_manager; // shared reference
|
||||||
|
|
||||||
LevelKeyboard *keyboard; // currently used keyboard
|
Layout *keyboard; // currently used keyboard
|
||||||
GSettings *settings; // Owned reference
|
GSettings *settings; // Owned reference
|
||||||
|
|
||||||
// Maybe TODO: it's used only for fetching layout type.
|
/// Needed for keymap changes after keyboard updates.
|
||||||
// Maybe let UI push the type to this structure?
|
// TODO: can the main loop access submission to change the key maps instead?
|
||||||
ServerContextService *ui; // unowned reference
|
// This should probably land together with passing buttons through state,
|
||||||
/// Needed for keymap changes after keyboard updates
|
// to avoid race conditions between setting buttons and key maps.
|
||||||
struct submission *submission; // unowned
|
struct submission *submission; // unowned
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -126,27 +126,10 @@ settings_get_layout(GSettings *settings, char **type, char **layout)
|
|||||||
g_variant_unref(inputs);
|
g_variant_unref(inputs);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void eekboard_context_service_set_layout(EekboardContextService *context, char *style_name, struct squeek_layout *layout, uint32_t timestamp) {
|
||||||
eekboard_context_service_use_layout(EekboardContextService *context, struct squeek_layout_state *state, uint32_t timestamp) {
|
Layout *keyboard = layout_new(style_name, layout);
|
||||||
gchar *layout_name = state->layout_name;
|
|
||||||
gchar *overlay_name = state->overlay_name;
|
|
||||||
|
|
||||||
// try to get the best keyboard layout
|
|
||||||
if (layout_name == NULL) {
|
|
||||||
layout_name = "us";
|
|
||||||
}
|
|
||||||
|
|
||||||
// overlay is "Normal" for most layouts, we will only look for "terminal" in rust code.
|
|
||||||
// for now just avoid passing a null pointer
|
|
||||||
if (overlay_name == NULL) {
|
|
||||||
overlay_name = ""; // fallback to Normal
|
|
||||||
}
|
|
||||||
|
|
||||||
// generic part follows
|
|
||||||
struct squeek_layout *layout = squeek_load_layout(layout_name, state->arrangement, state->purpose, overlay_name);
|
|
||||||
LevelKeyboard *keyboard = level_keyboard_new(layout);
|
|
||||||
// set as current
|
// set as current
|
||||||
LevelKeyboard *previous_keyboard = context->keyboard;
|
Layout *previous_keyboard = context->keyboard;
|
||||||
context->keyboard = keyboard;
|
context->keyboard = keyboard;
|
||||||
// Update the keymap if necessary.
|
// Update the keymap if necessary.
|
||||||
// TODO: Update submission on change event
|
// TODO: Update submission on change event
|
||||||
@ -159,7 +142,7 @@ eekboard_context_service_use_layout(EekboardContextService *context, struct sque
|
|||||||
|
|
||||||
// replacing the keyboard above will cause the previous keyboard to get destroyed from the UI side (eek_gtk_keyboard_dispose)
|
// replacing the keyboard above will cause the previous keyboard to get destroyed from the UI side (eek_gtk_keyboard_dispose)
|
||||||
if (previous_keyboard) {
|
if (previous_keyboard) {
|
||||||
level_keyboard_free(previous_keyboard);
|
layout_free(previous_keyboard);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -169,17 +152,7 @@ static void eekboard_context_service_update_settings_layout(EekboardContextServi
|
|||||||
settings_get_layout(context->settings,
|
settings_get_layout(context->settings,
|
||||||
&keyboard_type, &keyboard_layout);
|
&keyboard_type, &keyboard_layout);
|
||||||
|
|
||||||
if (g_strcmp0(context->layout->layout_name, keyboard_layout) != 0 || context->layout->overlay_name) {
|
squeek_state_send_layout_set(context->state_manager, keyboard_layout, keyboard_type, gdk_event_get_time(NULL));
|
||||||
g_free(context->layout->overlay_name);
|
|
||||||
context->layout->overlay_name = NULL;
|
|
||||||
if (keyboard_layout) {
|
|
||||||
g_free(context->layout->layout_name);
|
|
||||||
context->layout->layout_name = g_strdup(keyboard_layout);
|
|
||||||
}
|
|
||||||
// This must actually update the UI.
|
|
||||||
uint32_t time = gdk_event_get_time(NULL);
|
|
||||||
eekboard_context_service_use_layout(context, context->layout, time);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
@ -291,56 +264,24 @@ eekboard_context_service_destroy (EekboardContextService *context)
|
|||||||
* Get keyboard currently active in @context.
|
* Get keyboard currently active in @context.
|
||||||
* Returns: (transfer none): an #EekKeyboard
|
* Returns: (transfer none): an #EekKeyboard
|
||||||
*/
|
*/
|
||||||
LevelKeyboard *
|
Layout *
|
||||||
eekboard_context_service_get_keyboard (EekboardContextService *context)
|
eekboard_context_service_get_keyboard (EekboardContextService *context)
|
||||||
{
|
{
|
||||||
return context->keyboard;
|
return context->keyboard;
|
||||||
}
|
}
|
||||||
|
|
||||||
void eekboard_context_service_set_hint_purpose(EekboardContextService *context,
|
EekboardContextService *eekboard_context_service_new(struct squeek_state_manager *state_manager)
|
||||||
uint32_t hint, uint32_t purpose)
|
|
||||||
{
|
|
||||||
if (context->layout->hint != hint || context->layout->purpose != purpose) {
|
|
||||||
context->layout->hint = hint;
|
|
||||||
context->layout->purpose = purpose;
|
|
||||||
uint32_t time = gdk_event_get_time(NULL);
|
|
||||||
eekboard_context_service_use_layout(context, context->layout, time);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
eekboard_context_service_set_overlay(EekboardContextService *context, const char* name) {
|
|
||||||
if (g_strcmp0(context->layout->overlay_name, name)) {
|
|
||||||
g_free(context->layout->overlay_name);
|
|
||||||
context->layout->overlay_name = g_strdup(name);
|
|
||||||
uint32_t time = gdk_event_get_time(NULL);
|
|
||||||
eekboard_context_service_use_layout(context, context->layout, time);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const char*
|
|
||||||
eekboard_context_service_get_overlay(EekboardContextService *context) {
|
|
||||||
return context->layout->overlay_name;
|
|
||||||
}
|
|
||||||
|
|
||||||
EekboardContextService *eekboard_context_service_new(struct squeek_layout_state *state)
|
|
||||||
{
|
{
|
||||||
EekboardContextService *context = g_object_new (EEKBOARD_TYPE_CONTEXT_SERVICE, NULL);
|
EekboardContextService *context = g_object_new (EEKBOARD_TYPE_CONTEXT_SERVICE, NULL);
|
||||||
context->layout = state;
|
context->state_manager = state_manager;
|
||||||
eekboard_context_service_update_settings_layout(context);
|
eekboard_context_service_update_settings_layout(context);
|
||||||
uint32_t time = gdk_event_get_time(NULL);
|
|
||||||
eekboard_context_service_use_layout(context, context->layout, time);
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
|
||||||
void eekboard_context_service_set_submission(EekboardContextService *context, struct submission *submission) {
|
void eekboard_context_service_set_submission(EekboardContextService *context, struct submission *submission) {
|
||||||
context->submission = submission;
|
context->submission = submission;
|
||||||
if (context->submission) {
|
if (context->submission && context->keyboard) {
|
||||||
uint32_t time = gdk_event_get_time(NULL);
|
uint32_t time = gdk_event_get_time(NULL);
|
||||||
submission_use_layout(context->submission, context->keyboard->layout, time);
|
submission_use_layout(context->submission, context->keyboard->layout, time);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void eekboard_context_service_set_ui(EekboardContextService *context, ServerContextService *ui) {
|
|
||||||
context->ui = ui;
|
|
||||||
}
|
|
||||||
|
|||||||
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include "src/submission.h"
|
#include "src/submission.h"
|
||||||
#include "src/layout.h"
|
#include "src/layout.h"
|
||||||
|
#include "src/main.h"
|
||||||
|
|
||||||
#include "virtual-keyboard-unstable-v1-client-protocol.h"
|
#include "virtual-keyboard-unstable-v1-client-protocol.h"
|
||||||
#include "text-input-unstable-v3-client-protocol.h"
|
#include "text-input-unstable-v3-client-protocol.h"
|
||||||
@ -37,19 +38,13 @@ G_BEGIN_DECLS
|
|||||||
|
|
||||||
G_DECLARE_FINAL_TYPE(EekboardContextService, eekboard_context_service, EEKBOARD, CONTEXT_SERVICE, GObject)
|
G_DECLARE_FINAL_TYPE(EekboardContextService, eekboard_context_service, EEKBOARD, CONTEXT_SERVICE, GObject)
|
||||||
|
|
||||||
EekboardContextService *eekboard_context_service_new(struct squeek_layout_state *state);
|
EekboardContextService *eekboard_context_service_new(struct squeek_state_manager *state_manager);
|
||||||
void eekboard_context_service_set_submission(EekboardContextService *context, struct submission *submission);
|
void eekboard_context_service_set_submission(EekboardContextService *context, struct submission *submission);
|
||||||
void eekboard_context_service_set_ui(EekboardContextService *context, ServerContextService *ui);
|
|
||||||
void eekboard_context_service_destroy (EekboardContextService *context);
|
void eekboard_context_service_destroy (EekboardContextService *context);
|
||||||
LevelKeyboard *eekboard_context_service_get_keyboard(EekboardContextService *context);
|
Layout *eekboard_context_service_get_keyboard(EekboardContextService *context);
|
||||||
|
|
||||||
void eekboard_context_service_set_keymap(EekboardContextService *context,
|
void eekboard_context_service_set_keymap(EekboardContextService *context,
|
||||||
const LevelKeyboard *keyboard);
|
const Layout *keyboard);
|
||||||
|
|
||||||
void eekboard_context_service_set_hint_purpose(EekboardContextService *context,
|
|
||||||
uint32_t hint,
|
|
||||||
uint32_t purpose);
|
|
||||||
void
|
|
||||||
eekboard_context_service_use_layout(EekboardContextService *context, struct squeek_layout_state *layout, uint32_t timestamp);
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
#endif /* EEKBOARD_CONTEXT_SERVICE_H */
|
#endif /* EEKBOARD_CONTEXT_SERVICE_H */
|
||||||
|
|||||||
53
examples/find_orphan_layouts.rs
Normal file
53
examples/find_orphan_layouts.rs
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
/*! Tests if any layout files are not in use */
|
||||||
|
|
||||||
|
extern crate rs;
|
||||||
|
|
||||||
|
use rs::resources;
|
||||||
|
use std::env;
|
||||||
|
use std::error::Error;
|
||||||
|
use std::ffi::OsStr;
|
||||||
|
use std::fs;
|
||||||
|
use std::path::{Path, PathBuf};
|
||||||
|
|
||||||
|
enum Orphans {
|
||||||
|
None,
|
||||||
|
Present,
|
||||||
|
}
|
||||||
|
|
||||||
|
fn check(base: &Path, dir: &Path) -> Result<Orphans, Box<dyn Error>> {
|
||||||
|
let mut orphans = Orphans::None;
|
||||||
|
for entry in fs::read_dir(dir)? {
|
||||||
|
let entry = entry?;
|
||||||
|
let path = entry.path();
|
||||||
|
|
||||||
|
if entry.file_type()?.is_dir() {
|
||||||
|
check(base, &path)?;
|
||||||
|
} else {
|
||||||
|
if Some(OsStr::new("yaml")) == path.extension() {
|
||||||
|
let resource_path = path
|
||||||
|
.strip_prefix(base).unwrap()
|
||||||
|
.with_extension("");
|
||||||
|
let resource_path = resource_path
|
||||||
|
.to_str().unwrap();
|
||||||
|
let resource_path = resource_path
|
||||||
|
.strip_prefix('/').unwrap_or(resource_path);
|
||||||
|
if let None = resources::get_keyboard(resource_path) {
|
||||||
|
println!("Data not registered in the resources file: {:?}", path);
|
||||||
|
orphans = Orphans::Present;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Ok(orphans)
|
||||||
|
}
|
||||||
|
|
||||||
|
fn main() -> () {
|
||||||
|
let path = env::args().nth(1).expect("Provide a path");
|
||||||
|
let path = PathBuf::from(path);
|
||||||
|
|
||||||
|
match check(&path, &path) {
|
||||||
|
Err(e) => panic!("{:?}", e),
|
||||||
|
Ok(Orphans::Present) => panic!("Unregistered files present. Check the tutorial in doc/tutorial.md"),
|
||||||
|
_ => {},
|
||||||
|
}
|
||||||
|
}
|
||||||
30
meson.build
30
meson.build
@ -1,7 +1,7 @@
|
|||||||
project(
|
project(
|
||||||
'squeekboard',
|
'squeekboard',
|
||||||
'c', 'rust',
|
'c', 'rust',
|
||||||
version: '1.17.0',
|
version: '1.23.0',
|
||||||
license: 'GPLv3',
|
license: 'GPLv3',
|
||||||
meson_version: '>=0.51.0',
|
meson_version: '>=0.51.0',
|
||||||
default_options: [
|
default_options: [
|
||||||
@ -96,22 +96,42 @@ cargo_toml_base = configure_file(
|
|||||||
configuration: path_data,
|
configuration: path_data,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cargo_patch = []
|
||||||
cargo_deps = files('Cargo.deps')
|
|
||||||
|
|
||||||
if get_option('newer') == true
|
if get_option('newer') == true
|
||||||
cargo_build_flags += ['--features', 'glib_v0_14']
|
cargo_build_flags += ['--features', 'glib_v0_14,zbus_v1_5,clap_v4']
|
||||||
cargo_deps = files('Cargo.deps.newer')
|
cargo_deps = files('Cargo.deps.newer')
|
||||||
|
cargo_lock = files('Cargo.lock.newer')
|
||||||
|
else
|
||||||
|
cargo_deps = files('Cargo.deps')
|
||||||
|
cargo_lock = []
|
||||||
|
if get_option('online') == true
|
||||||
|
cargo_patch = [files('Cargo.deps.online')]
|
||||||
|
if get_option('reset_lock') == true
|
||||||
|
cargo_lock = files('Cargo.lock')
|
||||||
|
endif
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
cat = find_program('cat')
|
cat = find_program('cat')
|
||||||
cargo_toml = custom_target(
|
cargo_toml = custom_target(
|
||||||
'Cargo.toml',
|
'Cargo.toml',
|
||||||
output: 'Cargo.toml',
|
output: 'Cargo.toml',
|
||||||
command: [cat, cargo_toml_base, cargo_deps],
|
command: [cat, cargo_toml_base, cargo_deps] + cargo_patch,
|
||||||
capture: true,
|
capture: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cargo_deps = [cargo_toml]
|
||||||
|
if get_option('online') == true and get_option('reset_lock') == true
|
||||||
|
cargo_lock = custom_target(
|
||||||
|
'Cargo.lock',
|
||||||
|
output: 'Cargo.lock',
|
||||||
|
command: [cat, cargo_lock],
|
||||||
|
capture: true,
|
||||||
|
)
|
||||||
|
cargo_deps += [cargo_lock]
|
||||||
|
endif
|
||||||
|
|
||||||
dep_cargo = find_program('cargo')
|
dep_cargo = find_program('cargo')
|
||||||
cargo_script = find_program('cargo.sh')
|
cargo_script = find_program('cargo.sh')
|
||||||
cargo_build = find_program('cargo_build.py')
|
cargo_build = find_program('cargo_build.py')
|
||||||
|
|||||||
@ -7,10 +7,22 @@ option('tests',
|
|||||||
type: 'boolean', value: true,
|
type: 'boolean', value: true,
|
||||||
description: 'Whether to compile unit tests')
|
description: 'Whether to compile unit tests')
|
||||||
|
|
||||||
|
option('find_orphans',
|
||||||
|
type: 'boolean', value: false,
|
||||||
|
description: 'Check if all present layout files are included in resources.')
|
||||||
|
|
||||||
option('newer',
|
option('newer',
|
||||||
type: 'boolean', value: false,
|
type: 'boolean', value: false,
|
||||||
description: 'Build with dependencies newer than those of Byzantium')
|
description: 'Build with dependencies newer than those of Byzantium')
|
||||||
|
|
||||||
|
option('online',
|
||||||
|
type: 'boolean', value: true,
|
||||||
|
description: 'Pull packages from the internet while building, as opposed to a local regstry.')
|
||||||
|
|
||||||
|
option('reset_lock',
|
||||||
|
type: 'boolean', value: false,
|
||||||
|
description: 'Resets Cargo.lock to the one found in the source repo. Does not affect builds with online == false.')
|
||||||
|
|
||||||
option('strict',
|
option('strict',
|
||||||
type: 'boolean', value: true,
|
type: 'boolean', value: true,
|
||||||
description: 'Turn more warnings into errors')
|
description: 'Turn more warnings into errors')
|
||||||
|
|||||||
20
po/LINGUAS
20
po/LINGUAS
@ -1,13 +1,33 @@
|
|||||||
|
be
|
||||||
ca
|
ca
|
||||||
|
cs
|
||||||
de
|
de
|
||||||
|
el
|
||||||
|
es
|
||||||
|
eu
|
||||||
fa
|
fa
|
||||||
fi
|
fi
|
||||||
|
fr
|
||||||
fur
|
fur
|
||||||
gl
|
gl
|
||||||
he
|
he
|
||||||
|
hi
|
||||||
|
hr
|
||||||
|
ht
|
||||||
|
hu
|
||||||
|
it
|
||||||
|
ka
|
||||||
|
ko
|
||||||
nl
|
nl
|
||||||
|
oc
|
||||||
|
pl
|
||||||
|
pt
|
||||||
pt_BR
|
pt_BR
|
||||||
ro
|
ro
|
||||||
|
ru
|
||||||
sl
|
sl
|
||||||
|
sr
|
||||||
|
tr
|
||||||
uk
|
uk
|
||||||
sv
|
sv
|
||||||
|
zh_CN
|
||||||
|
|||||||
47
po/be.po
Normal file
47
po/be.po
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# Belarusian translation for squeekboard.
|
||||||
|
# Copyright (C) 2023 squeekboard's COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the squeekboard package.
|
||||||
|
# Yuras Shumovich <shumovichy@gmail.com>, 2023.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: squeekboard master\n"
|
||||||
|
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/Phosh/squeekboard/"
|
||||||
|
"issues\n"
|
||||||
|
"POT-Creation-Date: 2023-04-02 17:10+0000\n"
|
||||||
|
"PO-Revision-Date: 2023-09-14 14:44+0300\n"
|
||||||
|
"Last-Translator: Yuras Shumovich <shumovichy@gmail.com>\n"
|
||||||
|
"Language-Team: Belarusian <i18n-bel-gnome@googlegroups.com>\n"
|
||||||
|
"Language: be\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 "
|
||||||
|
"&& n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
|
||||||
|
"X-Generator: Poedit 3.3.2\n"
|
||||||
|
|
||||||
|
#. translators: This is a emmoji keyboard layout
|
||||||
|
#: data/popover.ui:6
|
||||||
|
msgid "Emoji"
|
||||||
|
msgstr "Эмодзі"
|
||||||
|
|
||||||
|
#. translators: This is a terminal keyboard layout
|
||||||
|
#: data/popover.ui:12
|
||||||
|
msgid "Terminal"
|
||||||
|
msgstr "Тэрмінал"
|
||||||
|
|
||||||
|
#: data/popover.ui:18
|
||||||
|
msgid "Keyboard Settings"
|
||||||
|
msgstr "Налады клавіятуры"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:3
|
||||||
|
msgid "Squeekboard"
|
||||||
|
msgstr "Squeekboard"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:4
|
||||||
|
msgid "On Screen Keyboard"
|
||||||
|
msgstr "Экранная клавіятура"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:5
|
||||||
|
msgid "An on screen virtual keyboard"
|
||||||
|
msgstr "Віртуальная экранная клавіятура"
|
||||||
46
po/cs.po
Normal file
46
po/cs.po
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
# Czech translation for squeekboard.
|
||||||
|
# Copyright (C) 2022 squeekboard's COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the squeekboard package.
|
||||||
|
# Daniel Rusek <mail@asciiwolf.com>, 2022.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: squeekboard master\n"
|
||||||
|
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/Phosh/squeekboard/"
|
||||||
|
"issues\n"
|
||||||
|
"POT-Creation-Date: 2022-10-16 12:08+0000\n"
|
||||||
|
"PO-Revision-Date: 2022-10-18 23:36+0200\n"
|
||||||
|
"Last-Translator: Daniel Rusek <mail@asciiwolf.com>\n"
|
||||||
|
"Language-Team: Czech <gnome-cs-list@gnome.org>\n"
|
||||||
|
"Language: cs\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||||
|
"X-Generator: Poedit 3.1.1\n"
|
||||||
|
|
||||||
|
#. translators: This is a emmoji keyboard layout
|
||||||
|
#: data/popover.ui:6
|
||||||
|
msgid "Emoji"
|
||||||
|
msgstr "Emodži"
|
||||||
|
|
||||||
|
#. translators: This is a terminal keyboard layout
|
||||||
|
#: data/popover.ui:12
|
||||||
|
msgid "Terminal"
|
||||||
|
msgstr "Terminál"
|
||||||
|
|
||||||
|
#: data/popover.ui:18
|
||||||
|
msgid "Keyboard Settings"
|
||||||
|
msgstr "Nastavení klávesnice"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:3
|
||||||
|
msgid "Squeekboard"
|
||||||
|
msgstr "Squeekboard"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:4
|
||||||
|
msgid "On Screen Keyboard"
|
||||||
|
msgstr "Klávesnice na obrazovce"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:5
|
||||||
|
msgid "An on screen virtual keyboard"
|
||||||
|
msgstr "Přidat virtuální klávesnici na obrazovce"
|
||||||
39
po/de.po
39
po/de.po
@ -2,21 +2,46 @@
|
|||||||
# Copyright (C) 2021 THE squeekboard'S COPYRIGHT HOLDER
|
# Copyright (C) 2021 THE squeekboard'S COPYRIGHT HOLDER
|
||||||
# This file is distributed under the same license as the squeekboard package.
|
# This file is distributed under the same license as the squeekboard package.
|
||||||
# Automatically generated, 2021.
|
# Automatically generated, 2021.
|
||||||
|
# Jürgen Benvenuti <gastornis@posteo.org>, 2023.
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: squeekboard\n"
|
"Project-Id-Version: squeekboard\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/Phosh/squeekboard/"
|
||||||
"POT-Creation-Date: 2021-12-03 18:41+0100\n"
|
"issues\n"
|
||||||
"PO-Revision-Date: 2021-12-03 18:41+0100\n"
|
"POT-Creation-Date: 2022-10-16 12:08+0000\n"
|
||||||
"Last-Translator: Automatically generated\n"
|
"PO-Revision-Date: 2023-01-14 11:45+0100\n"
|
||||||
"Language-Team: none\n"
|
"Last-Translator: Jürgen Benvenuti <gastornis@posteo.org>\n"
|
||||||
|
"Language-Team: German <gnome-de@gnome-org>\n"
|
||||||
"Language: de\n"
|
"Language: de\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=ASCII\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"X-Generator: Poedit 3.1.1\n"
|
||||||
|
|
||||||
#: data/popup.ui:15
|
#. translators: This is a emmoji keyboard layout
|
||||||
|
#: data/popover.ui:6
|
||||||
|
msgid "Emoji"
|
||||||
|
msgstr "Emoji"
|
||||||
|
|
||||||
|
#. translators: This is a terminal keyboard layout
|
||||||
|
#: data/popover.ui:12
|
||||||
|
msgid "Terminal"
|
||||||
|
msgstr "Terminal"
|
||||||
|
|
||||||
|
#: data/popover.ui:18
|
||||||
msgid "Keyboard Settings"
|
msgid "Keyboard Settings"
|
||||||
msgstr "Tastatureinstellungen"
|
msgstr "Tastatureinstellungen"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:3
|
||||||
|
msgid "Squeekboard"
|
||||||
|
msgstr "Squeekboard"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:4
|
||||||
|
msgid "On Screen Keyboard"
|
||||||
|
msgstr "Bildschirmtastatur"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:5
|
||||||
|
msgid "An on screen virtual keyboard"
|
||||||
|
msgstr "Eine virtuelle Bildschirmtastatur"
|
||||||
|
|||||||
46
po/el.po
Normal file
46
po/el.po
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
# Greek translation for squeekboard.
|
||||||
|
# Copyright (C) 2022 squeekboard's COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the squeekboard package.
|
||||||
|
# Efstathios Iosifidis <eiosifidis@gnome.org>, 2022.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: squeekboard master\n"
|
||||||
|
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/Phosh/squeekboard/"
|
||||||
|
"issues\n"
|
||||||
|
"POT-Creation-Date: 2022-07-11 06:54+0000\n"
|
||||||
|
"PO-Revision-Date: 2022-07-11 23:11+0300\n"
|
||||||
|
"Last-Translator: Efstathios Iosifidis <eiosifidis@gnome.org>\n"
|
||||||
|
"Language-Team: Greek <gnome-el-list@gnome.org>\n"
|
||||||
|
"Language: el\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
"X-Generator: Poedit 3.1\n"
|
||||||
|
|
||||||
|
#. translators: This is a emmoji keyboard layout
|
||||||
|
#: data/popover.ui:6
|
||||||
|
msgid "Emoji"
|
||||||
|
msgstr "Emoji"
|
||||||
|
|
||||||
|
#. translators: This is a terminal keyboard layout
|
||||||
|
#: data/popover.ui:12
|
||||||
|
msgid "Terminal"
|
||||||
|
msgstr "Τερματικό"
|
||||||
|
|
||||||
|
#: data/popover.ui:18
|
||||||
|
msgid "Keyboard Settings"
|
||||||
|
msgstr "Ρυθμίσεις πληκτρολογίου"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:3
|
||||||
|
msgid "Squeekboard"
|
||||||
|
msgstr "Squeekboard"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:4
|
||||||
|
msgid "On Screen Keyboard"
|
||||||
|
msgstr "Πληκτρολόγιο οθόνης"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:5
|
||||||
|
msgid "An on screen virtual keyboard"
|
||||||
|
msgstr "Εικονικό πληκτρολόγιο οθόνης"
|
||||||
47
po/es.po
Normal file
47
po/es.po
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# Spanish translation for squeekboard.
|
||||||
|
# Copyright (C) 2022 squeekboard's COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the squeekboard package.
|
||||||
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||||
|
# Pablo Correa Gómez <ablocorrea@hotmail.com>, 2022.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: squeekboard master\n"
|
||||||
|
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/Phosh/squeekboard/"
|
||||||
|
"issues\n"
|
||||||
|
"POT-Creation-Date: 2022-03-20 13:14+0000\n"
|
||||||
|
"PO-Revision-Date: 2022-03-22 21:33+0100\n"
|
||||||
|
"Last-Translator: Pablo Correa Gómez <ablocorrea@hotmail.com>\n"
|
||||||
|
"Language-Team: Spanish; Castilian <gnome-es-list@gnome.org>\n"
|
||||||
|
"Language: es\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
||||||
|
"X-Generator: Gtranslator 3.36.0\n"
|
||||||
|
|
||||||
|
#. translators: This is a emmoji keyboard layout
|
||||||
|
#: data/popover.ui:6
|
||||||
|
msgid "Emoji"
|
||||||
|
msgstr "Emoji"
|
||||||
|
|
||||||
|
#. translators: This is a terminal keyboard layout
|
||||||
|
#: data/popover.ui:12
|
||||||
|
msgid "Terminal"
|
||||||
|
msgstr "Terminal"
|
||||||
|
|
||||||
|
#: data/popover.ui:18
|
||||||
|
msgid "Keyboard Settings"
|
||||||
|
msgstr "Ajustes de teclado"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:3
|
||||||
|
msgid "Squeekboard"
|
||||||
|
msgstr "Squeekboard"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:4
|
||||||
|
msgid "On Screen Keyboard"
|
||||||
|
msgstr "Teclado en pantala"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:5
|
||||||
|
msgid "An on screen virtual keyboard"
|
||||||
|
msgstr "Un teclado virtual en pantalla"
|
||||||
42
po/eu.po
Normal file
42
po/eu.po
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# Basque translation for squeekboard.
|
||||||
|
# Copyright (C) 2023 squeekboard's COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the squeekboard package.
|
||||||
|
# Asier Sarasua Garmendia <asiersarasua@ni.eus>, 2023.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr "Project-Id-Version: squeekboard master\n"
|
||||||
|
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/Phosh/squeekboard/issues\n"
|
||||||
|
"POT-Creation-Date: 2023-02-26 09:13+0000\n"
|
||||||
|
"PO-Revision-Date: 2023-03-06 09:13+0000\n"
|
||||||
|
"Last-Translator: Asier Sarasua Garmendia <asiersarasua@ni.eus>\n"
|
||||||
|
"Language-Team: Basque <librezale@librezale.eus>\n"
|
||||||
|
"Language: eu\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
#. translators: This is a emmoji keyboard layout
|
||||||
|
#: data/popover.ui:6
|
||||||
|
msgid "Emoji"
|
||||||
|
msgstr "Emojia"
|
||||||
|
|
||||||
|
#. translators: This is a terminal keyboard layout
|
||||||
|
#: data/popover.ui:12
|
||||||
|
msgid "Terminal"
|
||||||
|
msgstr "Terminala"
|
||||||
|
|
||||||
|
#: data/popover.ui:18
|
||||||
|
msgid "Keyboard Settings"
|
||||||
|
msgstr "Teklatuaren ezarpenak"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:3
|
||||||
|
msgid "Squeekboard"
|
||||||
|
msgstr "Squeekboard"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:4
|
||||||
|
msgid "On Screen Keyboard"
|
||||||
|
msgstr "Pantailako teklatua"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:5
|
||||||
|
msgid "An on screen virtual keyboard"
|
||||||
|
msgstr "Gehitu pantailako teklatu birtuala"
|
||||||
47
po/fr.po
Normal file
47
po/fr.po
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# French translation for squeekboard.
|
||||||
|
# Copyright (C) 2022 squeekboard's COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the squeekboard package.
|
||||||
|
# FULL NAME <EMAIL@ADDRESS>, 2022.
|
||||||
|
# Éloi Rivard <eloi.rivard@nubla.fr>, 2022.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: squeekboard master\n"
|
||||||
|
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/Phosh/squeekboard/"
|
||||||
|
"issues\n"
|
||||||
|
"POT-Creation-Date: 2022-04-28 15:05+0000\n"
|
||||||
|
"PO-Revision-Date: 2022-05-25 16:34+0200\n"
|
||||||
|
"Last-Translator: Éloi Rivard <eloi.rivard@nubla.fr>\n"
|
||||||
|
"Language-Team: French <gnomefr@traduc.org>\n"
|
||||||
|
"Language: fr\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
"X-Generator: Gtranslator 40.0\n"
|
||||||
|
|
||||||
|
#. translators: This is a emmoji keyboard layout
|
||||||
|
#: data/popover.ui:6
|
||||||
|
msgid "Emoji"
|
||||||
|
msgstr "Emoji"
|
||||||
|
|
||||||
|
#. translators: This is a terminal keyboard layout
|
||||||
|
#: data/popover.ui:12
|
||||||
|
msgid "Terminal"
|
||||||
|
msgstr "Terminal"
|
||||||
|
|
||||||
|
#: data/popover.ui:18
|
||||||
|
msgid "Keyboard Settings"
|
||||||
|
msgstr "Paramètres du clavier"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:3
|
||||||
|
msgid "Squeekboard"
|
||||||
|
msgstr "Squeekboard"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:4
|
||||||
|
msgid "On Screen Keyboard"
|
||||||
|
msgstr "Clavier virtuel"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:5
|
||||||
|
msgid "An on screen virtual keyboard"
|
||||||
|
msgstr "Un clavier virtuel affiché à l’écran"
|
||||||
52
po/hi.po
Normal file
52
po/hi.po
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# Hindi translation for squeekboard.
|
||||||
|
# Copyright (C) 2023 squeekboard's COPYRIGHT HOLDER
|
||||||
|
# This file is distributed under the same license as the squeekboard package.
|
||||||
|
# # Translators:
|
||||||
|
# Hemish <hemish04082005@gmail.com>, 2023.
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: squeekboard master\n"
|
||||||
|
"Report-Msgid-Bugs-To: https://gitlab.gnome.org/World/Phosh/squeekboard/"
|
||||||
|
"issues\n"
|
||||||
|
"POT-Creation-Date: 2023-01-31 11:38+0000\n"
|
||||||
|
"PO-Revision-Date: 2023-02-02 23:11+0530\n"
|
||||||
|
"Last-Translator: Hemish <hemish04082005@gmail.com>\n"
|
||||||
|
"Language-Team: Hindi <indlinux-hindi@lists.sourceforge.net https://indlinux."
|
||||||
|
"org/hindi>\n"
|
||||||
|
"Language: hi\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
||||||
|
"X-Generator: Gtranslator 42.0\n"
|
||||||
|
"X-DL-Team: \n"
|
||||||
|
"X-DL-Module: \n"
|
||||||
|
"X-DL-Branch: \n"
|
||||||
|
"X-DL-Domain: \n"
|
||||||
|
|
||||||
|
#. translators: This is a emmoji keyboard layout
|
||||||
|
#: data/popover.ui:6
|
||||||
|
msgid "Emoji"
|
||||||
|
msgstr "इमोजी"
|
||||||
|
|
||||||
|
#. translators: This is a terminal keyboard layout
|
||||||
|
#: data/popover.ui:12
|
||||||
|
msgid "Terminal"
|
||||||
|
msgstr "टर्मिनल"
|
||||||
|
|
||||||
|
#: data/popover.ui:18
|
||||||
|
msgid "Keyboard Settings"
|
||||||
|
msgstr "कुंजीपट सेंटिग्स"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:3
|
||||||
|
msgid "Squeekboard"
|
||||||
|
msgstr "स्क्वीकबोर्ड"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:4
|
||||||
|
msgid "On Screen Keyboard"
|
||||||
|
msgstr "ऑनस्क्रीन कुंजीपट"
|
||||||
|
|
||||||
|
#: data/sm.puri.Squeekboard.desktop.in.in:5
|
||||||
|
msgid "An on screen virtual keyboard"
|
||||||
|
msgstr "एक ऑनस्क्रीन वर्चुअल कुंजीपट"
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user