Compare commits
192 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 06849fe668 | |||
| 317d8a58dc | |||
| 89b3ab9a81 | |||
| 8690808a29 | |||
| be4ac32477 | |||
| 5068f36d9d | |||
| 8c48e96f50 | |||
| f15619287a | |||
| eb5c28e77f | |||
| 7fb34feaf8 | |||
| 20a6cf52ac | |||
| c566d8853e | |||
| 0beddc6856 | |||
| 3170a0b615 | |||
| 4f28e3413a | |||
| 291be9fa79 | |||
| fd5d060eee | |||
| cffe07521e | |||
| 36af546362 | |||
| 0da848a5a0 | |||
| 8c9ae98bda | |||
| 7cc8eecd26 | |||
| ef025509ba | |||
| 3f6bb7f60b | |||
| d7ee2f4c3c | |||
| 98f14d3e81 | |||
| 02ec745856 | |||
| 6ac17bfde5 | |||
| d8cb6ab383 | |||
| db52a842b2 | |||
| ad8c918e1a | |||
| 8191324e46 | |||
| 6777f1b4b7 | |||
| 0bfaa8cd7a | |||
| 238900f01a | |||
| e47ec16293 | |||
| 6fe08967f6 | |||
| 71d2df8b2a | |||
| 8024998a4b | |||
| ea4bf3de29 | |||
| 87d368878b | |||
| 55584e27fa | |||
| 9f88660d99 | |||
| c096698ec1 | |||
| 3aaaed3bae | |||
| f1c76a0ca4 | |||
| b78c3ad131 | |||
| b6dfb20fec | |||
| 7d18f81a30 | |||
| 959f5fbfc9 | |||
| c2ad03af97 | |||
| 47c4119ab7 | |||
| e71e843eff | |||
| 6e90c9a833 | |||
| 1134d92357 | |||
| 62009762f9 | |||
| a58a18b63b | |||
| 95022c1ac7 | |||
| 7760b50963 | |||
| 85b79a5f8f | |||
| e080d4351e | |||
| dcd4dbf931 | |||
| ea0926147f | |||
| ce223e04e6 | |||
| ddd1c1b16b | |||
| 0f1f6531da | |||
| c917a1f818 | |||
| afe8fd64f4 | |||
| bd3b27eceb | |||
| 35ad61890e | |||
| 1b1fbed7de | |||
| 264d30d884 | |||
| 38d8290b59 | |||
| 254b65681a | |||
| fbb3824a3d | |||
| 24126ad4f3 | |||
| 869a0af67f | |||
| 5281d96460 | |||
| 8f7f6c05c0 | |||
| 01fe433612 | |||
| 63e55ff5c4 | |||
| 8d4d50cfca | |||
| dde659dbd3 | |||
| 788a39f144 | |||
| 43e2b7b803 | |||
| 3fb0a3a959 | |||
| bdef7b3516 | |||
| 57d36e476b | |||
| 0b5aa1ba7c | |||
| 55410a005c | |||
| 1290fd4a1e | |||
| c99efc430c | |||
| ce6c9cbea3 | |||
| 4cdfc30c29 | |||
| 3b6c19401c | |||
| 29231f7e31 | |||
| 76b8a61d0a | |||
| d62abc2f12 | |||
| 8f61a26fb4 | |||
| 8fd63cea80 | |||
| 162b828c4c | |||
| ac58b675ef | |||
| a048722a94 | |||
| a74be1b299 | |||
| 89b56ddccf | |||
| 8ab3a2b8d3 | |||
| f56c5e3879 | |||
| 8eda2cd04d | |||
| cfd2bff1aa | |||
| 02501aee9e | |||
| 70056b68a7 | |||
| b36c48daa3 | |||
| 9e078be603 | |||
| ac68d5d0a8 | |||
| b45edcd4fe | |||
| dc2bc46167 | |||
| 9cd439767e | |||
| 212e55d7cf | |||
| 31fdde4da9 | |||
| 10bad4ebe3 | |||
| da5a83f367 | |||
| ef38fd3e64 | |||
| 46d3312c86 | |||
| cb8d2b01af | |||
| 3f3e33c853 | |||
| aa3dc96986 | |||
| aee981d9c0 | |||
| 3bede84a2d | |||
| e14d411150 | |||
| f91f000df1 | |||
| 18f8443a9f | |||
| 746d842dd4 | |||
| 185efb1c2a | |||
| a31f9b5e04 | |||
| 94aec87b5d | |||
| 854a9bb22e | |||
| 477a883885 | |||
| b3a63042cb | |||
| d53a683285 | |||
| 27a99e2973 | |||
| 53c64010e8 | |||
| 7f704bcd61 | |||
| 1e08adb26b | |||
| 75bbb17881 | |||
| 58c8556058 | |||
| 1c56de8698 | |||
| 0eb0a6e8fd | |||
| 9b5e0109a7 | |||
| a1b811aada | |||
| 1b424bd663 | |||
| 938ba53a38 | |||
| 1e609f4550 | |||
| e33f591a1f | |||
| 456af0f1ef | |||
| b6d25da7c2 | |||
| 288d2247da | |||
| e5eb9f0fd3 | |||
| 908aa20036 | |||
| 60f1ca1408 | |||
| 5ef687a722 | |||
| 86ed9a7a01 | |||
| 4fee2fad01 | |||
| 35ba8ad81c | |||
| 0985724b19 | |||
| 7aff7977fc | |||
| 55bb263a12 | |||
| 32b85e75db | |||
| 3935375d1b | |||
| 97dd2b1096 | |||
| de7211d1a5 | |||
| 26380ab987 | |||
| f898b75b9d | |||
| e513cb9b54 | |||
| 6fd7ab7405 | |||
| 15833323ae | |||
| 653462721b | |||
| 2889e50507 | |||
| 6b15f69e00 | |||
| 231982d7f7 | |||
| 3bea256ca5 | |||
| 4c0f23c5c1 | |||
| 27d54fb38a | |||
| 3b6999f6ef | |||
| de43d67638 | |||
| 2fca71aa53 | |||
| 7870791fef | |||
| 83f9b580ef | |||
| 54f9e61b6a | |||
| 94b7ba1ccc | |||
| e7d30d933f | |||
| 150fb3cf6a | |||
| 169f33c67a |
@ -22,6 +22,7 @@ build_meson:
|
||||
artifacts:
|
||||
paths:
|
||||
- _build
|
||||
expire_in: 3h
|
||||
script:
|
||||
- meson . _build/ -Ddepdatadir=/usr/share
|
||||
- ninja -C _build install
|
||||
@ -49,7 +50,7 @@ test_lintian:
|
||||
test:
|
||||
<<: *tags
|
||||
stage: test
|
||||
dependencies:
|
||||
needs:
|
||||
- build_meson
|
||||
script:
|
||||
- ninja -C _build test
|
||||
|
||||
37
AUTHORS
37
AUTHORS
@ -1,36 +1,5 @@
|
||||
eekboard is written by Daiki Ueno <ueno@unixuser.org>. The following
|
||||
files contain code derived from other free software packages:
|
||||
squeekboard is written by Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> on behlf of Purism, SPC.
|
||||
eekboard was written by Daiki Ueno <ueno@unixuser.org>
|
||||
|
||||
eek/eek-keyboard-drawing.h
|
||||
eek/eek-keyboard-drawing.c
|
||||
For more details, see the debian/copyright file.
|
||||
|
||||
These files contain code derived from the libgnomekbd library.
|
||||
Copyright (C) 2006 Sergey V. Udaltsov <svu@gnome.org>
|
||||
|
||||
eek/eek-theme.h
|
||||
eek/eek-theme.c
|
||||
eek/eek-theme-context.h
|
||||
eek/eek-theme-context.c
|
||||
eek/eek-theme-node.h
|
||||
eek/eek-theme-node.c
|
||||
|
||||
These files contain code derived from gnome-shell.
|
||||
|
||||
Copyright 2008-2010 Red Hat, Inc.
|
||||
Copyright 2009 Steve Frécinaux
|
||||
Copyright 2009, 2010 Florian Müllner
|
||||
Copyright 2010 Adel Gadllah
|
||||
Copyright 2010 Giovanni Campagna
|
||||
Copyright 2003-2004 Dodji Seketeli
|
||||
|
||||
data/icons/8x8/Makefile.am
|
||||
data/icons/16x16/Makefile.am
|
||||
data/icons/22x22/Makefile.am
|
||||
data/icons/24x24/Makefile.am
|
||||
data/icons/32x32/Makefile.am
|
||||
data/icons/48x48/Makefile.am
|
||||
data/icons/scalable/Makefile.am
|
||||
|
||||
These files contain code derived from im-chooser.
|
||||
|
||||
Copyright (C) 2006-2008 Red Hat, Inc. All rights reserved.
|
||||
|
||||
342
Cargo.lock
generated
342
Cargo.lock
generated
@ -1,20 +1,254 @@
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "1.2.0"
|
||||
name = "aho-corasick"
|
||||
version = "0.7.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "atk-sys"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bitflags"
|
||||
version = "1.0.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "cairo-rs"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cairo-sys-rs"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cc"
|
||||
version = "1.0.45"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "dbus"
|
||||
version = "0.6.5"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libdbus-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "dtoa"
|
||||
version = "0.4.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "fragile"
|
||||
version = "0.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "gdk"
|
||||
version = "0.9.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk-pixbuf 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gdk-pixbuf"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gdk-pixbuf-sys"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gdk-sys"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gio"
|
||||
version = "0.5.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"fragile 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gio-sys"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "glib"
|
||||
version = "0.6.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "glib-sys"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gobject-sys"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gtk"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk-pixbuf 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gtk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gtk-sys"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"atk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gdk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lazy_static"
|
||||
version = "1.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.62"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "libdbus-sys"
|
||||
version = "0.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "linked-hash-map"
|
||||
version = "0.5.2"
|
||||
@ -25,6 +259,11 @@ name = "maplit"
|
||||
version = "1.0.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "memchr"
|
||||
version = "2.2.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "memmap"
|
||||
version = "0.7.0"
|
||||
@ -34,6 +273,36 @@ dependencies = [
|
||||
"winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pango"
|
||||
version = "0.5.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pango-sys"
|
||||
version = "0.7.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pkg-config"
|
||||
version = "0.3.16"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro2"
|
||||
version = "1.0.4"
|
||||
@ -50,12 +319,36 @@ dependencies = [
|
||||
"proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex"
|
||||
version = "1.1.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"regex-syntax 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"utf8-ranges 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "regex-syntax"
|
||||
version = "0.6.12"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "rs"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bitflags 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"dbus 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gtk 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"gtk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"maplit 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"regex 1.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde_yaml 0.8.9 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"xkbcommon 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
@ -100,11 +393,24 @@ dependencies = [
|
||||
"unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "thread_local"
|
||||
version = "0.3.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
dependencies = [
|
||||
"lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicode-xid"
|
||||
version = "0.2.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "utf8-ranges"
|
||||
version = "1.0.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "winapi"
|
||||
version = "0.3.8"
|
||||
@ -142,19 +448,47 @@ dependencies = [
|
||||
]
|
||||
|
||||
[metadata]
|
||||
"checksum bitflags 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8a606a02debe2813760609f57a64a2ffd27d9fdf5b2f133eaca0b248dd92cdd2"
|
||||
"checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d"
|
||||
"checksum atk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c7017e53393e713212aed7aea336b6553be4927f58c37070a56c2fe3d107e489"
|
||||
"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12"
|
||||
"checksum cairo-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "dd940f0d609699e343ef71c4af5f66423afbf30d666f796dabd8fd15229cf5b6"
|
||||
"checksum cairo-sys-rs 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d25596627380be4381247dba06c69ad05ca21b3b065bd9827e416882ac41dcd2"
|
||||
"checksum cc 1.0.45 (registry+https://github.com/rust-lang/crates.io-index)" = "4fc9a35e1f4290eb9e5fc54ba6cf40671ed2a2514c3eeb2b2a908dda2ea5a1be"
|
||||
"checksum dbus 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "48b5f0f36f1eebe901b0e6bee369a77ed3396334bf3f09abd46454a576f71819"
|
||||
"checksum dtoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e"
|
||||
"checksum fragile 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "05f8140122fa0d5dcb9fc8627cfce2b37cc1500f752636d46ea28bc26785c2f9"
|
||||
"checksum gdk 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bcc52c7244046df9d959df87289f1fc5cca23f9f850bab0c967963e2ecb83a96"
|
||||
"checksum gdk-pixbuf 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc3aa730cb4df3de5d9fed59f43afdf9e5fb2d3d10bfcbd04cec031435ce87f5"
|
||||
"checksum gdk-pixbuf-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "08284f16ce4d909b10d785a763ba190e222d2c1557b29908bf0a661e27a8ac3b"
|
||||
"checksum gdk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "108548ebf5329b551f2b97ab356908d14627905abb74b936c3372de1535aee81"
|
||||
"checksum gio 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "29a44b051990573448edc80b1995237f8b97b5734d2aec05105b9242aa10af11"
|
||||
"checksum gio-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6975ada29f7924dc1c90b30ed3b32d777805a275556c05e420da4fbdc22eb250"
|
||||
"checksum glib 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a333edf5b9f1411c246ef14e7881b087255f04c56dbef48c64a0cb039b4b340"
|
||||
"checksum glib-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3573351e846caed9f11207b275cd67bc07f0c2c94fb628e5d7c92ca056c7882d"
|
||||
"checksum gobject-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "08475e4a08f27e6e2287005950114735ed61cec2cb8c1187682a5aec8c69b715"
|
||||
"checksum gtk 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "56a6b30f194f09a17bb7ffa95c3ecdb405abd3b75ff981f831b1f6d18fe115ff"
|
||||
"checksum gtk-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d487d333a4b87072e6bf9f2e55befa0ebef01b9496c2e263c0f4a1ff3d6c04b1"
|
||||
"checksum lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
||||
"checksum libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)" = "34fcd2c08d2f832f376f4173a231990fa5aef4e99fb569867318a227ef4c06ba"
|
||||
"checksum libdbus-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dc12a3bc971424edbbf7edaf6e5740483444db63aa8e23d3751ff12a30f306f0"
|
||||
"checksum linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ae91b68aebc4ddb91978b11a1b02ddd8602a05ec19002801c5666000e05e0f83"
|
||||
"checksum maplit 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
|
||||
"checksum memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "88579771288728879b57485cc7d6b07d648c9f0141eb955f8ab7f9d45394468e"
|
||||
"checksum memmap 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b"
|
||||
"checksum pango 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4c2cb169402a3eb1ba034a7cc7d95b8b1c106e9be5ba4be79a5a93dc1a2795f4"
|
||||
"checksum pango-sys 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d6eb49268e69dd0c1da5d3001a61aac08e2e9d2bfbe4ae4b19b9963c998f6453"
|
||||
"checksum pkg-config 0.3.16 (registry+https://github.com/rust-lang/crates.io-index)" = "72d5370d90f49f70bd033c3d75e87fc529fbfff9d6f7cccef07d6170079d91ea"
|
||||
"checksum proc-macro2 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "afdc77cc74ec70ed262262942ebb7dac3d479e9e5cfa2da1841c0806f6cdabcc"
|
||||
"checksum quote 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"
|
||||
"checksum regex 1.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "d9d8297cc20bbb6184f8b45ff61c8ee6a9ac56c156cec8e38c3e5084773c44ad"
|
||||
"checksum regex-syntax 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "11a7e20d1cce64ef2fed88b66d347f88bd9babb82845b2b858f3edbf59a4f716"
|
||||
"checksum serde 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)" = "9796c9b7ba2ffe7a9ce53c2287dfc48080f4b2b362fcc245a259b3a7201119dd"
|
||||
"checksum serde_derive 1.0.101 (registry+https://github.com/rust-lang/crates.io-index)" = "4b133a43a1ecd55d4086bd5b4dc6c1751c68b1bfbeba7a5040442022c7e7c02e"
|
||||
"checksum serde_yaml 0.8.9 (registry+https://github.com/rust-lang/crates.io-index)" = "38b08a9a90e5260fe01c6480ec7c811606df6d3a660415808c3c3fa8ed95b582"
|
||||
"checksum syn 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "66850e97125af79138385e9b88339cbcd037e3f28ceab8c5ad98e64f0f1f80bf"
|
||||
"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
|
||||
"checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
|
||||
"checksum utf8-ranges 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "b4ae116fef2b7fea257ed6440d3cfcff7f190865f170cdad00bb6465bf18ecba"
|
||||
"checksum winapi 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
|
||||
"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
||||
"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
||||
|
||||
34
Cargo.toml
34
Cargo.toml
@ -3,11 +3,35 @@ name = "rs"
|
||||
version = "0.1.0"
|
||||
|
||||
[dependencies]
|
||||
bitflags = "1.0"
|
||||
maplit = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_yaml = "0.8"
|
||||
xkbcommon = { version = "0.4", features = ["wayland"] }
|
||||
bitflags = "1.0.*"
|
||||
dbus = "0.6.*"
|
||||
maplit = "1.0.*"
|
||||
regex = "1.1.*"
|
||||
serde = { version = "1.0.*", features = ["derive"] }
|
||||
serde_yaml = "0.8.*"
|
||||
xkbcommon = { version = "0.4.*", features = ["wayland"] }
|
||||
|
||||
[dependencies.gio]
|
||||
version = ""
|
||||
features = ["v2_44"]
|
||||
|
||||
[dependencies.glib]
|
||||
version = ""
|
||||
features = ["v2_44"]
|
||||
|
||||
[dependencies.glib-sys]
|
||||
version = ""
|
||||
features = ["v2_44"]
|
||||
|
||||
|
||||
[dependencies.gtk]
|
||||
version = "0.5.*"
|
||||
features = ["v3_22"]
|
||||
|
||||
[dependencies.gtk-sys]
|
||||
version = ""
|
||||
features = ["v3_22"]
|
||||
|
||||
|
||||
[lib]
|
||||
name = "rs"
|
||||
|
||||
76
HACKING.md
76
HACKING.md
@ -3,6 +3,25 @@ Hacking
|
||||
|
||||
This document describes the standards for modifying and maintaining the *squeekboard* project.
|
||||
|
||||
Development environment
|
||||
-----------------------
|
||||
|
||||
*Squeekboard* is regularly built and tested on [the develpment environment](https://developer.puri.sm/Librem5/Development_Environment.html).
|
||||
|
||||
Recent Fedora releases are likely to be tested as well.
|
||||
|
||||
### Dependencies
|
||||
|
||||
On a Debian based system run
|
||||
|
||||
```sh
|
||||
sudo apt-get -y install build-essential
|
||||
sudo apt-get -y build-dep .
|
||||
```
|
||||
|
||||
For an explicit list of dependencies check the `Build-Depends` entry in the
|
||||
[debian/control][] file.
|
||||
|
||||
Testing
|
||||
-------
|
||||
|
||||
@ -28,11 +47,64 @@ $ busctl call --user sm.puri.OSK0 /sm/puri/OSK0 sm.puri.OSK0 SetVisible b false
|
||||
|
||||
Testing layouts:
|
||||
|
||||
Layouts can be selected using the GNOME Settings application.
|
||||
|
||||
```
|
||||
# define all available layouts
|
||||
$ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us'), ('xkb', 'ua')]"
|
||||
# choose the active layout
|
||||
$ gsettings set org.gnome.desktop.input-sources current 1
|
||||
```
|
||||
|
||||
Coding
|
||||
------
|
||||
|
||||
Code submitted should roughly match the style of surrounding code. Things that will *not* be accepted are ones that often lead to errors:
|
||||
|
||||
- skipping brackets `{}` after every `if()`, `else`, and similar
|
||||
|
||||
Bad example:
|
||||
|
||||
```
|
||||
if (foo)
|
||||
bar();
|
||||
```
|
||||
|
||||
Good example:
|
||||
|
||||
```
|
||||
if (foo) {
|
||||
bar();
|
||||
}
|
||||
```
|
||||
|
||||
- mixing tabs and spaces in the same block of code (or config)
|
||||
|
||||
Strongly encouraged:
|
||||
|
||||
- don't make lines too long. If it's longer than ~80 characters, it's probably unreadable already, and the code needs to be clarified;
|
||||
- put operators in the beginning of a continuation line
|
||||
|
||||
Bad example:
|
||||
|
||||
```
|
||||
foobar = verylongexpression +
|
||||
anotherverylongexpression +
|
||||
yetanotherexpression;
|
||||
```
|
||||
|
||||
Good example:
|
||||
|
||||
```
|
||||
foobar = verylongexpression
|
||||
+ anotherverylongexpression
|
||||
+ yetanotherexpression;
|
||||
```
|
||||
|
||||
- use `///` for documentation comments in front of definitions and `/*! ... */` for documentation comments in the beginning of modules (see [Rust doc-comments](https://doc.rust-lang.org/reference/comments.html#doc-comments))
|
||||
|
||||
If in doubt, check [PEP8](https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/guide.md), the [kernel coding style](https://www.kernel.org/doc/html/v4.10/process/coding-style.html), or the [Rust style guide](https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/guide.md).
|
||||
|
||||
Maintenance
|
||||
-----------
|
||||
|
||||
@ -42,7 +114,7 @@ Use the `cargo.sh` script for maintaining the Cargo part of the build. The scrip
|
||||
|
||||
```
|
||||
cd build_dir
|
||||
sh /source_path/cargo.sh /source_path '' test
|
||||
sh /source_path/cargo.sh '' test
|
||||
```
|
||||
|
||||
### Cargo dependencies
|
||||
@ -53,6 +125,6 @@ Dependencies must be specified in `Cargo.toml` with 2 numbers: "major.minor". Si
|
||||
|
||||
```
|
||||
cd build_dir
|
||||
sh /source_path/cargo.sh /source_path '' update
|
||||
sh /source_path/cargo.sh '' update
|
||||
ninja test
|
||||
```
|
||||
|
||||
19
cargo.sh
Normal file → Executable file
19
cargo.sh
Normal file → Executable file
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# This script manages Cargo operations
|
||||
# while keeping the artifact directory within the build tree
|
||||
@ -6,18 +6,19 @@
|
||||
|
||||
set -e
|
||||
|
||||
SOURCE_DIR="$1"
|
||||
SCRIPT_PATH="$(realpath "$0")"
|
||||
SOURCE_DIR="$(dirname "$SCRIPT_PATH")"
|
||||
|
||||
export CARGO_TARGET_DIR=`pwd`
|
||||
if [ ! -z ${2} ]; then
|
||||
OUT_PATH=`realpath "${2}"`
|
||||
CARGO_TARGET_DIR="$(pwd)"
|
||||
export CARGO_TARGET_DIR
|
||||
if [ -n "${1}" ]; then
|
||||
OUT_PATH="$(realpath "$1")"
|
||||
fi
|
||||
|
||||
cd $SOURCE_DIR
|
||||
cd "$SOURCE_DIR"
|
||||
shift
|
||||
shift
|
||||
cargo $BUILD_ARG $@
|
||||
cargo "$@"
|
||||
|
||||
if [ ! -z ${OUT_PATH} ]; then
|
||||
if [ -n "${OUT_PATH}" ]; then
|
||||
cp "${CARGO_TARGET_DIR}"/debug/librs.a "${OUT_PATH}"
|
||||
fi
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Eekboard
|
||||
Exec=eekboard -f
|
||||
Type=Application
|
||||
#AutostartCondition=GSettings org.gnome.desktop.a11y.applications screen-keyboard-enabled
|
||||
X-GNOME-AutoRestart=true
|
||||
@ -1,3 +0,0 @@
|
||||
[D-BUS Service]
|
||||
Name=org.fedorahosted.Eekboard
|
||||
Exec=@bindir@/eekboard-server
|
||||
@ -1,9 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Name=Eekboard
|
||||
GenericName=Eekboard Virtual Keyboard
|
||||
Comment=Virtual Keyboard
|
||||
Exec=eekboard
|
||||
Icon=eekboard
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=GTK;Utility;
|
||||
90
data/keyboards/de.yaml
Normal file
90
data/keyboards/de.yaml
Normal file
@ -0,0 +1,90 @@
|
||||
# German layout by Mark Müller
|
||||
# Version 2019111700
|
||||
---
|
||||
bounds: { x: 0, y: 1, width: 360, height: 208 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
bounds: { x: 0, y: 0, width: 35.33, height: 52 }
|
||||
altline:
|
||||
bounds: { x: 0, y: 0, width: 52.67, height: 52 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
spaceline:
|
||||
bounds: { x: 0, y: 0, width: 99.67, height: 52 }
|
||||
special:
|
||||
bounds: { x: 0, y: 0, 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"
|
||||
keysym: "BackSpace"
|
||||
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: " "
|
||||
keysym: "space"
|
||||
Return:
|
||||
outline: "altline"
|
||||
icon: "key-enter"
|
||||
keysym: "Return"
|
||||
196
data/keyboards/el.yaml
Normal file
196
data/keyboards/el.yaml
Normal file
@ -0,0 +1,196 @@
|
||||
# Greek layout created by Antonis Tsolomitis
|
||||
# University of the Aegean, Department of Mathematics, atsol@aegean.gr
|
||||
# Sep 2019
|
||||
---
|
||||
bounds: { x: 0, y: 0.33, width: 360, height: 210 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
bounds: { x: 0, y: 0, width: 32, height: 52 }
|
||||
altline:
|
||||
bounds: { x: 0, y: 0, width: 48.39024, height: 52 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
outline7:
|
||||
bounds: { x: 0, y: 0, width: 88.97561, height: 52 }
|
||||
spaceline:
|
||||
bounds: { x: 0, y: 0, width: 150.5853, height: 52 }
|
||||
|
||||
views:
|
||||
base:
|
||||
- "; ς ε ρ τ υ θ ι ο π !"
|
||||
- "α σ δ φ γ η ξ κ λ show_accented"
|
||||
- "Shift_L ζ χ ψ ω β ν μ , BackSpace"
|
||||
- "show_numbers preferences space period Return"
|
||||
upper:
|
||||
- ": EuroSign Ε Ρ Τ Υ Θ Ι Ο Π"
|
||||
- "Α Σ Δ Φ Γ Η Ξ Κ Λ show_accented"
|
||||
- "Shift_L Ζ Χ Ψ Ω Β Ν Μ · BackSpace"
|
||||
- "show_numbers preferences space « » Return"
|
||||
accented:
|
||||
- "ά έ ή ί ό ύ ώ ϊ ϋ ΐ"
|
||||
- "ΰ Ά Έ Ή Ί Ό Ύ Ώ Ϊ show_base"
|
||||
- "Ϋ Ϗ ϐ ϑ ϕ ϖ ϗ – — BackSpace"
|
||||
- "show_numbers preferences space quoteleft quoteright 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 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 Return"
|
||||
buttons:
|
||||
Shift_L:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "upper"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
icon: "key-shift"
|
||||
BackSpace:
|
||||
outline: "altline"
|
||||
icon: "edit-clear-symbolic"
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "altline"
|
||||
icon: "keyboard-mode-symbolic"
|
||||
show_numbers:
|
||||
action:
|
||||
set_view: "numbers"
|
||||
outline: "altline"
|
||||
label: "123"
|
||||
show_letters:
|
||||
action:
|
||||
set_view: "base"
|
||||
outline: "altline"
|
||||
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: "αι"
|
||||
period:
|
||||
outline: "altline"
|
||||
label: "."
|
||||
space:
|
||||
outline: spaceline
|
||||
label: " "
|
||||
Return:
|
||||
outline: "wide"
|
||||
icon: "key-enter"
|
||||
aring:
|
||||
label: "å"
|
||||
Aring:
|
||||
label: "Å"
|
||||
oslash:
|
||||
label: "ø"
|
||||
Oslash:
|
||||
label: "Ø"
|
||||
ae:
|
||||
label: "æ"
|
||||
AE:
|
||||
label: "Æ"
|
||||
asterisk:
|
||||
label: "*"
|
||||
asciitilde:
|
||||
label: "~"
|
||||
quoteleft:
|
||||
label: "`"
|
||||
bar:
|
||||
label: "|"
|
||||
U00B7:
|
||||
label: "·"
|
||||
squareroot:
|
||||
label: "√"
|
||||
Greek_pi:
|
||||
label: "π"
|
||||
division:
|
||||
label: "÷"
|
||||
multiply:
|
||||
label: "×"
|
||||
paragraph:
|
||||
label: "¶"
|
||||
Greek_tau:
|
||||
label: "τ"
|
||||
copyright:
|
||||
label: "©"
|
||||
numbersign:
|
||||
label: "#"
|
||||
U00AE:
|
||||
label: "®"
|
||||
at:
|
||||
label: "@"
|
||||
dollar:
|
||||
label: "$"
|
||||
U00A3:
|
||||
label: "£"
|
||||
percent:
|
||||
label: "%"
|
||||
EuroSign:
|
||||
label: "€"
|
||||
ampersand:
|
||||
label: "&"
|
||||
U00A5:
|
||||
label: "¥"
|
||||
minus:
|
||||
label: "-"
|
||||
asciicircum:
|
||||
label: "^"
|
||||
underscore:
|
||||
label: "_"
|
||||
degree:
|
||||
label: "°"
|
||||
plus:
|
||||
label: "+"
|
||||
equal:
|
||||
label: "="
|
||||
parenleft:
|
||||
label: "("
|
||||
parenright:
|
||||
label: ")"
|
||||
braceleft:
|
||||
label: "{"
|
||||
braceright:
|
||||
label: "}"
|
||||
comma:
|
||||
label: ","
|
||||
backslash:
|
||||
label: "\\"
|
||||
slash:
|
||||
label: "/"
|
||||
quotedbl:
|
||||
label: "\""
|
||||
quoteright:
|
||||
label: "'"
|
||||
less:
|
||||
label: "<"
|
||||
greater:
|
||||
label: ">"
|
||||
colon:
|
||||
label: ":"
|
||||
semicolon:
|
||||
label: ";"
|
||||
exclam:
|
||||
label: "!"
|
||||
question:
|
||||
label: "?"
|
||||
bracketleft:
|
||||
label: "["
|
||||
bracketright:
|
||||
label: "]"
|
||||
|
||||
93
data/keyboards/es.yaml
Normal file
93
data/keyboards/es.yaml
Normal file
@ -0,0 +1,93 @@
|
||||
---
|
||||
bounds: { x: 0, y: 1, width: 360, height: 210 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
bounds: { x: 0, y: 0, width: 35.33, height: 52 }
|
||||
altline:
|
||||
bounds: { x: 0, y: 0, width: 52.67, height: 52 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
spaceline:
|
||||
bounds: { x: 0, y: 0, width: 99.67, height: 52 }
|
||||
special:
|
||||
bounds: { x: 0, y: 0, 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 show_eschars preferences space ? period 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 show_eschars preferences space ¿ period Return"
|
||||
numbers:
|
||||
- "1 2 3 4 5 6 7 8 9 0"
|
||||
- "@ # € % & - _ + ( )"
|
||||
- "show_symbols , \" ' colon ; ! = BackSpace"
|
||||
- "show_letters show_eschars preferences space ? period Return"
|
||||
symbols:
|
||||
- "~ ` | · √ π τ ÷ × ¶"
|
||||
- "© ® £ $ ¥ ^ ° * { }"
|
||||
- "show_numbers \\ / < > = [ ] BackSpace"
|
||||
- "show_letters show_eschars preferences space ? period 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"
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "default"
|
||||
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: "áÁ"
|
||||
|
||||
period:
|
||||
outline: "default"
|
||||
label: "."
|
||||
space:
|
||||
outline: "spaceline"
|
||||
label: " "
|
||||
Return:
|
||||
outline: "altline"
|
||||
icon: "key-enter"
|
||||
colon:
|
||||
label: ":"
|
||||
"\"":
|
||||
keysym: "quotedbl"
|
||||
176
data/keyboards/fi.yaml
Normal file
176
data/keyboards/fi.yaml
Normal file
@ -0,0 +1,176 @@
|
||||
---
|
||||
bounds: { x: 0, y: 0.33, width: 360, height: 210 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
bounds: { x: 0, y: 0, width: 32, height: 52 }
|
||||
altline:
|
||||
bounds: { x: 0, y: 0, width: 48.39024, height: 52 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
outline7:
|
||||
bounds: { x: 0, y: 0, width: 88.97561, height: 52 }
|
||||
spaceline:
|
||||
bounds: { x: 0, y: 0, width: 150.5853, 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 . 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 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 EuroSign U00A5 asciicircum degree asterisk braceleft braceright"
|
||||
- "show_numbers 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"
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "altline"
|
||||
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: "*/="
|
||||
".":
|
||||
outline: altline
|
||||
space:
|
||||
outline: spaceline
|
||||
label: " "
|
||||
Return:
|
||||
outline: "wide"
|
||||
icon: "key-enter"
|
||||
aring:
|
||||
label: "å"
|
||||
Aring:
|
||||
label: "Å"
|
||||
ouml:
|
||||
label: "ö"
|
||||
Ouml:
|
||||
label: "Ö"
|
||||
auml:
|
||||
label: "ä"
|
||||
Auml:
|
||||
label: "Ä"
|
||||
asterisk:
|
||||
label: "*"
|
||||
asciitilde:
|
||||
label: "~"
|
||||
quoteleft:
|
||||
label: "`"
|
||||
bar:
|
||||
label: "|"
|
||||
U00B7:
|
||||
label: "·"
|
||||
squareroot:
|
||||
label: "√"
|
||||
Greek_pi:
|
||||
label: "π"
|
||||
division:
|
||||
label: "÷"
|
||||
multiply:
|
||||
label: "×"
|
||||
paragraph:
|
||||
label: "¶"
|
||||
Greek_tau:
|
||||
label: "τ"
|
||||
copyright:
|
||||
label: "©"
|
||||
numbersign:
|
||||
label: "#"
|
||||
U00AE:
|
||||
label: "®"
|
||||
at:
|
||||
label: "@"
|
||||
dollar:
|
||||
label: "$"
|
||||
U00A3:
|
||||
label: "£"
|
||||
percent:
|
||||
label: "%"
|
||||
EuroSign:
|
||||
label: "€"
|
||||
ampersand:
|
||||
label: "&"
|
||||
U00A5:
|
||||
label: "¥"
|
||||
minus:
|
||||
label: "-"
|
||||
asciicircum:
|
||||
label: "^"
|
||||
underscore:
|
||||
label: "_"
|
||||
degree:
|
||||
label: "°"
|
||||
plus:
|
||||
label: "+"
|
||||
equal:
|
||||
label: "="
|
||||
parenleft:
|
||||
label: "("
|
||||
parenright:
|
||||
label: ")"
|
||||
braceleft:
|
||||
label: "{"
|
||||
braceright:
|
||||
label: "}"
|
||||
comma:
|
||||
label: ","
|
||||
backslash:
|
||||
label: "\\"
|
||||
slash:
|
||||
label: "/"
|
||||
quotedbl:
|
||||
label: "\""
|
||||
quoteright:
|
||||
label: "'"
|
||||
less:
|
||||
label: "<"
|
||||
greater:
|
||||
label: ">"
|
||||
colon:
|
||||
label: ":"
|
||||
semicolon:
|
||||
label: ";"
|
||||
exclam:
|
||||
label: "!"
|
||||
question:
|
||||
label: "?"
|
||||
bracketleft:
|
||||
label: "["
|
||||
bracketright:
|
||||
label: "]"
|
||||
|
||||
97
data/keyboards/it.yaml
Normal file
97
data/keyboards/it.yaml
Normal file
@ -0,0 +1,97 @@
|
||||
# Italian layout created by Antonio Pandolfo
|
||||
# 03 october 2019
|
||||
---
|
||||
bounds: { x: 0, y: 1, width: 360, height: 210 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
bounds: { x: 0, y: 0, width: 35.33, height: 52 }
|
||||
altline:
|
||||
bounds: { x: 0, y: 0, width: 52.67, height: 52 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
spaceline:
|
||||
bounds: { x: 0, y: 0, width: 99.67, height: 52 }
|
||||
special:
|
||||
bounds: { x: 0, y: 0, 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 show_eschars preferences space , period 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 show_eschars preferences space ? period Return"
|
||||
numbers:
|
||||
- "1 2 3 4 5 6 7 8 9 0"
|
||||
- "@ # € % & - _ + ( )"
|
||||
- "show_symbols , \" ' colon ; ! ? BackSpace"
|
||||
- "show_letters show_eschars preferences space ? period Return"
|
||||
symbols:
|
||||
- "~ ` | · √ π τ ÷ × ¶"
|
||||
- "© ® £ $ ¥ ^ ° * { }"
|
||||
- "show_numbers \\ / < > = [ ] BackSpace"
|
||||
- "show_letters show_eschars preferences space ? period 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"
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "default"
|
||||
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_symbols:
|
||||
action:
|
||||
set_view: "symbols"
|
||||
outline: "altline"
|
||||
label: "*/="
|
||||
show_eschars:
|
||||
action:
|
||||
set_view: "eschars"
|
||||
outline: "altline"
|
||||
label: "àè"
|
||||
period:
|
||||
outline: "default"
|
||||
label: "."
|
||||
space:
|
||||
outline: "spaceline"
|
||||
label: " "
|
||||
Return:
|
||||
outline: "altline"
|
||||
icon: "key-enter"
|
||||
colon:
|
||||
label: ":"
|
||||
"\"":
|
||||
keysym: "quotedbl"
|
||||
533
data/keyboards/jp+kana.yaml
Normal file
533
data/keyboards/jp+kana.yaml
Normal file
@ -0,0 +1,533 @@
|
||||
# Japanese Kana layout by Mark Müller
|
||||
# Version 2019111800
|
||||
---
|
||||
bounds: { x: 0, y: 1, width: 360, height: 208 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
default-wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
altline:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
special:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
|
||||
views:
|
||||
base: # hiragana
|
||||
- "preferences _a ka sa BackSpace"
|
||||
- "Left ta na ha Right"
|
||||
- "カタカナ ma ya ra space"
|
||||
- "switch2roman symbols wa punct Return"
|
||||
_a:
|
||||
- "preferences dummykey _a dummykey BackSpace"
|
||||
- "あ い う え お"
|
||||
- "ぁ ぃ ぅ ぇ ぉ" # 2 code points each
|
||||
- "dummykey dummykey ゔ dummykey dummykey"
|
||||
ka:
|
||||
- "preferences dummykey ka dummykey BackSpace"
|
||||
- "か き く け こ"
|
||||
- "が ぎ ぐ げ ご"
|
||||
- "ゕ dummykey dummykey ゖ dummykey"
|
||||
sa:
|
||||
- "preferences dummykey sa dummykey BackSpace"
|
||||
- "さ し す せ そ"
|
||||
- "ざ じ ず ぜ ぞ"
|
||||
ta:
|
||||
- "preferences dummykey ta dummykey BackSpace"
|
||||
- "た ち つ て と"
|
||||
- "だ ぢ づ で ど"
|
||||
- "dummykey dummykey っ dummykey dummykey"
|
||||
na:
|
||||
- "preferences dummykey na dummykey BackSpace"
|
||||
- "な に ぬ ね の"
|
||||
ha:
|
||||
- "preferences dummykey ha dummykey BackSpace"
|
||||
- "は ひ ふ へ ほ"
|
||||
- "ば び ぶ べ ぼ"
|
||||
- "ぱ ぴ ぷ ぺ ぽ"
|
||||
ma:
|
||||
- "preferences dummykey ma dummykey BackSpace"
|
||||
- "ま み む め も"
|
||||
ya:
|
||||
- "preferences dummykey ya dummykey BackSpace"
|
||||
- "や dummykey ゆ dummykey よ"
|
||||
- "ゃ dummykey ゅ dummykey ょ"
|
||||
ra:
|
||||
- "preferences dummykey ra dummykey BackSpace"
|
||||
- "ら り る れ ろ"
|
||||
wa:
|
||||
- "preferences dummykey wa dummykey BackSpace"
|
||||
- "わ ゐ dummykey ゑ を"
|
||||
- "ゎ dummykey ん dummykey dummykey"
|
||||
symbols:
|
||||
- "preferences dummykey symbols dummykey BackSpace"
|
||||
- "「 」 ( ) §"
|
||||
- "【 】 < > ="
|
||||
- "+ * & % $ "
|
||||
punct:
|
||||
- "preferences dummykey punct dummykey BackSpace"
|
||||
- "。 、 ? ! ー"
|
||||
|
||||
- ": ; ・ 〜 …"
|
||||
- "♪ ” ’ ゙ ゚"
|
||||
|
||||
#a あア かカ さサ たタ なナ はハ まマ やヤ らラ わワ
|
||||
#i いイ きキ しシ ちチ にニ ひヒ みミ ※ りリ ゐヰ
|
||||
#u うウ くク すス つツ ぬヌ ふフ むム ゆユ るル ※
|
||||
#e えエ けケ せセ てテ ねネ へヘ めメ ※ れレ ゑヱ
|
||||
#o おオ こコ そソ とト のノ ほホ もモ よヨ ろロ をヲ
|
||||
|
||||
# g z d b p n
|
||||
#a が ガ ざ ザ だ ダ ば バ ぱ パ ん ン
|
||||
#i ぎ ギ じ ジ ぢ ヂ び ビ ぴ ピ
|
||||
#u ぐ グ ず ズ づ ヅ ぶ ブ ぷ プ
|
||||
#e げ ゲ ぜ ゼ で デ べ ベ ぺ ペ
|
||||
#o ご ゴ ぞ ゾ ど ド ぼ ボ ぽ ポ
|
||||
|
||||
カタカナ: # katakana
|
||||
- "preferences _A KA SA BackSpace"
|
||||
- "Left TA NA HA Right"
|
||||
- "ひらがな MA YA RA space"
|
||||
- "switch2roman SYMBOLS WA PUNCT Return"
|
||||
_A:
|
||||
- "preferences DUMMYKEY _A DUMMYKEY BackSpace"
|
||||
- "ア イ ウ エ オ"
|
||||
- "ァ ィ ゥ ェ ォ"
|
||||
- "DUMMYKEY DUMMYKEY ヴ DUMMYKEY DUMMYKEY"
|
||||
KA:
|
||||
- "preferences DUMMYKEY KA DUMMYKEY BackSpace"
|
||||
- "カ キ ク ケ コ"
|
||||
- "ガ ギ グ ゲ ゴ"
|
||||
- "ヵ DUMMYKEY ㇰ ヶ DUMMYKEY"
|
||||
SA:
|
||||
- "preferences DUMMYKEY SA DUMMYKEY BackSpace"
|
||||
- "サ シ ス セ ソ"
|
||||
- "ザ ジ ズ ゼ ゾ"
|
||||
- "DUMMYKEY ㇱ ㇲ DUMMYKEY DUMMYKEY"
|
||||
TA:
|
||||
- "preferences DUMMYKEY TA DUMMYKEY BackSpace"
|
||||
- "タ チ ツ テ ト"
|
||||
- "ダ ヂ ヅ デ ド"
|
||||
- "DUMMYKEY DUMMYKEY ッ DUMMYKEY ㇳ"
|
||||
NA:
|
||||
- "preferences DUMMYKEY NA DUMMYKEY BackSpace"
|
||||
- "ナ ニ ヌ ネ ノ"
|
||||
- "DUMMYKEY DUMMYKEY ㇴ DUMMYKEY DUMMYKEY"
|
||||
HA:
|
||||
- "preferences DUMMYKEY HA DUMMYKEY BackSpace"
|
||||
- "ハ ヒ フ ヘ ホ"
|
||||
- "バ ビ ブ ベ ボ"
|
||||
- "パ ピ プ ペ ポ"
|
||||
MA:
|
||||
- "preferences DUMMYKEY MA DUMMYKEY BackSpace"
|
||||
- "マ ミ ム メ モ"
|
||||
- "DUMMYKEY DUMMYKEY ㇺ DUMMYKEY DUMMYKEY"
|
||||
YA:
|
||||
- "preferences DUMMYKEY YA DUMMYKEY BackSpace"
|
||||
- "ヤ DUMMYKEY ユ DUMMYKEY ヨ"
|
||||
- "ャ DUMMYKEY ュ DUMMYKEY ョ"
|
||||
RA:
|
||||
- "preferences DUMMYKEY RA DUMMYKEY BackSpace"
|
||||
- "ラ リ ル レ ロ"
|
||||
- "ㇻ ㇼ ㇽ ㇾ ㇿ"
|
||||
WA:
|
||||
- "preferences DUMMYKEY WA DUMMYKEY BackSpace"
|
||||
- "ワ ヰ DUMMYKEY ヱ ヲ"
|
||||
- "ヮ ヸ ン ヹ ヺ"
|
||||
# numbers view
|
||||
numbers:
|
||||
- "preferences 1 2 3 BackSpace"
|
||||
- "Left 4 5 6 Right"
|
||||
- "roman 7 8 9 space"
|
||||
- "switch2kana * 0 # Return"
|
||||
# Roman alphabet view
|
||||
roman:
|
||||
- "preferences RSYM1 ABC DEF BackSpace"
|
||||
- "Left GHI JKL MNO Right"
|
||||
- "ひらがな PQRS TUV WXYZ space"
|
||||
- "switch2num RSYM2 RSYM3 RSYM4 Return"
|
||||
RSYM1:
|
||||
- "preferences dummykey RSYM1 dummykey BackSpace"
|
||||
- "@ # $ § :"
|
||||
- "| € ¥ £ 1"
|
||||
ABC:
|
||||
- "preferences dummykey ABC dummykey BackSpace"
|
||||
- "A B C Ä ç"
|
||||
- "a b c ä 2"
|
||||
DEF:
|
||||
- "preferences dummykey DEF dummykey BackSpace"
|
||||
- "D E F dummykey"
|
||||
- "d e f 3"
|
||||
GHI:
|
||||
- "preferences dummykey GHI dummykey BackSpace"
|
||||
- "G H I dummykey"
|
||||
- "g h i 4"
|
||||
JKL:
|
||||
- "preferences dummykey JKL dummykey BackSpace"
|
||||
- "J K L dummykey"
|
||||
- "j k l 5"
|
||||
MNO:
|
||||
- "preferences dummykey MNO dummykey BackSpace"
|
||||
- "M N O Ö dummykey"
|
||||
- "m n o ö 6"
|
||||
PQRS:
|
||||
- "preferences dummykey PQRS dummykey BackSpace"
|
||||
- "P Q R S ß"
|
||||
- "p q r s 7"
|
||||
TUV:
|
||||
- "preferences dummykey TUV dummykey BackSpace"
|
||||
- "T U V Ü dummykey"
|
||||
- "t u v ü 8"
|
||||
WXYZ:
|
||||
- "preferences dummykey WXYZ dummykey BackSpace"
|
||||
- "W X Y Z dummykey"
|
||||
- "w x y z 9"
|
||||
RSYM2:
|
||||
- "preferences dummykey RSYM2 dummykey BackSpace"
|
||||
- "( ) ' \" ~"
|
||||
- "[ ] { } _"
|
||||
RSYM3:
|
||||
- "preferences dummykey RSYM3 dummykey BackSpace"
|
||||
- "+ - * / ="
|
||||
- "< > ^ ° 0"
|
||||
RSYM4:
|
||||
- "preferences dummykey RSYM4 dummykey BackSpace"
|
||||
- ", . ? ! ;"
|
||||
- "\\ ´ ` · ¶"
|
||||
|
||||
buttons:
|
||||
# following 4 buttons use the corresponding xkb name as keysym
|
||||
BackSpace:
|
||||
outline: "wide"
|
||||
icon: "edit-clear-symbolic"
|
||||
keysym: "BackSpace"
|
||||
Return:
|
||||
outline: "wide"
|
||||
icon: "key-enter"
|
||||
keysym: "Return"
|
||||
Left:
|
||||
outline: "wide"
|
||||
label: "←"
|
||||
keysym: "Left"
|
||||
Right:
|
||||
outline: "wide"
|
||||
label: "→"
|
||||
keysym: "Right"
|
||||
# special button "preferences" is handled in the code
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "special"
|
||||
icon: "keyboard-mode-symbolic"
|
||||
# space button with unicode keysym for ideographic space
|
||||
space:
|
||||
outline: "default-wide"
|
||||
label: "␣"
|
||||
keysym: "U3000"
|
||||
# switch to number view
|
||||
numbers:
|
||||
action:
|
||||
set_view: "numbers"
|
||||
outline: "wide"
|
||||
label: "123"
|
||||
# switch to latin characters
|
||||
roman:
|
||||
action:
|
||||
set_view: "roman"
|
||||
outline: "wide"
|
||||
label: "ᴀʙᴄ"
|
||||
# toggle button with 3 different states
|
||||
switch2roman: # switch from kana to latin characters view
|
||||
action:
|
||||
set_view: "roman"
|
||||
outline: "wide"
|
||||
label: "あᴀ₁"
|
||||
switch2num: # switch from latin characters to numbers view
|
||||
action:
|
||||
set_view: "numbers"
|
||||
outline: "wide"
|
||||
label: "ぁA₁"
|
||||
switch2kana: # switch from numbers to hiragana view
|
||||
action:
|
||||
set_view: "base"
|
||||
outline: "wide"
|
||||
label: "ぁᴀ1"
|
||||
# Buttons for katakana and symbols
|
||||
ひらがな:
|
||||
action:
|
||||
set_view: "base"
|
||||
outline: "wide"
|
||||
label: "あさ"
|
||||
_a:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "_a"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "あ"
|
||||
ka:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "ka"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "か"
|
||||
sa:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "sa"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "さ"
|
||||
ta:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "ta"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "た"
|
||||
na:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "na"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "な"
|
||||
ha:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "ha"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "は"
|
||||
ma:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "ma"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "ま"
|
||||
ya:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "ya"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "や"
|
||||
ra:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "ra"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "ら"
|
||||
wa:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "wa"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "わ"
|
||||
dummykey:
|
||||
action:
|
||||
set_view: "base"
|
||||
outline: "altline"
|
||||
label: ""
|
||||
# buttons available on different views like symbols and punct should go
|
||||
# back to their corresponding view
|
||||
symbols:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "symbols"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "()"
|
||||
punct:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "punct"
|
||||
unlock_view: "base"
|
||||
outline: "altline"
|
||||
label: "。"
|
||||
# Buttons for katakana and symbols
|
||||
カタカナ:
|
||||
action:
|
||||
set_view: "カタカナ"
|
||||
outline: "wide"
|
||||
label: "アサ"
|
||||
_A:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "_A"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "ア"
|
||||
KA:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "KA"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "カ"
|
||||
SA:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "SA"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "サ"
|
||||
TA:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "TA"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "タ"
|
||||
NA:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "NA"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "ナ"
|
||||
HA:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "HA"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "ハ"
|
||||
MA:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "MA"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "マ"
|
||||
YA:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "YA"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "ヤ"
|
||||
RA:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "RA"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "ラ"
|
||||
WA:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "WA"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "ワ"
|
||||
DUMMYKEY:
|
||||
action:
|
||||
set_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: ""
|
||||
SYMBOLS:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "symbols"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "()"
|
||||
PUNCT:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "punct"
|
||||
unlock_view: "カタカナ"
|
||||
outline: "altline"
|
||||
label: "。"
|
||||
# Buttons for Latin charachters
|
||||
RSYM1:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "RSYM1"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "@#"
|
||||
ABC:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "ABC"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "ᴀʙᴄ"
|
||||
DEF:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "DEF"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "ᴅᴇꜰ"
|
||||
GHI:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "GHI"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "ɢʜɪ"
|
||||
JKL:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "JKL"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "ᴊᴋʟ"
|
||||
MNO:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "MNO"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "ᴍɴᴏ"
|
||||
PQRS:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "PQRS"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "ᴘǫʀs"
|
||||
TUV:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "TUV"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "ᴛᴜᴠ"
|
||||
WXYZ:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "WXYZ"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "ᴡxʏᴢ"
|
||||
RSYM2:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "RSYM2"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "()"
|
||||
RSYM3:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "RSYM3"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: "+-"
|
||||
RSYM4:
|
||||
action:
|
||||
locking:
|
||||
lock_view: "RSYM4"
|
||||
unlock_view: "roman"
|
||||
outline: "altline"
|
||||
label: ",.?"
|
||||
@ -1,41 +1,39 @@
|
||||
---
|
||||
bounds: { x: 0, y: 10, width: 426, height: 229 }
|
||||
bounds: { x: 0, y: 0.33, width: 360, height: 210 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 32, height: 52 }
|
||||
altline:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 48.39024, height: 52 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
outline7:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 88.97561, height: 52 }
|
||||
spaceline:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 150.5853, height: 52 }
|
||||
|
||||
views:
|
||||
base:
|
||||
- "q w e r t y u i o p aring"
|
||||
- "a s d f g h j k l oslash ae"
|
||||
- "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 period Return"
|
||||
- "show_numbers preferences space . Return"
|
||||
upper:
|
||||
- "Q W E R T Y U I O P Aring"
|
||||
- "A S D F G H J K L Oslash AE"
|
||||
- "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 period Return"
|
||||
- "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 Return"
|
||||
- "show_letters preferences space . 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 Return"
|
||||
- "show_letters preferences space . Return"
|
||||
|
||||
buttons:
|
||||
Shift_L:
|
||||
@ -67,14 +65,13 @@ buttons:
|
||||
set_view: "symbols"
|
||||
outline: "altline"
|
||||
label: "*/="
|
||||
period:
|
||||
".":
|
||||
outline: altline
|
||||
label: "."
|
||||
space:
|
||||
outline: spaceline
|
||||
label: " "
|
||||
Return:
|
||||
outline: outline7
|
||||
outline: "wide"
|
||||
icon: "key-enter"
|
||||
aring:
|
||||
label: "å"
|
||||
@ -1,18 +1,14 @@
|
||||
---
|
||||
bounds: { x: 0, y: 10, width: 410, height: 229 }
|
||||
bounds: { x: 0, y: 0.33, width: 360, height: 210 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 37.46341, height: 52 }
|
||||
altline:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 48.39024, height: 52 }
|
||||
outline7:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 88.97561, height: 52 }
|
||||
spaceline:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 120.5853, height: 52 }
|
||||
|
||||
views:
|
||||
|
||||
164
data/keyboards/se.yaml
Normal file
164
data/keyboards/se.yaml
Normal file
@ -0,0 +1,164 @@
|
||||
---
|
||||
bounds: { x: 0, y: 0.33, width: 360, height: 210 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
bounds: { x: 0, y: 0, width: 32, height: 52 }
|
||||
altline:
|
||||
bounds: { x: 0, y: 0, width: 48.39024, height: 52 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
outline7:
|
||||
bounds: { x: 0, y: 0, width: 88.97561, height: 52 }
|
||||
spaceline:
|
||||
bounds: { x: 0, y: 0, width: 150.5853, 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 . 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 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 EuroSign U00A5 asciicircum degree asterisk braceleft braceright"
|
||||
- "show_numbers 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"
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "altline"
|
||||
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: "*/="
|
||||
".":
|
||||
outline: altline
|
||||
space:
|
||||
outline: spaceline
|
||||
label: " "
|
||||
Return:
|
||||
outline: "wide"
|
||||
icon: "key-enter"
|
||||
asterisk:
|
||||
label: "*"
|
||||
asciitilde:
|
||||
label: "~"
|
||||
quoteleft:
|
||||
label: "`"
|
||||
bar:
|
||||
label: "|"
|
||||
U00B7:
|
||||
label: "·"
|
||||
squareroot:
|
||||
label: "√"
|
||||
Greek_pi:
|
||||
label: "π"
|
||||
division:
|
||||
label: "÷"
|
||||
multiply:
|
||||
label: "×"
|
||||
paragraph:
|
||||
label: "¶"
|
||||
Greek_tau:
|
||||
label: "τ"
|
||||
copyright:
|
||||
label: "©"
|
||||
numbersign:
|
||||
label: "#"
|
||||
U00AE:
|
||||
label: "®"
|
||||
at:
|
||||
label: "@"
|
||||
dollar:
|
||||
label: "$"
|
||||
U00A3:
|
||||
label: "£"
|
||||
percent:
|
||||
label: "%"
|
||||
EuroSign:
|
||||
label: "€"
|
||||
ampersand:
|
||||
label: "&"
|
||||
U00A5:
|
||||
label: "¥"
|
||||
minus:
|
||||
label: "-"
|
||||
asciicircum:
|
||||
label: "^"
|
||||
underscore:
|
||||
label: "_"
|
||||
degree:
|
||||
label: "°"
|
||||
plus:
|
||||
label: "+"
|
||||
equal:
|
||||
label: "="
|
||||
parenleft:
|
||||
label: "("
|
||||
parenright:
|
||||
label: ")"
|
||||
braceleft:
|
||||
label: "{"
|
||||
braceright:
|
||||
label: "}"
|
||||
comma:
|
||||
label: ","
|
||||
backslash:
|
||||
label: "\\"
|
||||
slash:
|
||||
label: "/"
|
||||
quotedbl:
|
||||
label: "\""
|
||||
quoteright:
|
||||
label: "'"
|
||||
less:
|
||||
label: "<"
|
||||
greater:
|
||||
label: ">"
|
||||
colon:
|
||||
label: ":"
|
||||
semicolon:
|
||||
label: ";"
|
||||
exclam:
|
||||
label: "!"
|
||||
question:
|
||||
label: "?"
|
||||
bracketleft:
|
||||
label: "["
|
||||
bracketright:
|
||||
label: "]"
|
||||
|
||||
@ -1,181 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ّ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">١</text>
|
||||
<keysym keyval="33">exclam</keysym>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">٢</text>
|
||||
<keysym keyval="64">at</keysym>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">٣</text>
|
||||
<keysym keyval="35">numbersign</keysym>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">٤</text>
|
||||
<keysym keyval="36">dollar</keysym>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">٥</text>
|
||||
<keysym keyval="37">percent</keysym>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">٦</text>
|
||||
<keysym keyval="94">asciicircum</keysym>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">٧</text>
|
||||
<keysym keyval="38">ampersand</keysym>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">٨</text>
|
||||
<keysym keyval="42">asterisk</keysym>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">٩</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">٠</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ض</text>
|
||||
<text category="letter">َ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ص</text>
|
||||
<text category="letter">ً</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ث</text>
|
||||
<text category="letter">ُ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ق</text>
|
||||
<text category="letter">ٌ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ف</text>
|
||||
<text category="letter">لإ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">غ</text>
|
||||
<text category="letter">إ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ع</text>
|
||||
<text category="letter">`</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ه</text>
|
||||
<text category="letter">÷</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">خ</text>
|
||||
<text category="letter">×</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ح</text>
|
||||
<text category="letter">؛</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ج</text>
|
||||
<text category="letter">></text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">د</text>
|
||||
<text category="letter"><</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ش</text>
|
||||
<text category="letter">ِ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">س</text>
|
||||
<text category="letter">ٍ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">ي</text>
|
||||
<text category="letter">]</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ب</text>
|
||||
<text category="letter">[</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ل</text>
|
||||
<text category="letter">لأ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ا</text>
|
||||
<text category="letter">أ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ت</text>
|
||||
<text category="letter">ـ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ن</text>
|
||||
<text category="letter">،</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">م</text>
|
||||
<text category="letter">/</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ك</text>
|
||||
<keysym keyval="58">colon</keysym>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<keysym keyval="34">quotedbl</keysym>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ئ</text>
|
||||
<text category="letter">~</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ء</text>
|
||||
<text category="letter">ْ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ؤ</text>
|
||||
<text category="letter">}</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ر</text>
|
||||
<text category="letter">{</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">لا</text>
|
||||
<text category="letter">لآ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ى</text>
|
||||
<text category="letter">آ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ة</text>
|
||||
<text category="letter">'</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">و</text>
|
||||
<text category="letter">,</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">ز</text>
|
||||
<text category="letter">.</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">ظ</text>
|
||||
<text category="letter">؟</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">~</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">১</text>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">২</text>
|
||||
<text category="letter">@</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">৩</text>
|
||||
<text category="letter">্ৰ</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">৪</text>
|
||||
<text category="letter">ৰ্</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">৫</text>
|
||||
<text category="letter">জ্ঞ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">৬</text>
|
||||
<text category="letter">ত্ৰ</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">৭</text>
|
||||
<text category="letter">ক্ষ</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">৮</text>
|
||||
<text category="letter">শ্ৰ</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">৯</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">০</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ঃ</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ৃ</text>
|
||||
<text category="letter">ঋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ৌ</text>
|
||||
<text category="letter">ঔ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ৈ</text>
|
||||
<text category="letter">ঐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">া</text>
|
||||
<text category="letter">আ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ী</text>
|
||||
<text category="letter">ঈ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ূ</text>
|
||||
<text category="letter">ঊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ব</text>
|
||||
<text category="letter">ভ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">হ</text>
|
||||
<text category="letter">ঙ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">গ</text>
|
||||
<text category="letter">ঘ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">দ</text>
|
||||
<text category="letter">ধ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">জ</text>
|
||||
<text category="letter">ঝ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ড</text>
|
||||
<text category="letter">ঢ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">়</text>
|
||||
<text category="letter">ঞ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">য</text>
|
||||
<text category="letter">|</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ো</text>
|
||||
<text category="letter">ও</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ে</text>
|
||||
<text category="letter">এ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">্</text>
|
||||
<text category="letter">অ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ি</text>
|
||||
<text category="letter">ই</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ু</text>
|
||||
<text category="letter">উ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">প</text>
|
||||
<text category="letter">ফ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ৰ</text>
|
||||
<text category="letter">J</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ক</text>
|
||||
<text category="letter">খ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ত</text>
|
||||
<text category="letter">থ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">চ</text>
|
||||
<text category="letter">ছ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ঠ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ৎ</text>
|
||||
<text category="letter">৺</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ং</text>
|
||||
<text category="letter">ঁ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ম</text>
|
||||
<text category="letter">ণ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ন</text>
|
||||
<text category="letter">V</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ৱ</text>
|
||||
<text category="letter">B</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ল</text>
|
||||
<text category="letter">N</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">স</text>
|
||||
<text category="letter">শ</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ষ</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">য়</text>
|
||||
<keysym keyval="63">question</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">Ё</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<keysym keyval="49">1</keysym>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<keysym keyval="50">2</keysym>
|
||||
<text category="letter">"</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<keysym keyval="51">3</keysym>
|
||||
<text category="letter">№</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<keysym keyval="52">4</keysym>
|
||||
<text category="letter">;</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<keysym keyval="53">5</keysym>
|
||||
<text category="letter">%</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<keysym keyval="54">6</keysym>
|
||||
<text category="letter">:</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<keysym keyval="55">7</keysym>
|
||||
<text category="letter">?</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<keysym keyval="56">8</keysym>
|
||||
<text category="letter">*</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<keysym keyval="57">9</keysym>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<keysym keyval="48">0</keysym>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<keysym keyval="45">minus</keysym>
|
||||
<text category="letter">_</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="61">equal</keysym>
|
||||
<text category="letter">+</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">й</text>
|
||||
<text category="letter">Й</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ц</text>
|
||||
<text category="letter">Ц</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">у</text>
|
||||
<text category="letter">У</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">к</text>
|
||||
<text category="letter">К</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">е</text>
|
||||
<text category="letter">Е</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">н</text>
|
||||
<text category="letter">Н</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">г</text>
|
||||
<text category="letter">Г</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ш</text>
|
||||
<text category="letter">Ш</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">ў</text>
|
||||
<text category="letter">Ў</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">з</text>
|
||||
<text category="letter">З</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">х</text>
|
||||
<text category="letter">Х</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">'</text>
|
||||
<text category="letter">'</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">\</text>
|
||||
<text category="letter">|</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ф</text>
|
||||
<text category="letter">Ф</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ы</text>
|
||||
<text category="letter">Ы</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">в</text>
|
||||
<text category="letter">В</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">а</text>
|
||||
<text category="letter">А</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">п</text>
|
||||
<text category="letter">П</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">р</text>
|
||||
<text category="letter">Р</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">о</text>
|
||||
<text category="letter">О</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">л</text>
|
||||
<text category="letter">Л</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">д</text>
|
||||
<text category="letter">Д</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ж</text>
|
||||
<text category="letter">Ж</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">Э</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">я</text>
|
||||
<text category="letter">Я</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ч</text>
|
||||
<text category="letter">Ч</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">с</text>
|
||||
<text category="letter">С</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">м</text>
|
||||
<text category="letter">М</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">і</text>
|
||||
<text category="letter">І</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">т</text>
|
||||
<text category="letter">Т</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ь</text>
|
||||
<text category="letter">Ь</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">б</text>
|
||||
<text category="letter">Б</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">ю</text>
|
||||
<text category="letter">Ю</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">,</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">~</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">১</text>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">২</text>
|
||||
<text category="letter">@</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">৩</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">৪</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">৫</text>
|
||||
<text category="letter">%</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">৬</text>
|
||||
<text category="letter">^</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">৭</text>
|
||||
<text category="letter">&</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">৮</text>
|
||||
<text category="letter">*</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">৯</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">০</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ঃ</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ৃ</text>
|
||||
<text category="letter">ঋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ৌ</text>
|
||||
<text category="letter">ঔ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ৈ</text>
|
||||
<text category="letter">ঐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">া</text>
|
||||
<text category="letter">আ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ী</text>
|
||||
<text category="letter">ঈ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ূ</text>
|
||||
<text category="letter">ঊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ব</text>
|
||||
<text category="letter">ভ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">হ</text>
|
||||
<text category="letter">ঙ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">গ</text>
|
||||
<text category="letter">ঘ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">দ</text>
|
||||
<text category="letter">ধ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">জ</text>
|
||||
<text category="letter">ঝ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ড</text>
|
||||
<text category="letter">ঢ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">়</text>
|
||||
<text category="letter">ঞ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">\</text>
|
||||
<text category="letter">|</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ো</text>
|
||||
<text category="letter">ও</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ে</text>
|
||||
<text category="letter">এ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">্</text>
|
||||
<text category="letter">অ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ি</text>
|
||||
<text category="letter">ই</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ু</text>
|
||||
<text category="letter">উ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">প</text>
|
||||
<text category="letter">ফ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">র</text>
|
||||
<text category="letter">J</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ক</text>
|
||||
<text category="letter">খ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ত</text>
|
||||
<text category="letter">থ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">চ</text>
|
||||
<text category="letter">ছ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ঠ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">z</text>
|
||||
<text category="letter">Z</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ং</text>
|
||||
<text category="letter">ঁ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ম</text>
|
||||
<text category="letter">ণ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ন</text>
|
||||
<text category="letter">V</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ব</text>
|
||||
<text category="letter">B</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ল</text>
|
||||
<text category="letter">N</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">স</text>
|
||||
<text category="letter">শ</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ষ</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">য়</text>
|
||||
<text category="letter">য</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<keysym keyval="126">asciitilde</keysym>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">۱</text>
|
||||
<keysym keyval="33">exclam</keysym>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">۲</text>
|
||||
<text category="letter">٬</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">۳</text>
|
||||
<text category="letter">٫</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">۴</text>
|
||||
<keysym keyval="36">dollar</keysym>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">۵</text>
|
||||
<text category="letter">٪</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">۶</text>
|
||||
<text category="letter">×</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">۷</text>
|
||||
<text category="letter">،</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">۸</text>
|
||||
<keysym keyval="42">asterisk</keysym>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">۹</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">۰</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<keysym keyval="45">minus</keysym>
|
||||
<keysym keyval="95">underscore</keysym>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="61">equal</keysym>
|
||||
<keysym keyval="43">plus</keysym>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ض</text>
|
||||
<text category="letter">ْ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ص</text>
|
||||
<text category="letter">ٌ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ث</text>
|
||||
<text category="letter">ٍ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ق</text>
|
||||
<text category="letter">ً</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ف</text>
|
||||
<text category="letter">ُ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">غ</text>
|
||||
<text category="letter">ِ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ع</text>
|
||||
<text category="letter">َ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ه</text>
|
||||
<text category="letter">ّ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">خ</text>
|
||||
<text category="letter">]</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ح</text>
|
||||
<text category="letter">[</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ج</text>
|
||||
<text category="letter">}</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">چ</text>
|
||||
<text category="letter">{</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<keysym keyval="92">backslash</keysym>
|
||||
<keysym keyval="124">bar</keysym>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ش</text>
|
||||
<text category="letter">ؤ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">س</text>
|
||||
<text category="letter">ئ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">ی</text>
|
||||
<text category="letter">ي</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ب</text>
|
||||
<text category="letter">إ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ل</text>
|
||||
<text category="letter">أ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ا</text>
|
||||
<text category="letter">آ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ت</text>
|
||||
<text category="letter">ة</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ن</text>
|
||||
<text category="letter">»</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">م</text>
|
||||
<text category="letter">«</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ک</text>
|
||||
<keysym keyval="58">colon</keysym>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">؛</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ظ</text>
|
||||
<text category="letter">ك</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ط</text>
|
||||
<keysym keyval="88">X</keysym>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ز</text>
|
||||
<text category="letter">ژ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ر</text>
|
||||
<keysym keyval="86">V</keysym>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ذ</text>
|
||||
<text category="letter"></text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">د</text>
|
||||
<text name="N" category="letter"></text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">پ</text>
|
||||
<text category="letter">ء</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">و</text>
|
||||
<text category="letter">></text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<keysym keyval="46">period</keysym>
|
||||
<text category="letter"><</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<keysym keyval="47">slash</keysym>
|
||||
<text category="letter">؟</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">~</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">૧</text>
|
||||
<text category="letter">ઍ</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">૨</text>
|
||||
<text category="letter">ૅ</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">૩</text>
|
||||
<text category="letter">ૠ</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">૪</text>
|
||||
<text category="letter">ૄ</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">૫</text>
|
||||
<text category="letter">જ્ઞ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">૬</text>
|
||||
<text category="letter">ત્ર</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">૭</text>
|
||||
<text category="letter">ક્ષ</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">૮</text>
|
||||
<text category="letter">શ્ર</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">૯</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">૦</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ઃ</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ૃ</text>
|
||||
<text category="letter">ઋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ૌ</text>
|
||||
<text category="letter">ઔ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ૈ</text>
|
||||
<text category="letter">ઐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ા</text>
|
||||
<text category="letter">આ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ી</text>
|
||||
<text category="letter">ઈ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ૂ</text>
|
||||
<text category="letter">ઊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">બ</text>
|
||||
<text category="letter">ભ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">હ</text>
|
||||
<text category="letter">ઙ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ગ</text>
|
||||
<text category="letter">ઘ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">દ</text>
|
||||
<text category="letter">ધ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">જ</text>
|
||||
<text category="letter">ઝ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ડ</text>
|
||||
<text category="letter">ઢ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">઼</text>
|
||||
<text category="letter">ઞ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">ૉ</text>
|
||||
<text category="letter">ઑ</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ો</text>
|
||||
<text category="letter">ઓ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ે</text>
|
||||
<text category="letter">એ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">્</text>
|
||||
<text category="letter">અ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">િ</text>
|
||||
<text category="letter">ઇ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ુ</text>
|
||||
<text category="letter">ઉ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">પ</text>
|
||||
<text category="letter">ફ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ર</text>
|
||||
<text category="letter">ઽ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ક</text>
|
||||
<text category="letter">ખ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ત</text>
|
||||
<text category="letter">થ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ચ</text>
|
||||
<text category="letter">છ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ઠ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">૱</text>
|
||||
<text category="letter">ૐ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ં</text>
|
||||
<text category="letter">ઁ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">મ</text>
|
||||
<text category="letter">ણ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ન</text>
|
||||
<text category="letter">"</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">વ</text>
|
||||
<text category="letter">'</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">લ</text>
|
||||
<text category="letter">ળ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">સ</text>
|
||||
<text category="letter">શ</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ષ</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">ય</text>
|
||||
<text category="letter">?</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<keysym keyval="126">asciitilde</keysym>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<keysym keyval="49">1</keysym>
|
||||
<keysym keyval="33">exclam</keysym>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<keysym keyval="50">2</keysym>
|
||||
<keysym keyval="64">at</keysym>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<keysym keyval="51">3</keysym>
|
||||
<keysym keyval="35">numbersign</keysym>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<keysym keyval="52">4</keysym>
|
||||
<keysym keyval="36">dollar</keysym>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<keysym keyval="53">5</keysym>
|
||||
<keysym keyval="37">percent</keysym>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<keysym keyval="54">6</keysym>
|
||||
<keysym keyval="94">asciicircum</keysym>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<keysym keyval="55">7</keysym>
|
||||
<keysym keyval="38">ampersand</keysym>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<keysym keyval="56">8</keysym>
|
||||
<keysym keyval="42">asterisk</keysym>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<keysym keyval="57">9</keysym>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<keysym keyval="48">0</keysym>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<keysym keyval="45">minus</keysym>
|
||||
<keysym keyval="95">underscore</keysym>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="61">equal</keysym>
|
||||
<keysym keyval="43">plus</keysym>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">/</text>
|
||||
<keysym keyval="81">Q</keysym>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">'</text>
|
||||
<keysym keyval="87">W</keysym>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ק</text>
|
||||
<keysym keyval="69">E</keysym>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ר</text>
|
||||
<keysym keyval="82">R</keysym>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">א</text>
|
||||
<keysym keyval="84">T</keysym>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ט</text>
|
||||
<keysym keyval="89">Y</keysym>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ו</text>
|
||||
<keysym keyval="85">U</keysym>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ן</text>
|
||||
<keysym keyval="73">I</keysym>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">ם</text>
|
||||
<keysym keyval="79">O</keysym>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">פ</text>
|
||||
<keysym keyval="80">P</keysym>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">]</text>
|
||||
<text category="letter">}</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">[</text>
|
||||
<text category="letter">{</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<keysym keyval="92">backslash</keysym>
|
||||
<keysym keyval="124">bar</keysym>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ש</text>
|
||||
<keysym keyval="65">A</keysym>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ד</text>
|
||||
<keysym keyval="83">S</keysym>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">ג</text>
|
||||
<keysym keyval="68">D</keysym>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">כ</text>
|
||||
<keysym keyval="70">F</keysym>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ע</text>
|
||||
<keysym keyval="71">G</keysym>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">י</text>
|
||||
<keysym keyval="72">H</keysym>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ח</text>
|
||||
<keysym keyval="74">J</keysym>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ל</text>
|
||||
<keysym keyval="75">K</keysym>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ך</text>
|
||||
<keysym keyval="76">L</keysym>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ף</text>
|
||||
<keysym keyval="58">colon</keysym>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<keysym keyval="34">quotedbl</keysym>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ז</text>
|
||||
<keysym keyval="90">Z</keysym>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ס</text>
|
||||
<keysym keyval="88">X</keysym>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ב</text>
|
||||
<keysym keyval="67">C</keysym>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ה</text>
|
||||
<keysym keyval="86">V</keysym>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">נ</text>
|
||||
<keysym keyval="66">B</keysym>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">מ</text>
|
||||
<keysym keyval="78">N</keysym>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">צ</text>
|
||||
<keysym keyval="77">M</keysym>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">ת</text>
|
||||
<text category="letter">></text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">ץ</text>
|
||||
<text category="letter"><</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">.</text>
|
||||
<keysym keyval="63">question</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ऒ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">१</text>
|
||||
<text category="letter">ऍ</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">२</text>
|
||||
<text category="letter">ॅ</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">३</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">४</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">५</text>
|
||||
<text category="letter">ज्ञ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">६</text>
|
||||
<text category="letter">त्र</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">७</text>
|
||||
<text category="letter">क्ष</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">८</text>
|
||||
<text category="letter">श्र</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">९</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">०</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ः</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ृ</text>
|
||||
<text category="letter">ऋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ौ</text>
|
||||
<text category="letter">औ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ै</text>
|
||||
<text category="letter">ऐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ा</text>
|
||||
<text category="letter">आ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ी</text>
|
||||
<text category="letter">ई</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ू</text>
|
||||
<text category="letter">ऊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ब</text>
|
||||
<text category="letter">भ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ह</text>
|
||||
<text category="letter">ङ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ग</text>
|
||||
<text category="letter">घ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">द</text>
|
||||
<text category="letter">ध</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ज</text>
|
||||
<text category="letter">झ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ड</text>
|
||||
<text category="letter">ढ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">़</text>
|
||||
<text category="letter">ञ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">ॉ</text>
|
||||
<text category="letter">ऑ</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ो</text>
|
||||
<text category="letter">ओ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">े</text>
|
||||
<text category="letter">ए</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">्</text>
|
||||
<text category="letter">अ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ि</text>
|
||||
<text category="letter">इ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ु</text>
|
||||
<text category="letter">उ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">प</text>
|
||||
<text category="letter">फ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">र</text>
|
||||
<text category="letter">ऱ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">क</text>
|
||||
<text category="letter">ख</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">त</text>
|
||||
<text category="letter">थ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">च</text>
|
||||
<text category="letter">छ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ठ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ॆ</text>
|
||||
<text category="letter">ऎ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ं</text>
|
||||
<text category="letter">ँ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">म</text>
|
||||
<text category="letter">ण</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">न</text>
|
||||
<text category="letter">ऩ</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">व</text>
|
||||
<text category="letter">ऴ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ल</text>
|
||||
<text category="letter">ळ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">स</text>
|
||||
<text category="letter">श</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ष</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">य</text>
|
||||
<text category="letter">य़</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,154 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="1246">゛</keysym>
|
||||
<keysym keyval="1247">゜</keysym>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<keysym keyval="1223">ぬ</keysym>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<keysym keyval="1228">ふ</keysym>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<keysym keyval="1201">あ</keysym>
|
||||
<keysym keyval="1191">ぁ</keysym>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<keysym keyval="1203">う</keysym>
|
||||
<keysym keyval="1193">ぅ</keysym>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<keysym keyval="1204">え</keysym>
|
||||
<keysym keyval="1194">ぇ</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<keysym keyval="1205">お</keysym>
|
||||
<keysym keyval="1195">ぉ</keysym>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<keysym keyval="1236">や</keysym>
|
||||
<keysym keyval="1196">ゃ</keysym>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<keysym keyval="1237">ゆ</keysym>
|
||||
<keysym keyval="1197">ゅ</keysym>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<keysym keyval="1238">よ</keysym>
|
||||
<keysym keyval="1198">ょ</keysym>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<keysym keyval="1244">わ</keysym>
|
||||
<keysym keyval="1190">を</keysym>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<keysym keyval="1230">ほ</keysym>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="1229">へ</keysym>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<keysym keyval="1216">た</keysym>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<keysym keyval="1219">て</keysym>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<keysym keyval="1202">い</keysym>
|
||||
<keysym keyval="1192">ぃ</keysym>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<keysym keyval="1213">す</keysym>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<keysym keyval="1206">か</keysym>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<keysym keyval="1245">ん</keysym>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<keysym keyval="1221">な</keysym>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<keysym keyval="1222">に</keysym>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<keysym keyval="1239">ら</keysym>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<keysym keyval="1214">せ</keysym>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<keysym keyval="1233">む</keysym>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<keysym keyval="1243">ろ</keysym>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<keysym keyval="1217">ち</keysym>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<keysym keyval="1220">と</keysym>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<keysym keyval="1212">し</keysym>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<keysym keyval="1226">は</keysym>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<keysym keyval="1207">き</keysym>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<keysym keyval="1208">く</keysym>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<keysym keyval="1231">ま</keysym>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<keysym keyval="1225">の</keysym>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<keysym keyval="1240">り</keysym>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<keysym keyval="1242">れ</keysym>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="1209">け</keysym>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<keysym keyval="1218">つ</keysym>
|
||||
<keysym keyval="1199">っ</keysym>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<keysym keyval="1211">さ</keysym>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<keysym keyval="1215">そ</keysym>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<keysym keyval="1227">ひ</keysym>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<keysym keyval="1210">こ</keysym>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<keysym keyval="1232">み</keysym>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<keysym keyval="1235">も</keysym>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<keysym keyval="1224">ね</keysym>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<keysym keyval="1241">る</keysym>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<keysym keyval="1234">め</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">"</text>
|
||||
<keysym keyval="33">exclam</keysym>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">ә</text>
|
||||
<text category="letter">Ә</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">і</text>
|
||||
<text category="letter">І</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">ӊ</text>
|
||||
<text category="letter">Ӊ</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">ғ</text>
|
||||
<text category="letter">Ғ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">;</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">:</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">ү</text>
|
||||
<text category="letter">Ү</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">ұ</text>
|
||||
<text category="letter">Ұ</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">қ</text>
|
||||
<text category="letter">Қ</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">ө</text>
|
||||
<text category="letter">Ө</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">һ</text>
|
||||
<text category="letter">Һ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">й</text>
|
||||
<text category="letter">Й</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ц</text>
|
||||
<text category="letter">Ц</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">у</text>
|
||||
<text category="letter">У</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">к</text>
|
||||
<text category="letter">К</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">е</text>
|
||||
<text category="letter">Е</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">н</text>
|
||||
<text category="letter">Н</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">г</text>
|
||||
<text category="letter">Г</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ш</text>
|
||||
<text category="letter">Ш</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">щ</text>
|
||||
<text category="letter">Щ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">з</text>
|
||||
<text category="letter">З</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">х</text>
|
||||
<text category="letter">Х</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">ъ</text>
|
||||
<text category="letter">Ъ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<keysym keyval="92">backslash</keysym>
|
||||
<keysym keyval="124">bar</keysym>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ф</text>
|
||||
<text category="letter">Ф</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ы</text>
|
||||
<text category="letter">Ы</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">в</text>
|
||||
<text category="letter">В</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">а</text>
|
||||
<text category="letter">А</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">п</text>
|
||||
<text category="letter">П</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">р</text>
|
||||
<text category="letter">Р</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">о</text>
|
||||
<text category="letter">О</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">л</text>
|
||||
<text category="letter">Л</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">д</text>
|
||||
<text category="letter">Д</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ж</text>
|
||||
<text category="letter">Ж</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">Э</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">я</text>
|
||||
<text category="letter">Я</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ч</text>
|
||||
<text category="letter">Ч</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">с</text>
|
||||
<text category="letter">С</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">м</text>
|
||||
<text category="letter">М</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">и</text>
|
||||
<text category="letter">И</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">т</text>
|
||||
<text category="letter">Т</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ь</text>
|
||||
<text category="letter">Ь</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">б</text>
|
||||
<text category="letter">Б</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">ю</text>
|
||||
<text category="letter">Ю</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">№</text>
|
||||
<keysym keyval="63">question</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ಒ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">೧</text>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">೨</text>
|
||||
<text category="letter">@</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">೩</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">೪</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">೫</text>
|
||||
<text category="letter">ಜ್ಞ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">೬</text>
|
||||
<text category="letter">ತ್ರ</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">೭</text>
|
||||
<text category="letter">ಕ್ಷ</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">೮</text>
|
||||
<text category="letter">ಶ್ರ</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">೯</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">೦</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ಃ</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ೃ</text>
|
||||
<text category="letter">ಋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ೌ</text>
|
||||
<text category="letter">ಔ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ೈ</text>
|
||||
<text category="letter">ಐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ಾ</text>
|
||||
<text category="letter">ಆ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ೀ</text>
|
||||
<text category="letter">ಈ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ೂ</text>
|
||||
<text category="letter">ಊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ಬ</text>
|
||||
<text category="letter">ಭ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ಹ</text>
|
||||
<text category="letter">ಙ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ಗ</text>
|
||||
<text category="letter">ಘ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">ದ</text>
|
||||
<text category="letter">ಧ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ಜ</text>
|
||||
<text category="letter">ಝ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ಡ</text>
|
||||
<text category="letter">ಢ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">]</text>
|
||||
<text category="letter">ಞ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter"></text>
|
||||
<text category="letter">|</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ೋ</text>
|
||||
<text category="letter">ಓ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ೇ</text>
|
||||
<text category="letter">ಏ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">್</text>
|
||||
<text category="letter">ಅ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ಿ</text>
|
||||
<text category="letter">ಇ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ು</text>
|
||||
<text category="letter">ಉ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ಪ</text>
|
||||
<text category="letter">ಫ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ರ</text>
|
||||
<text category="letter">ಱ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ಕ</text>
|
||||
<text category="letter">ಖ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ತ</text>
|
||||
<text category="letter">ಥ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ಚ</text>
|
||||
<text category="letter">ಛ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ಠ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ೆ</text>
|
||||
<text category="letter">ಎ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ಂ</text>
|
||||
<text name="X" category="letter"></text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ಮ</text>
|
||||
<text category="letter">ಣ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ನ</text>
|
||||
<text category="letter"></text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ವ</text>
|
||||
<keysym keyval="66">B</keysym>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ಲ</text>
|
||||
<text category="letter">ಳ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ಸ</text>
|
||||
<text category="letter">ಶ</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ಷ</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">ಾ</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">ಯ</text>
|
||||
<keysym keyval="63">question</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ऒ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">१</text>
|
||||
<text category="letter">ऍ</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">२</text>
|
||||
<text category="letter">ॅ</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">३</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">४</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">५</text>
|
||||
<text category="letter">ज्ञ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">६</text>
|
||||
<text category="letter">त्र</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">७</text>
|
||||
<text category="letter">क्ष</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">८</text>
|
||||
<text category="letter">श्र</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">९</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">०</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ः</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ृ</text>
|
||||
<text category="letter">ऋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ौ</text>
|
||||
<text category="letter">औ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ै</text>
|
||||
<text category="letter">ऐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ा</text>
|
||||
<text category="letter">आ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ी</text>
|
||||
<text category="letter">ई</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ू</text>
|
||||
<text category="letter">ऊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ॿ</text>
|
||||
<text category="letter">भ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ह</text>
|
||||
<text category="letter">ङ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ॻ</text>
|
||||
<text category="letter">घ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">द</text>
|
||||
<text category="letter">ध</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ॼ</text>
|
||||
<text category="letter">झ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ॾ</text>
|
||||
<text category="letter">ढ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">़</text>
|
||||
<text category="letter">ञ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">ॉ</text>
|
||||
<text category="letter">ऑ</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ो</text>
|
||||
<text category="letter">ओ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">े</text>
|
||||
<text category="letter">ए</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">्</text>
|
||||
<text category="letter">अ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ि</text>
|
||||
<text category="letter">इ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<keysym keyval="103">g</keysym>
|
||||
<keysym keyval="71">G</keysym>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">प</text>
|
||||
<text category="letter">फ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">र</text>
|
||||
<text category="letter">ऱ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">क</text>
|
||||
<text category="letter">ख</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">त</text>
|
||||
<text category="letter">थ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">च</text>
|
||||
<text category="letter">छ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ठ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ॆ</text>
|
||||
<text category="letter">ऎ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ं</text>
|
||||
<text category="letter">ँ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">म</text>
|
||||
<text category="letter">ण</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">न</text>
|
||||
<text category="letter">ऩ</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">व</text>
|
||||
<text category="letter">ऴ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ल</text>
|
||||
<text category="letter">ळ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">स</text>
|
||||
<text category="letter">श</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ष</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">य</text>
|
||||
<text category="letter">य़</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ً</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">۱</text>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">۲</text>
|
||||
<text category="letter">@</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">۳</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">۴</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">۵</text>
|
||||
<text category="letter">%</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">۶</text>
|
||||
<text category="letter">^</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">۷</text>
|
||||
<text category="letter">&</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">۸</text>
|
||||
<text category="letter">*</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">۹</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">۰</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ّ</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">=</text>
|
||||
<text category="letter">+</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ق</text>
|
||||
<text category="letter">ﷺ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">و</text>
|
||||
<text category="letter">ؤ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ع</text>
|
||||
<text category="letter">ئ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ر</text>
|
||||
<text category="letter">ڑ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ت</text>
|
||||
<text category="letter">ٹ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ے</text>
|
||||
<text category="letter"></text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ء</text>
|
||||
<text category="letter">،</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ی</text>
|
||||
<text category="letter">ۆ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">ہ</text>
|
||||
<text category="letter">ۃ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">پ</text>
|
||||
<text category="letter">إ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">]</text>
|
||||
<text category="letter">ٰ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">[</text>
|
||||
<text category="letter">ٰ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">؎</text>
|
||||
<text category="letter">أ</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ا</text>
|
||||
<text category="letter">آ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">س</text>
|
||||
<text category="letter">ش</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">د</text>
|
||||
<text category="letter">ڈ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ف</text>
|
||||
<text category="letter">ُ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">گ</text>
|
||||
<text category="letter">غ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ھ</text>
|
||||
<text category="letter">ح</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ج</text>
|
||||
<text category="letter">ژ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ک</text>
|
||||
<text category="letter">خ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ل</text>
|
||||
<text category="letter">ؓ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">؛</text>
|
||||
<text category="letter">:</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">"</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ز</text>
|
||||
<text category="letter">ذ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ص</text>
|
||||
<text category="letter">ض</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">چ</text>
|
||||
<text category="letter">ث</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ط</text>
|
||||
<text category="letter">ظ</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ب</text>
|
||||
<text category="letter">أ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ن</text>
|
||||
<text category="letter">ں</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">م</text>
|
||||
<text category="letter">ٔ</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">،</text>
|
||||
<text category="letter">ِ</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">۔</text>
|
||||
<text category="letter">َ</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">/</text>
|
||||
<text category="letter">؟</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ऒ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">१</text>
|
||||
<text category="letter">ऍ</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">२</text>
|
||||
<text category="letter">ॅ</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">३</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">४</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">५</text>
|
||||
<text category="letter">ज्ञ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">६</text>
|
||||
<text category="letter">त्र</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">७</text>
|
||||
<text category="letter">क्ष</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">८</text>
|
||||
<text category="letter">श्र</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">९</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">०</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ः</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ृ</text>
|
||||
<text category="letter">ऋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ौ</text>
|
||||
<text category="letter">औ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ै</text>
|
||||
<text category="letter">ऐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ा</text>
|
||||
<text category="letter">आ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ी</text>
|
||||
<text category="letter">ई</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ू</text>
|
||||
<text category="letter">ऊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ब</text>
|
||||
<text category="letter">भ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ह</text>
|
||||
<text category="letter">ङ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ग</text>
|
||||
<text category="letter">घ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">द</text>
|
||||
<text category="letter">ध</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ज</text>
|
||||
<text category="letter">झ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ड</text>
|
||||
<text category="letter">ढ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">़</text>
|
||||
<text category="letter">ञ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">ॉ</text>
|
||||
<text category="letter">ऑ</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ो</text>
|
||||
<text category="letter">ओ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">े</text>
|
||||
<text category="letter">ए</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">्</text>
|
||||
<text category="letter">अ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ि</text>
|
||||
<text category="letter">इ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ु</text>
|
||||
<text category="letter">उ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">प</text>
|
||||
<text category="letter">फ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">र</text>
|
||||
<text category="letter">ऱ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">क</text>
|
||||
<text category="letter">ख</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">त</text>
|
||||
<text category="letter">थ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">च</text>
|
||||
<text category="letter">छ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ठ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ॆ</text>
|
||||
<text category="letter">ऎ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ं</text>
|
||||
<text category="letter">ँ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">म</text>
|
||||
<text category="letter">ण</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">न</text>
|
||||
<text category="letter">ऩ</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">व</text>
|
||||
<text category="letter">ऴ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ल</text>
|
||||
<text category="letter">ळ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">स</text>
|
||||
<text category="letter">श</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ष</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">य</text>
|
||||
<text category="letter">य़</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ഒ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">൧</text>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">൨</text>
|
||||
<text category="letter">@</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">൩</text>
|
||||
<text category="letter">്ര</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">൪</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">൫</text>
|
||||
<text category="letter">%</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">൬</text>
|
||||
<text category="letter">^</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">൭</text>
|
||||
<text category="letter">ക്ഷ</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">൮</text>
|
||||
<text category="letter">*</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">൯</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">൦</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ഃ</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ൃ</text>
|
||||
<text category="letter">ഋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ൌ</text>
|
||||
<text category="letter">ഔ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ൈ</text>
|
||||
<text category="letter">ഐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ാ</text>
|
||||
<text category="letter">ആ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ീ</text>
|
||||
<text category="letter">ഈ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ൂ</text>
|
||||
<text category="letter">ഊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ബ</text>
|
||||
<text category="letter">ഭ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ഹ</text>
|
||||
<text category="letter">ങ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ഗ</text>
|
||||
<text category="letter">ഘ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">ദ</text>
|
||||
<text category="letter">ധ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ജ</text>
|
||||
<text category="letter">ഝ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ഡ</text>
|
||||
<text category="letter">ഢ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter"></text>
|
||||
<text category="letter">ഞ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter"></text>
|
||||
<text category="letter">|</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ോ</text>
|
||||
<text category="letter">ഓ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">േ</text>
|
||||
<text category="letter">ഏ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">്</text>
|
||||
<text category="letter">അ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ി</text>
|
||||
<text category="letter">ഇ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ു</text>
|
||||
<text category="letter">ഉ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">പ</text>
|
||||
<text category="letter">ഫ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ര</text>
|
||||
<text category="letter">റ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ക</text>
|
||||
<text category="letter">ഖ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ത</text>
|
||||
<text category="letter">ഥ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ച</text>
|
||||
<text category="letter">ഛ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ഠ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">െ</text>
|
||||
<text category="letter">എ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ം</text>
|
||||
<text category="letter">X</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">മ</text>
|
||||
<text category="letter">ണ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ന</text>
|
||||
<text category="letter">V</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">വ</text>
|
||||
<text category="letter">ഴ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ല</text>
|
||||
<text category="letter">ള</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">സ</text>
|
||||
<text category="letter">ശ</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ഷ</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">></text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">യ</text>
|
||||
<keysym keyval="63">question</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ऒ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">१</text>
|
||||
<text category="letter">ऍ</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">२</text>
|
||||
<text category="letter">ॅ</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">३</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">४</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">५</text>
|
||||
<text category="letter">ज्ञ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">६</text>
|
||||
<text category="letter">त्र</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">७</text>
|
||||
<text category="letter">क्ष</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">८</text>
|
||||
<text category="letter">श्र</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">९</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">०</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ः</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ृ</text>
|
||||
<text category="letter">ऋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ौ</text>
|
||||
<text category="letter">औ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ै</text>
|
||||
<text category="letter">ऐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ा</text>
|
||||
<text category="letter">आ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ी</text>
|
||||
<text category="letter">ई</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ू</text>
|
||||
<text category="letter">ऊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ब</text>
|
||||
<text category="letter">भ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ह</text>
|
||||
<text category="letter">ङ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ग</text>
|
||||
<text category="letter">घ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">द</text>
|
||||
<text category="letter">ध</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ज</text>
|
||||
<text category="letter">झ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ड</text>
|
||||
<text category="letter">ढ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">़</text>
|
||||
<text category="letter">ञ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">ॉ</text>
|
||||
<text category="letter">ऑ</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ो</text>
|
||||
<text category="letter">ओ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">े</text>
|
||||
<text category="letter">ए</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">्</text>
|
||||
<text category="letter">अ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ि</text>
|
||||
<text category="letter">इ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ु</text>
|
||||
<text category="letter">उ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">प</text>
|
||||
<text category="letter">फ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">र</text>
|
||||
<text category="letter">ऱ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">क</text>
|
||||
<text category="letter">ख</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">त</text>
|
||||
<text category="letter">थ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">च</text>
|
||||
<text category="letter">छ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ठ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ॆ</text>
|
||||
<text category="letter">ऎ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ं</text>
|
||||
<text category="letter">ँ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">म</text>
|
||||
<text category="letter">ण</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">न</text>
|
||||
<text category="letter">ऩ</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">व</text>
|
||||
<text category="letter">ऴ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ल</text>
|
||||
<text category="letter">ळ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">स</text>
|
||||
<text category="letter">श</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ष</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">य</text>
|
||||
<text category="letter">य़</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<keysym keyval="126">asciitilde</keysym>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">၁</text>
|
||||
<text category="letter">ဍ</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">၂</text>
|
||||
<keysym keyval="64">at</keysym>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">၃</text>
|
||||
<text category="letter">ဋ</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">၄</text>
|
||||
<keysym keyval="36">dollar</keysym>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">၅</text>
|
||||
<keysym keyval="37">percent</keysym>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">၆</text>
|
||||
<keysym keyval="94">asciicircum</keysym>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">၇</text>
|
||||
<text category="letter">ရ</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">၈</text>
|
||||
<text category="letter">ဂ</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">၉</text>
|
||||
<keysym keyval="40">parenleft</keysym>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">၀</text>
|
||||
<text category="letter">ဝ</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<keysym keyval="45">minus</keysym>
|
||||
<keysym keyval="95">underscore</keysym>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="61">equal</keysym>
|
||||
<keysym keyval="43">plus</keysym>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ဆ</text>
|
||||
<text category="letter">၍</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">တ</text>
|
||||
<keysym keyval="87">W</keysym>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">န</text>
|
||||
<keysym keyval="69">E</keysym>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">မ</text>
|
||||
<keysym keyval="82">R</keysym>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">အ</text>
|
||||
<keysym keyval="84">T</keysym>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ပ</text>
|
||||
<keysym keyval="89">Y</keysym>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">က</text>
|
||||
<keysym keyval="85">U</keysym>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">င</text>
|
||||
<keysym keyval="73">I</keysym>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">သ</text>
|
||||
<text category="letter">ဥ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">စ</text>
|
||||
<text category="letter">ဏ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ဟ</text>
|
||||
<text category="letter">ဎ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">ဉ</text>
|
||||
<text category="letter">ဧ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">၏</text>
|
||||
<keysym keyval="124">bar</keysym>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ေ</text>
|
||||
<text category="letter">ဗ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">္</text>
|
||||
<text category="letter">္</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">ိ</text>
|
||||
<text category="letter">ီ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">္</text>
|
||||
<text category="letter"></text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter"></text>
|
||||
<text category="letter">္</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">့</text>
|
||||
<text category="letter">ံ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">္</text>
|
||||
<text category="letter">ဲ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ု</text>
|
||||
<keysym keyval="75">K</keysym>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ူ</text>
|
||||
<keysym keyval="76">L</keysym>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">း</text>
|
||||
<keysym keyval="58">colon</keysym>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ဓ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ဖ</text>
|
||||
<text category="letter">ဇ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ထ</text>
|
||||
<text category="letter">ဌ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ခ</text>
|
||||
<text category="letter">ဃ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">လ</text>
|
||||
<text category="letter">ဠ</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ဘ</text>
|
||||
<keysym keyval="66">B</keysym>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ည</text>
|
||||
<keysym keyval="78">N</keysym>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ာ</text>
|
||||
<keysym keyval="77">M</keysym>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">ယ</text>
|
||||
<text category="letter">၍</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">ဈ</text>
|
||||
<text category="letter">ဤ</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">။</text>
|
||||
<keysym keyval="63">question</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">୰</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">୧</text>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">୨</text>
|
||||
<text category="letter">@</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">୩</text>
|
||||
<text category="letter">୍ର</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">୪</text>
|
||||
<text category="letter">ର୍</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">୫</text>
|
||||
<text category="letter">ଜ୍ଞ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">୬</text>
|
||||
<text category="letter">ତ୍ର</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">୭</text>
|
||||
<text category="letter">କ୍ଷ</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">୮</text>
|
||||
<text category="letter">ଶ୍ର</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">୯</text>
|
||||
<text category="letter"></text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">୦</text>
|
||||
<text category="letter"></text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ଃ</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ୃ</text>
|
||||
<text category="letter">ଋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ୌ</text>
|
||||
<text category="letter">ଔ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ୈ</text>
|
||||
<text category="letter">ଐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ା</text>
|
||||
<text category="letter">ଆ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ୀ</text>
|
||||
<text category="letter">ଈ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ୂ</text>
|
||||
<text category="letter">ଊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ବ</text>
|
||||
<text category="letter">ଭ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ହ</text>
|
||||
<text category="letter">ଙ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ଗ</text>
|
||||
<text category="letter">ଘ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">ଦ</text>
|
||||
<text category="letter">ଧ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ଜ</text>
|
||||
<text category="letter">ଝ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ଡ</text>
|
||||
<text category="letter">ଢ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">଼</text>
|
||||
<text category="letter">ଞ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">\</text>
|
||||
<text category="letter">|</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ୋ</text>
|
||||
<text category="letter">ଓ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">େ</text>
|
||||
<text category="letter">ଏ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">୍</text>
|
||||
<text category="letter">ଅ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ି</text>
|
||||
<text category="letter">ଇ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ୁ</text>
|
||||
<text category="letter">ଉ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ପ</text>
|
||||
<text category="letter">ଫ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ର</text>
|
||||
<text category="letter">J</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">କ</text>
|
||||
<text category="letter">ଖ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ତ</text>
|
||||
<text category="letter">ଥ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ଚ</text>
|
||||
<text category="letter">ଛ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ଠ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">z</text>
|
||||
<text category="letter">Z</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ଂ</text>
|
||||
<text category="letter">ଁ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ମ</text>
|
||||
<text category="letter">ଣ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ନ</text>
|
||||
<text category="letter">V</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ୱ</text>
|
||||
<text category="letter">ଵ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ଲ</text>
|
||||
<text category="letter">ଳ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ସ</text>
|
||||
<text category="letter">ଶ</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ଷ</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">ୟ</text>
|
||||
<text category="letter">ଯ</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<keysym keyval="126">asciitilde</keysym>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">੧</text>
|
||||
<keysym keyval="33">exclam</keysym>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">੨</text>
|
||||
<keysym keyval="64">at</keysym>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">੩</text>
|
||||
<keysym keyval="35">numbersign</keysym>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">੪</text>
|
||||
<keysym keyval="36">dollar</keysym>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">੫</text>
|
||||
<keysym keyval="37">percent</keysym>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">੬</text>
|
||||
<keysym keyval="94">asciicircum</keysym>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">੭</text>
|
||||
<keysym keyval="38">ampersand</keysym>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">੮</text>
|
||||
<keysym keyval="42">asterisk</keysym>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">੯</text>
|
||||
<keysym keyval="40">parenleft</keysym>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">੦</text>
|
||||
<keysym keyval="41">parenright</keysym>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">_</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">=</text>
|
||||
<text category="letter">+</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ੌ</text>
|
||||
<text category="letter">ਔ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ੈ</text>
|
||||
<text category="letter">ਐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ਾ</text>
|
||||
<text category="letter">ਆ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ੀ</text>
|
||||
<text category="letter">ਈ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ੂ</text>
|
||||
<text category="letter">ਊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ਬ</text>
|
||||
<text category="letter">ਭ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ਹ</text>
|
||||
<text category="letter">ਙ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ਗ</text>
|
||||
<text category="letter">ਘ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">ਦ</text>
|
||||
<text category="letter">ਧ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ਜ</text>
|
||||
<text category="letter">ਝ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ਡ</text>
|
||||
<text category="letter">ਢ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">਼</text>
|
||||
<text category="letter">ਞ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">\</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ੋ</text>
|
||||
<text category="letter">ਓ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ੇ</text>
|
||||
<text category="letter">ਏ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">੍</text>
|
||||
<text category="letter">ਅ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ਿ</text>
|
||||
<text category="letter">ਇ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ੁ</text>
|
||||
<text category="letter">ਉ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ਪ</text>
|
||||
<text category="letter">ਫ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ਰ</text>
|
||||
<text category="letter">ੜ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ਕ</text>
|
||||
<text category="letter">ਖ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ਤ</text>
|
||||
<text category="letter">ਥ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ਚ</text>
|
||||
<text category="letter">ਛ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ਠ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ੰ</text>
|
||||
<text category="letter">ੱ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ਜ਼</text>
|
||||
<text category="letter">ਫ਼</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ਮ</text>
|
||||
<text category="letter">ਣ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ਨ</text>
|
||||
<text category="letter">ਂ</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ਵ</text>
|
||||
<text category="letter">ਞ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ਲ</text>
|
||||
<text category="letter">ਲ਼</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ਸ</text>
|
||||
<text category="letter">ਸ਼</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ੳ</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">ੲ</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">ਯ</text>
|
||||
<text category="letter">?</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">Ё</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<keysym keyval="49">1</keysym>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<keysym keyval="50">2</keysym>
|
||||
<text category="letter">"</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<keysym keyval="51">3</keysym>
|
||||
<text category="letter">№</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<keysym keyval="52">4</keysym>
|
||||
<text category="letter">;</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<keysym keyval="53">5</keysym>
|
||||
<text category="letter">%</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<keysym keyval="54">6</keysym>
|
||||
<text category="letter">:</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<keysym keyval="55">7</keysym>
|
||||
<text category="letter">?</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<keysym keyval="56">8</keysym>
|
||||
<text category="letter">*</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<keysym keyval="57">9</keysym>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<keysym keyval="48">0</keysym>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<keysym keyval="45">minus</keysym>
|
||||
<text category="letter">_</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="61">equal</keysym>
|
||||
<text category="letter">+</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">й</text>
|
||||
<text category="letter">Й</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ц</text>
|
||||
<text category="letter">Ц</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">у</text>
|
||||
<text category="letter">У</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">к</text>
|
||||
<text category="letter">К</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">е</text>
|
||||
<text category="letter">Е</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">н</text>
|
||||
<text category="letter">Н</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">г</text>
|
||||
<text category="letter">Г</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ш</text>
|
||||
<text category="letter">Ш</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">щ</text>
|
||||
<text category="letter">Щ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">з</text>
|
||||
<text category="letter">З</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">х</text>
|
||||
<text category="letter">Х</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">ъ</text>
|
||||
<text category="letter">Ъ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">\</text>
|
||||
<text category="letter">|</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ф</text>
|
||||
<text category="letter">Ф</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ы</text>
|
||||
<text category="letter">Ы</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">в</text>
|
||||
<text category="letter">В</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">а</text>
|
||||
<text category="letter">А</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">п</text>
|
||||
<text category="letter">П</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">р</text>
|
||||
<text category="letter">Р</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">о</text>
|
||||
<text category="letter">О</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">л</text>
|
||||
<text category="letter">Л</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">д</text>
|
||||
<text category="letter">Д</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ж</text>
|
||||
<text category="letter">Ж</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">Э</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">я</text>
|
||||
<text category="letter">Я</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ч</text>
|
||||
<text category="letter">Ч</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">с</text>
|
||||
<text category="letter">С</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">м</text>
|
||||
<text category="letter">М</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">и</text>
|
||||
<text category="letter">И</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">т</text>
|
||||
<text category="letter">Т</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ь</text>
|
||||
<text category="letter">Ь</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">б</text>
|
||||
<text category="letter">Б</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">ю</text>
|
||||
<text category="letter">Ю</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">,</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ऒ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">१</text>
|
||||
<text category="letter">ऍ</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">२</text>
|
||||
<text category="letter">ॅ</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">३</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">४</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">५</text>
|
||||
<text category="letter">ज्ञ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">६</text>
|
||||
<text category="letter">त्र</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">७</text>
|
||||
<text category="letter">क्ष</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">८</text>
|
||||
<text category="letter">श्र</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">९</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">०</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ः</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ृ</text>
|
||||
<text category="letter">ऋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ौ</text>
|
||||
<text category="letter">औ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ै</text>
|
||||
<text category="letter">ऐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ा</text>
|
||||
<text category="letter">आ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ी</text>
|
||||
<text category="letter">ई</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ू</text>
|
||||
<text category="letter">ऊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ॿ</text>
|
||||
<text category="letter">भ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ह</text>
|
||||
<text category="letter">ङ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ॻ</text>
|
||||
<text category="letter">घ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">द</text>
|
||||
<text category="letter">ध</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ॼ</text>
|
||||
<text category="letter">झ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">ॾ</text>
|
||||
<text category="letter">ढ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">़</text>
|
||||
<text category="letter">ञ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">ॉ</text>
|
||||
<text category="letter">ऑ</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ो</text>
|
||||
<text category="letter">ओ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">े</text>
|
||||
<text category="letter">ए</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">्</text>
|
||||
<text category="letter">अ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ि</text>
|
||||
<text category="letter">इ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ु</text>
|
||||
<text category="letter">उ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">प</text>
|
||||
<text category="letter">फ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">र</text>
|
||||
<text category="letter">ऱ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">क</text>
|
||||
<text category="letter">ख</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">त</text>
|
||||
<text category="letter">थ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">च</text>
|
||||
<text category="letter">छ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ठ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ॆ</text>
|
||||
<text category="letter">ऎ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ं</text>
|
||||
<text category="letter">ँ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">म</text>
|
||||
<text category="letter">ण</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">न</text>
|
||||
<text category="letter">ऩ</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">व</text>
|
||||
<text category="letter">ऴ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ल</text>
|
||||
<text category="letter">ळ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">स</text>
|
||||
<text category="letter">श</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ष</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">।</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">य</text>
|
||||
<text category="letter">य़</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ஒ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">1</text>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">2</text>
|
||||
<text category="letter">@</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">3</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">4</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">5</text>
|
||||
<text category="letter">%</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">6</text>
|
||||
<text category="letter">^</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">7</text>
|
||||
<text category="letter">க்ஷ</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">8</text>
|
||||
<text category="letter">ஷ்ர</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">9</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">0</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">ஃ</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">=</text>
|
||||
<text category="letter">+</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ௌ</text>
|
||||
<text category="letter">ஔ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ை</text>
|
||||
<text category="letter">ஐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ா</text>
|
||||
<text category="letter">ஆ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ீ</text>
|
||||
<text category="letter">ஈ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ூ</text>
|
||||
<text category="letter">ஊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">y</text>
|
||||
<text category="letter">Y</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ஹ</text>
|
||||
<text category="letter">ங</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">i</text>
|
||||
<text category="letter">I</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">o</text>
|
||||
<text category="letter">O</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ஜ</text>
|
||||
<text category="letter">P</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">[</text>
|
||||
<text category="letter">{</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">]</text>
|
||||
<text category="letter">ஞ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">\</text>
|
||||
<text category="letter">|</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ோ</text>
|
||||
<text category="letter">ஓ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ே</text>
|
||||
<text category="letter">ஏ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">்</text>
|
||||
<text category="letter">அ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ி</text>
|
||||
<text category="letter">இ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ு</text>
|
||||
<text category="letter">உ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ப</text>
|
||||
<text category="letter">H</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ர</text>
|
||||
<text category="letter">ற</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">க</text>
|
||||
<text category="letter">K</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">த</text>
|
||||
<text category="letter">L</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ச</text>
|
||||
<text category="letter">:</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">"</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ெ</text>
|
||||
<text category="letter">எ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">x</text>
|
||||
<text category="letter">X</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ம</text>
|
||||
<text category="letter">ண</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ந</text>
|
||||
<text category="letter">ன</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">வ</text>
|
||||
<text category="letter">ழ</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ல</text>
|
||||
<text category="letter">ள</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ஸ</text>
|
||||
<text category="letter">M</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ஷ</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">></text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">ய</text>
|
||||
<keysym keyval="63">question</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,194 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">ఒ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">౧</text>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">౨</text>
|
||||
<text category="letter">@</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">౩</text>
|
||||
<text category="letter">#</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">౪</text>
|
||||
<text category="letter">$</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">౫</text>
|
||||
<text category="letter">జ్ఞ</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">౬</text>
|
||||
<text category="letter">త్ర</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">౭</text>
|
||||
<text category="letter">క్ష</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">౮</text>
|
||||
<text category="letter">శ్ర</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">౯</text>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">౦</text>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">-</text>
|
||||
<text category="letter">_</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<text category="letter">ృ</text>
|
||||
<text category="letter">ఋ</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ౌ</text>
|
||||
<text category="letter">ఔ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ై</text>
|
||||
<text category="letter">ఐ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ా</text>
|
||||
<text category="letter">ఆ</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ీ</text>
|
||||
<text category="letter">ఈ</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ూ</text>
|
||||
<text category="letter">ఊ</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">బ</text>
|
||||
<text category="letter">భ</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">హ</text>
|
||||
<text category="letter">ఙ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">గ</text>
|
||||
<text category="letter">ఘ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">ద</text>
|
||||
<text category="letter">ధ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">జ</text>
|
||||
<text category="letter">ఝ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">డ</text>
|
||||
<text category="letter">ఢ</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter"></text>
|
||||
<text category="letter">ఞ</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">ౄ</text>
|
||||
<text category="letter">ౠ</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ో</text>
|
||||
<text category="letter">ఓ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ే</text>
|
||||
<text category="letter">ఏ</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">్</text>
|
||||
<text category="letter">అ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ి</text>
|
||||
<text category="letter">ఇ</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ు</text>
|
||||
<text category="letter">ఉ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ప</text>
|
||||
<text category="letter">ఫ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ర</text>
|
||||
<text category="letter">ఱ</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">క</text>
|
||||
<text category="letter">ఖ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">త</text>
|
||||
<text category="letter">థ</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">చ</text>
|
||||
<text category="letter">ఛ</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">ఠ</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ె</text>
|
||||
<text category="letter">ఎ</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ం</text>
|
||||
<text category="letter">ఁ</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">మ</text>
|
||||
<text category="letter">ణ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">న</text>
|
||||
<text category="letter">ః</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">వ</text>
|
||||
<text category="letter"></text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ల</text>
|
||||
<text category="letter">ళ</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">స</text>
|
||||
<text category="letter">శ</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">,</text>
|
||||
<text category="letter">ష</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">></text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">య</text>
|
||||
<text category="letter">?</text>
|
||||
</key>
|
||||
</symbols>
|
||||
|
||||
@ -1,192 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="95">underscore</keysym>
|
||||
<keysym keyval="37">percent</keysym>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<keysym keyval="3557">Thai_lakkhangyao</keysym>
|
||||
<keysym keyval="43">plus</keysym>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<keysym keyval="47">slash</keysym>
|
||||
<keysym keyval="3569">Thai_leknung</keysym>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<keysym keyval="45">minus</keysym>
|
||||
<keysym keyval="3570">Thai_leksong</keysym>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<keysym keyval="3520">Thai_phosamphao</keysym>
|
||||
<keysym keyval="3571">Thai_leksam</keysym>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<keysym keyval="3510">Thai_thothung</keysym>
|
||||
<keysym keyval="3572">Thai_leksi</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<keysym keyval="3544">Thai_sarau</keysym>
|
||||
<keysym keyval="3545">Thai_sarauu</keysym>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<keysym keyval="3542">Thai_saraue</keysym>
|
||||
<keysym keyval="3551">Thai_baht</keysym>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<keysym keyval="3492">Thai_khokhwai</keysym>
|
||||
<keysym keyval="3573">Thai_lekha</keysym>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<keysym keyval="3509">Thai_totao</keysym>
|
||||
<keysym keyval="3574">Thai_lekhok</keysym>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<keysym keyval="3496">Thai_chochan</keysym>
|
||||
<keysym keyval="3575">Thai_lekchet</keysym>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<keysym keyval="3490">Thai_khokhai</keysym>
|
||||
<keysym keyval="3576">Thai_lekpaet</keysym>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="3498">Thai_chochang</keysym>
|
||||
<keysym keyval="3577">Thai_lekkao</keysym>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<keysym keyval="3558">Thai_maiyamok</keysym>
|
||||
<keysym keyval="3568">Thai_leksun</keysym>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<keysym keyval="3556">Thai_saraaimaimalai</keysym>
|
||||
<keysym keyval="34">quotedbl</keysym>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<keysym keyval="3539">Thai_saraam</keysym>
|
||||
<keysym keyval="3502">Thai_dochada</keysym>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<keysym keyval="3518">Thai_phophan</keysym>
|
||||
<keysym keyval="3505">Thai_thonangmontho</keysym>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<keysym keyval="3536">Thai_saraa</keysym>
|
||||
<keysym keyval="3512">Thai_thothong</keysym>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<keysym keyval="3537">Thai_maihanakat</keysym>
|
||||
<keysym keyval="3565">Thai_nikhahit</keysym>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<keysym keyval="3541">Thai_saraii</keysym>
|
||||
<keysym keyval="3562">Thai_maitri</keysym>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<keysym keyval="3523">Thai_rorua</keysym>
|
||||
<keysym keyval="3507">Thai_nonen</keysym>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<keysym keyval="3513">Thai_nonu</keysym>
|
||||
<keysym keyval="3535">Thai_paiyannoi</keysym>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<keysym keyval="3522">Thai_yoyak</keysym>
|
||||
<keysym keyval="3501">Thai_yoying</keysym>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<keysym keyval="3514">Thai_bobaimai</keysym>
|
||||
<keysym keyval="3504">Thai_thothan</keysym>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<keysym keyval="3525">Thai_loling</keysym>
|
||||
<keysym keyval="44">comma</keysym>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<keysym keyval="3491">Thai_khokhuat</keysym>
|
||||
<keysym keyval="3493">Thai_khokhon</keysym>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<keysym keyval="3519">Thai_fofan</keysym>
|
||||
<keysym keyval="3524">Thai_ru</keysym>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<keysym keyval="3531">Thai_hohip</keysym>
|
||||
<keysym keyval="3494">Thai_khorakhang</keysym>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<keysym keyval="3489">Thai_kokai</keysym>
|
||||
<keysym keyval="3503">Thai_topatak</keysym>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<keysym keyval="3508">Thai_dodek</keysym>
|
||||
<keysym keyval="3554">Thai_sarao</keysym>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<keysym keyval="3552">Thai_sarae</keysym>
|
||||
<keysym keyval="3500">Thai_chochoe</keysym>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<keysym keyval="3561">Thai_maitho</keysym>
|
||||
<keysym keyval="3559">Thai_maitaikhu</keysym>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<keysym keyval="3560">Thai_maiek</keysym>
|
||||
<keysym keyval="3563">Thai_maichattawa</keysym>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<keysym keyval="3538">Thai_saraaa</keysym>
|
||||
<keysym keyval="3529">Thai_sorusi</keysym>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<keysym keyval="3530">Thai_sosua</keysym>
|
||||
<keysym keyval="3528">Thai_sosala</keysym>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<keysym keyval="3527">Thai_wowaen</keysym>
|
||||
<keysym keyval="3499">Thai_soso</keysym>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="3495">Thai_ngongu</keysym>
|
||||
<keysym keyval="46">period</keysym>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<keysym keyval="3516">Thai_phophung</keysym>
|
||||
<keysym keyval="40">parenleft</keysym>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<keysym keyval="3515">Thai_popla</keysym>
|
||||
<keysym keyval="41">parenright</keysym>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<keysym keyval="3553">Thai_saraae</keysym>
|
||||
<keysym keyval="3497">Thai_choching</keysym>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<keysym keyval="3533">Thai_oang</keysym>
|
||||
<keysym keyval="3534">Thai_honokhuk</keysym>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<keysym keyval="3540">Thai_sarai</keysym>
|
||||
<keysym keyval="3546">Thai_phinthu</keysym>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<keysym keyval="3543">Thai_sarauee</keysym>
|
||||
<keysym keyval="3564">Thai_thanthakhat</keysym>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<keysym keyval="3511">Thai_thothahan</keysym>
|
||||
<keysym keyval="63">question</keysym>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<keysym keyval="3521">Thai_moma</keysym>
|
||||
<keysym keyval="3506">Thai_thophuthao</keysym>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<keysym keyval="3555">Thai_saraaimaimuan</keysym>
|
||||
<keysym keyval="3532">Thai_lochula</keysym>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<keysym keyval="3517">Thai_fofa</keysym>
|
||||
<keysym keyval="3526">Thai_lu</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<text category="letter">Ґ</text>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<keysym keyval="49">1</keysym>
|
||||
<text category="letter">!</text>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<keysym keyval="50">2</keysym>
|
||||
<text category="letter">"</text>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<keysym keyval="51">3</keysym>
|
||||
<text category="letter">№</text>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<keysym keyval="52">4</keysym>
|
||||
<text category="letter">;</text>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<keysym keyval="53">5</keysym>
|
||||
<text category="letter">%</text>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<keysym keyval="54">6</keysym>
|
||||
<text category="letter">:</text>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<keysym keyval="55">7</keysym>
|
||||
<text category="letter">?</text>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<keysym keyval="56">8</keysym>
|
||||
<text category="letter">*</text>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<keysym keyval="57">9</keysym>
|
||||
<text category="letter">(</text>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<keysym keyval="48">0</keysym>
|
||||
<text category="letter">)</text>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<keysym keyval="45">minus</keysym>
|
||||
<text category="letter">_</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="61">equal</keysym>
|
||||
<text category="letter">+</text>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">й</text>
|
||||
<text category="letter">Й</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ц</text>
|
||||
<text category="letter">Ц</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">у</text>
|
||||
<text category="letter">У</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">к</text>
|
||||
<text category="letter">К</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">е</text>
|
||||
<text category="letter">Е</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">н</text>
|
||||
<text category="letter">Н</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">г</text>
|
||||
<text category="letter">Г</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ш</text>
|
||||
<text category="letter">Ш</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">щ</text>
|
||||
<text category="letter">Щ</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">з</text>
|
||||
<text category="letter">З</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<text category="letter">х</text>
|
||||
<text category="letter">Х</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<text category="letter">ї</text>
|
||||
<text category="letter">Ї</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<text category="letter">\</text>
|
||||
<text category="letter">|</text>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ф</text>
|
||||
<text category="letter">Ф</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">і</text>
|
||||
<text category="letter">І</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">в</text>
|
||||
<text category="letter">В</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">а</text>
|
||||
<text category="letter">А</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">п</text>
|
||||
<text category="letter">П</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">р</text>
|
||||
<text category="letter">Р</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">о</text>
|
||||
<text category="letter">О</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">л</text>
|
||||
<text category="letter">Л</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">д</text>
|
||||
<text category="letter">Д</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ж</text>
|
||||
<text category="letter">Ж</text>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<text category="letter">Є</text>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">я</text>
|
||||
<text category="letter">Я</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ч</text>
|
||||
<text category="letter">Ч</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">с</text>
|
||||
<text category="letter">С</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">м</text>
|
||||
<text category="letter">М</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">и</text>
|
||||
<text category="letter">И</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">т</text>
|
||||
<text category="letter">Т</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ь</text>
|
||||
<text category="letter">Ь</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">б</text>
|
||||
<text category="letter">Б</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">ю</text>
|
||||
<text category="letter">Ю</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">.</text>
|
||||
<text category="letter">,</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<keysym keyval="126">asciitilde</keysym>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<keysym keyval="49">1</keysym>
|
||||
<keysym keyval="33">exclam</keysym>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<keysym keyval="50">2</keysym>
|
||||
<keysym keyval="64">at</keysym>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<keysym keyval="51">3</keysym>
|
||||
<keysym keyval="35">numbersign</keysym>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<keysym keyval="52">4</keysym>
|
||||
<keysym keyval="36">dollar</keysym>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<keysym keyval="53">5</keysym>
|
||||
<keysym keyval="37">percent</keysym>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<keysym keyval="54">6</keysym>
|
||||
<keysym keyval="94">asciicircum</keysym>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<keysym keyval="55">7</keysym>
|
||||
<keysym keyval="38">ampersand</keysym>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<keysym keyval="56">8</keysym>
|
||||
<keysym keyval="42">asterisk</keysym>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<keysym keyval="57">9</keysym>
|
||||
<keysym keyval="40">parenleft</keysym>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<keysym keyval="48">0</keysym>
|
||||
<keysym keyval="41">parenright</keysym>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<keysym keyval="45">minus</keysym>
|
||||
<text category="letter">—</text>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="61">equal</keysym>
|
||||
<keysym keyval="43">plus</keysym>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">چ</text>
|
||||
<text category="letter">چ</text>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ۋ</text>
|
||||
<text category="letter">ۋ</text>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ې</text>
|
||||
<text category="letter">ې</text>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ر</text>
|
||||
<text category="letter">ر</text>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ت</text>
|
||||
<text category="letter">ت</text>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ي</text>
|
||||
<text category="letter">ي</text>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ۇ</text>
|
||||
<text category="letter">ۇ</text>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ڭ</text>
|
||||
<text category="letter">ڭ</text>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">و</text>
|
||||
<text category="letter">و</text>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">پ</text>
|
||||
<text category="letter">پ</text>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<keysym keyval="91">bracketleft</keysym>
|
||||
<text category="letter">«</text>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<keysym keyval="93">bracketright</keysym>
|
||||
<text category="letter">»</text>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<keysym keyval="92">backslash</keysym>
|
||||
<keysym keyval="124">bar</keysym>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ھ</text>
|
||||
<text category="letter">ھ</text>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">س</text>
|
||||
<text category="letter">س</text>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">د</text>
|
||||
<text category="letter">ژ</text>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ا</text>
|
||||
<text category="letter">ف</text>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ە</text>
|
||||
<text category="letter">گ</text>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ى</text>
|
||||
<text category="letter">خ</text>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ق</text>
|
||||
<text category="letter">ج</text>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ك</text>
|
||||
<text category="letter">ۆ</text>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ل</text>
|
||||
<text category="letter">ل</text>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">؛</text>
|
||||
<keysym keyval="58">colon</keysym>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<keysym keyval="34">quotedbl</keysym>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ز</text>
|
||||
<text category="letter">ز</text>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ش</text>
|
||||
<text category="letter">ش</text>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">غ</text>
|
||||
<text category="letter">غ</text>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ۈ</text>
|
||||
<text category="letter">ۈ</text>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ب</text>
|
||||
<text category="letter">ب</text>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ن</text>
|
||||
<text category="letter">ن</text>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">م</text>
|
||||
<text category="letter">م</text>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">،</text>
|
||||
<text category="letter">‹</text>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<keysym keyval="46">period</keysym>
|
||||
<text category="letter">›</text>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">ئ</text>
|
||||
<text category="letter">؟</text>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,193 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<symbols version="0.90">
|
||||
<include>us</include>
|
||||
<key keycode="49" name="TLDE">
|
||||
<keysym keyval="96">quoteleft</keysym>
|
||||
<keysym keyval="126">asciitilde</keysym>
|
||||
</key>
|
||||
<key keycode="10" name="AE01">
|
||||
<text category="letter">ㄅ</text>
|
||||
<keysym keyval="33">exclam</keysym>
|
||||
</key>
|
||||
<key keycode="11" name="AE02">
|
||||
<text category="letter">ㄉ</text>
|
||||
<keysym keyval="64">at</keysym>
|
||||
</key>
|
||||
<key keycode="12" name="AE03">
|
||||
<text category="letter">ˇ</text>
|
||||
<keysym keyval="35">numbersign</keysym>
|
||||
</key>
|
||||
<key keycode="13" name="AE04">
|
||||
<text category="letter">ˋ</text>
|
||||
<keysym keyval="36">dollar</keysym>
|
||||
</key>
|
||||
<key keycode="14" name="AE05">
|
||||
<text category="letter">ㄓ</text>
|
||||
<keysym keyval="37">percent</keysym>
|
||||
<keysym keyval="8364">EuroSign</keysym>
|
||||
</key>
|
||||
<key keycode="15" name="AE06">
|
||||
<text category="letter">ˊ</text>
|
||||
<keysym keyval="94">asciicircum</keysym>
|
||||
</key>
|
||||
<key keycode="16" name="AE07">
|
||||
<text category="letter">˙</text>
|
||||
<keysym keyval="38">ampersand</keysym>
|
||||
</key>
|
||||
<key keycode="17" name="AE08">
|
||||
<text category="letter">ㄚ</text>
|
||||
<keysym keyval="42">asterisk</keysym>
|
||||
</key>
|
||||
<key keycode="18" name="AE09">
|
||||
<text category="letter">ㄞ</text>
|
||||
<keysym keyval="40">parenleft</keysym>
|
||||
</key>
|
||||
<key keycode="19" name="AE10">
|
||||
<text category="letter">ㄢ</text>
|
||||
<keysym keyval="41">parenright</keysym>
|
||||
</key>
|
||||
<key keycode="20" name="AE11">
|
||||
<text category="letter">ㄦ</text>
|
||||
<keysym keyval="95">underscore</keysym>
|
||||
</key>
|
||||
<key keycode="21" name="AE12">
|
||||
<keysym keyval="61">equal</keysym>
|
||||
<keysym keyval="43">plus</keysym>
|
||||
</key>
|
||||
<key keycode="24" name="AD01">
|
||||
<text category="letter">ㄆ</text>
|
||||
<keysym keyval="81">Q</keysym>
|
||||
</key>
|
||||
<key keycode="25" name="AD02">
|
||||
<text category="letter">ㄊ</text>
|
||||
<keysym keyval="87">W</keysym>
|
||||
</key>
|
||||
<key keycode="26" name="AD03">
|
||||
<text category="letter">ㄍ</text>
|
||||
<keysym keyval="69">E</keysym>
|
||||
</key>
|
||||
<key keycode="27" name="AD04">
|
||||
<text category="letter">ㄐ</text>
|
||||
<keysym keyval="82">R</keysym>
|
||||
</key>
|
||||
<key keycode="28" name="AD05">
|
||||
<text category="letter">ㄔ</text>
|
||||
<keysym keyval="84">T</keysym>
|
||||
</key>
|
||||
<key keycode="29" name="AD06">
|
||||
<text category="letter">ㄗ</text>
|
||||
<keysym keyval="89">Y</keysym>
|
||||
</key>
|
||||
<key keycode="30" name="AD07">
|
||||
<text category="letter">ㄧ</text>
|
||||
<keysym keyval="85">U</keysym>
|
||||
</key>
|
||||
<key keycode="31" name="AD08">
|
||||
<text category="letter">ㄛ</text>
|
||||
<keysym keyval="73">I</keysym>
|
||||
</key>
|
||||
<key keycode="32" name="AD09">
|
||||
<text category="letter">ㄟ</text>
|
||||
<keysym keyval="79">O</keysym>
|
||||
</key>
|
||||
<key keycode="33" name="AD10">
|
||||
<text category="letter">ㄣ</text>
|
||||
<keysym keyval="80">P</keysym>
|
||||
</key>
|
||||
<key keycode="34" name="AD11">
|
||||
<keysym keyval="91">bracketleft</keysym>
|
||||
<keysym keyval="123">braceleft</keysym>
|
||||
</key>
|
||||
<key keycode="35" name="AD12">
|
||||
<keysym keyval="93">bracketright</keysym>
|
||||
<keysym keyval="125">braceright</keysym>
|
||||
</key>
|
||||
<key keycode="51" name="BKSL">
|
||||
<keysym keyval="92">backslash</keysym>
|
||||
<keysym keyval="124">bar</keysym>
|
||||
</key>
|
||||
<key keycode="38" name="AC01">
|
||||
<text category="letter">ㄇ</text>
|
||||
<keysym keyval="65">A</keysym>
|
||||
</key>
|
||||
<key keycode="39" name="AC02">
|
||||
<text category="letter">ㄋ</text>
|
||||
<keysym keyval="83">S</keysym>
|
||||
</key>
|
||||
<key keycode="40" name="AC03">
|
||||
<text category="letter">ㄎ</text>
|
||||
<keysym keyval="68">D</keysym>
|
||||
</key>
|
||||
<key keycode="41" name="AC04">
|
||||
<text category="letter">ㄑ</text>
|
||||
<keysym keyval="70">F</keysym>
|
||||
</key>
|
||||
<key keycode="42" name="AC05">
|
||||
<text category="letter">ㄕ</text>
|
||||
<keysym keyval="71">G</keysym>
|
||||
</key>
|
||||
<key keycode="43" name="AC06">
|
||||
<text category="letter">ㄘ</text>
|
||||
<keysym keyval="72">H</keysym>
|
||||
</key>
|
||||
<key keycode="44" name="AC07">
|
||||
<text category="letter">ㄨ</text>
|
||||
<keysym keyval="74">J</keysym>
|
||||
</key>
|
||||
<key keycode="45" name="AC08">
|
||||
<text category="letter">ㄜ</text>
|
||||
<keysym keyval="75">K</keysym>
|
||||
</key>
|
||||
<key keycode="46" name="AC09">
|
||||
<text category="letter">ㄠ</text>
|
||||
<keysym keyval="76">L</keysym>
|
||||
</key>
|
||||
<key keycode="47" name="AC10">
|
||||
<text category="letter">ㄤ</text>
|
||||
<keysym keyval="58">colon</keysym>
|
||||
</key>
|
||||
<key keycode="48" name="AC11">
|
||||
<keysym keyval="39">quoteright</keysym>
|
||||
<keysym keyval="34">quotedbl</keysym>
|
||||
</key>
|
||||
<key keycode="52" name="AB01">
|
||||
<text category="letter">ㄈ</text>
|
||||
<keysym keyval="90">Z</keysym>
|
||||
</key>
|
||||
<key keycode="53" name="AB02">
|
||||
<text category="letter">ㄌ</text>
|
||||
<keysym keyval="88">X</keysym>
|
||||
</key>
|
||||
<key keycode="54" name="AB03">
|
||||
<text category="letter">ㄏ</text>
|
||||
<keysym keyval="67">C</keysym>
|
||||
</key>
|
||||
<key keycode="55" name="AB04">
|
||||
<text category="letter">ㄒ</text>
|
||||
<keysym keyval="86">V</keysym>
|
||||
</key>
|
||||
<key keycode="56" name="AB05">
|
||||
<text category="letter">ㄖ</text>
|
||||
<keysym keyval="66">B</keysym>
|
||||
</key>
|
||||
<key keycode="57" name="AB06">
|
||||
<text category="letter">ㄙ</text>
|
||||
<keysym keyval="78">N</keysym>
|
||||
</key>
|
||||
<key keycode="58" name="AB07">
|
||||
<text category="letter">ㄩ</text>
|
||||
<keysym keyval="77">M</keysym>
|
||||
</key>
|
||||
<key keycode="59" name="AB08">
|
||||
<text category="letter">ㄝ</text>
|
||||
<keysym keyval="60">less</keysym>
|
||||
</key>
|
||||
<key keycode="60" name="AB09">
|
||||
<text category="letter">ㄡ</text>
|
||||
<keysym keyval="62">greater</keysym>
|
||||
</key>
|
||||
<key keycode="61" name="AB10">
|
||||
<text category="letter">ㄥ</text>
|
||||
<keysym keyval="63">question</keysym>
|
||||
</key>
|
||||
</symbols>
|
||||
@ -1,41 +1,39 @@
|
||||
---
|
||||
bounds: { x: 10, y: 10, width: 410, height: 229 }
|
||||
bounds: { x: 0, y: 1, width: 360, height: 208 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 37.46341, height: 52 }
|
||||
bounds: { x: 0, y: 0, width: 35.33, height: 52 }
|
||||
altline:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 48.39024, height: 52 }
|
||||
outline7:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 88.97561, height: 52 }
|
||||
bounds: { x: 0, y: 0, width: 52.67, height: 52 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 62, height: 52 }
|
||||
spaceline:
|
||||
corner_radius: 1
|
||||
bounds: { x: 0, y: 0, width: 150.5853, height: 52 }
|
||||
bounds: { x: 0, y: 0, width: 142, height: 52 }
|
||||
special:
|
||||
bounds: { x: 0, y: 0, 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 . Return"
|
||||
- "show_numbers preferences space period 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"
|
||||
- "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 . Return"
|
||||
- "show_letters preferences space period Return"
|
||||
symbols:
|
||||
- "~ ` | · √ π τ ÷ × ¶"
|
||||
- "© ® £ € ¥ ^ ° * { }"
|
||||
- "show_numbers \\ / < > = [ ] BackSpace"
|
||||
- "show_letters preferences space . Return"
|
||||
- "show_numbers_from_symbols \\ / < > = [ ] BackSpace"
|
||||
- "show_letters preferences space period Return"
|
||||
|
||||
buttons:
|
||||
Shift_L:
|
||||
@ -50,9 +48,14 @@ buttons:
|
||||
icon: "edit-clear-symbolic"
|
||||
preferences:
|
||||
action: "show_prefs"
|
||||
outline: "altline"
|
||||
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"
|
||||
@ -60,20 +63,21 @@ buttons:
|
||||
show_letters:
|
||||
action:
|
||||
set_view: "base"
|
||||
outline: "altline"
|
||||
outline: "wide"
|
||||
label: "ABC"
|
||||
show_symbols:
|
||||
action:
|
||||
set_view: "symbols"
|
||||
outline: "altline"
|
||||
label: "*/="
|
||||
".":
|
||||
outline: altline
|
||||
period:
|
||||
outline: "special"
|
||||
label: "."
|
||||
space:
|
||||
outline: spaceline
|
||||
outline: "spaceline"
|
||||
label: " "
|
||||
Return:
|
||||
outline: outline7
|
||||
outline: "wide"
|
||||
icon: "key-enter"
|
||||
colon:
|
||||
label: ":"
|
||||
|
||||
85
data/keyboards/us_wide.yaml
Normal file
85
data/keyboards/us_wide.yaml
Normal file
@ -0,0 +1,85 @@
|
||||
---
|
||||
bounds: { x: 0, y: 1, width: 540, height: 168 }
|
||||
|
||||
outlines:
|
||||
default:
|
||||
bounds: { x: 0, y: 0, width: 54, height: 42 }
|
||||
altline:
|
||||
bounds: { x: 0, y: 0, width: 81, height: 42 }
|
||||
wide:
|
||||
bounds: { x: 0, y: 0, width: 108, height: 42 }
|
||||
spaceline:
|
||||
bounds: { x: 0, y: 0, width: 216, height: 42 }
|
||||
special:
|
||||
bounds: { x: 0, y: 0, width: 54, 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 period 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 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"
|
||||
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"
|
||||
label: "."
|
||||
space:
|
||||
outline: "spaceline"
|
||||
label: " "
|
||||
Return:
|
||||
outline: "wide"
|
||||
icon: "key-enter"
|
||||
colon:
|
||||
label: ":"
|
||||
"\"":
|
||||
keysym: "quotedbl"
|
||||
8
data/langs/de-DE.txt
Normal file
8
data/langs/de-DE.txt
Normal file
@ -0,0 +1,8 @@
|
||||
us Englisch (US)
|
||||
de Deutsch
|
||||
el Griechisch
|
||||
es Spanisch
|
||||
it Italienisch
|
||||
jp+kana Japanisch (Kana)
|
||||
no Norwegisch
|
||||
|
||||
10
data/langs/en-US.txt
Normal file
10
data/langs/en-US.txt
Normal file
@ -0,0 +1,10 @@
|
||||
us English (US)
|
||||
de German
|
||||
el Greek
|
||||
es Spanish
|
||||
fi Finnish
|
||||
it Italian
|
||||
jp+kana Japanese (kana)
|
||||
no Norwegian
|
||||
se Swedish
|
||||
|
||||
7
data/langs/es-ES.txt
Normal file
7
data/langs/es-ES.txt
Normal file
@ -0,0 +1,7 @@
|
||||
us Inglés (EE.UU.)
|
||||
de Alemán
|
||||
el Griego
|
||||
es Español
|
||||
it Italiano
|
||||
jp+kana Japonés (Kana)
|
||||
no Noruego
|
||||
9
data/langs/pl-PL.txt
Normal file
9
data/langs/pl-PL.txt
Normal file
@ -0,0 +1,9 @@
|
||||
us angielski (USA)
|
||||
de niemiecki
|
||||
el grecki
|
||||
es hiszpański
|
||||
fi fiński
|
||||
it włoski
|
||||
jp+kana japoński (kana)
|
||||
no norweski
|
||||
se szwedzki
|
||||
19
data/popup.ui
Normal file
19
data/popup.ui
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.22.1 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.16"/>
|
||||
<object class="GtkPopoverMenu" id="main_menu">
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<object class="GtkBox" id="box">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="orientation">vertical</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="submenu">main</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@ -3,7 +3,6 @@ Name=Squeekboard
|
||||
GenericName=Squeekboard Virtual Keyboard
|
||||
Comment=Virtual Keyboard
|
||||
Exec=squeekboard
|
||||
Icon=squeekboard
|
||||
Terminal=false
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
|
||||
@ -2,33 +2,7 @@
|
||||
<gresources>
|
||||
<gresource prefix="/sm/puri/squeekboard">
|
||||
<file compressed="true">style.css</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/ar.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/as-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/be.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/bn-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/fa.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/gu-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/he.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/hi-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/ja-kana.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/kk.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/kn-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/ks-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/ks.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/mai-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/ml-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/mr-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/my.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/or-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/pa-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/ru.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/sd-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/ta-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/te-inscript.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/th.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/ua.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/ug.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">keyboards/symbols/zh-bopomofo.xml</file>
|
||||
<file compressed="true" preprocess="xml-stripblanks">popup.ui</file>
|
||||
<file>icons/key-enter.svg</file>
|
||||
<file>icons/key-shift.svg</file>
|
||||
<file>icons/keyboard-mode-symbolic.svg</file>
|
||||
|
||||
@ -1,39 +1,46 @@
|
||||
.keyboard {
|
||||
sq_view {
|
||||
background-color: rgba(0, 0, 0, 255);
|
||||
color: #ffffff;
|
||||
font-family: cantarell, sans-serif;
|
||||
}
|
||||
|
||||
.key {
|
||||
sq_view sq_button {
|
||||
color: #deddda;
|
||||
background: #464448;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #5e5c64;
|
||||
border-radius: 2px;
|
||||
border-radius: 3px;
|
||||
margin: 4px 2px 4px 2px;
|
||||
}
|
||||
|
||||
.key:active {
|
||||
background: #1c71d8;
|
||||
border-color: #3584e4;
|
||||
sq_view.wide sq_button {
|
||||
margin: 1px 1px 1px 1px;
|
||||
}
|
||||
|
||||
sq_button:active {
|
||||
background: #747077;
|
||||
border-color: #96949d;
|
||||
}
|
||||
|
||||
sq_button.altline,
|
||||
sq_button.special,
|
||||
sq_button.wide {
|
||||
background: #2b292f;
|
||||
border-color: #3e3a44;
|
||||
}
|
||||
|
||||
sq_button.locked {
|
||||
background: #ffffff;
|
||||
color: #2b292f;
|
||||
}
|
||||
|
||||
#Return {
|
||||
background: #1c71d8;
|
||||
border-color: #1a5fb4
|
||||
border-color: #1a5fb4;
|
||||
}
|
||||
|
||||
#Return:active {
|
||||
background: #1c71d8;
|
||||
border-color: #3584e4;
|
||||
}
|
||||
|
||||
#Shift_L {
|
||||
background: #2b292f;
|
||||
border-color: #3e3a44
|
||||
}
|
||||
|
||||
#Shift_L:active {
|
||||
background: #1c71d8;
|
||||
border-color: #3584e4;
|
||||
}
|
||||
|
||||
19
debian/changelog
vendored
19
debian/changelog
vendored
@ -1,3 +1,22 @@
|
||||
squeekboard (1.3.0) amber-phone; urgency=medium
|
||||
|
||||
* Language selection popup
|
||||
* Swedish and Finnish layouts
|
||||
|
||||
-- Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> Sat, 16 Nov 2019 15:38:14 +0000
|
||||
|
||||
squeekboard (1.2.2) amber-phone; urgency=medium
|
||||
|
||||
* Landscape mode
|
||||
|
||||
-- Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> Wed, 30 Oct 2019 12:38:39 +0000
|
||||
|
||||
squeekboard (1.2.1) amber-phone; urgency=medium
|
||||
|
||||
* Use different distribution
|
||||
|
||||
-- Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> Tue, 08 Oct 2019 10:56:10 +0000
|
||||
|
||||
squeekboard (1.2.0) unstable; urgency=medium
|
||||
|
||||
* Use Cargo-based dependencies
|
||||
|
||||
9
debian/control
vendored
9
debian/control
vendored
@ -12,7 +12,14 @@ Build-Depends:
|
||||
libgtk-3-dev,
|
||||
libcroco3-dev,
|
||||
librust-bitflags-1-dev (>= 1.0),
|
||||
librust-dbus-0.6-dev (>= 0.6),
|
||||
librust-gio+v2-44-dev,
|
||||
librust-glib+v2-44-dev,
|
||||
librust-glib-sys-dev,
|
||||
librust-gtk+v3-22-dev (>= 0.5),
|
||||
librust-gtk-sys-dev,
|
||||
librust-maplit-1-dev (>= 1.0),
|
||||
librust-regex-1-dev (>= 1.1),
|
||||
librust-serde-derive-1-dev (>= 1.0),
|
||||
librust-serde-yaml-0.8-dev (>= 0.8),
|
||||
librust-xkbcommon-0.4+wayland-dev (>= 0.4),
|
||||
@ -28,6 +35,8 @@ Homepage: https://source.puri.sm/Librem5/squeekboard
|
||||
Package: squeekboard
|
||||
Architecture: linux-any
|
||||
Depends:
|
||||
# for the Adwaita-dark theme
|
||||
gnome-themes-extra-data,
|
||||
${shlibs:Depends}
|
||||
${misc:Depends}
|
||||
Description: On-screen keyboard for Wayland
|
||||
|
||||
178
debian/copyright
vendored
178
debian/copyright
vendored
@ -8,6 +8,83 @@ Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
2019 Purism SPC
|
||||
License: GPL-3+
|
||||
|
||||
Files: cargo.sh
|
||||
Copyright: 2019 Bart Ribbers <bribbers@disroot.org>
|
||||
2019 Purism SPC
|
||||
License: GPL-3+
|
||||
|
||||
Files: data/style.css
|
||||
data/squeekboard.gresources.xml
|
||||
data/meson.build
|
||||
src/meson.build
|
||||
src/imservice.c
|
||||
Copyright: 2019 Purism SPC
|
||||
2019 Squeekboard Contributors
|
||||
License: GPL-3+
|
||||
|
||||
Files: data/keyboards/de.yaml
|
||||
Copyright: 2019 Mark Müller <markmueller86@gmail.com>
|
||||
License: GPL-3+
|
||||
|
||||
Files: data/keyboards/el.yaml
|
||||
Copyright: 2019 Antonis Tsolomitis
|
||||
2019 Purism SPC
|
||||
License: GPL-3+
|
||||
|
||||
Files: data/keyboards/es.yaml
|
||||
Copyright: 2019 Purism SPC
|
||||
2019 uzanto <miguejim@mailbox.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: data/keyboards/fi.yaml
|
||||
Copyright: 2019 uzanto <miguejim@mailbox.org>
|
||||
License: GPL-3+
|
||||
|
||||
Files: data/keyboards/it.yaml
|
||||
Copyright: 2019 Antonio Pandolfo <ant.pandolfo@gmail.com>
|
||||
2019 Purism SPC
|
||||
License: GPL-3+
|
||||
|
||||
Files: data/keyboards/ja+kana.yaml
|
||||
Copyright: 2019 Mark Müller <markmueller86@gmail.com>
|
||||
License: GPL-3+
|
||||
|
||||
Files: data/keyboards/se.yaml
|
||||
Copyright: 2019 Andreas Rönnquist <andreas@ronnquist.net>
|
||||
2019 Purism SPC
|
||||
License: GPL-3+
|
||||
|
||||
Files: eek/eek-layout.h
|
||||
eek/eek-layout.c
|
||||
eek/eek-element.c
|
||||
eek/eek-gtk-keyboard.c
|
||||
eek/eek-gtk-keyboard.h
|
||||
eek/eek.c
|
||||
eek/eek-xml-layout.h
|
||||
eek/eek-xml-layout.c
|
||||
eek/eek-renderer.h
|
||||
eek/eek-element.h
|
||||
eek/eek-renderer.c
|
||||
eekboard/eekboard-service.c
|
||||
eekboard/eekboard-service.h
|
||||
Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
2010-2011 Red Hat, Inc.
|
||||
2018-2019 Purism SPC
|
||||
2019 Squeekboard Contributors
|
||||
License: GPL-3+
|
||||
|
||||
Files: eek/eek-keyboard.c
|
||||
eek/eek-types.h
|
||||
eek/eek-types.c
|
||||
eek/eek-keyboard.h
|
||||
eek/eek.h
|
||||
src/server-main.c
|
||||
src/server-context-service.h
|
||||
Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
2010-2011 Red Hat, Inc.
|
||||
2019 Purism SPC
|
||||
License: LGPL-2+
|
||||
|
||||
Files: eek/layersurface.c
|
||||
src/wayland.c
|
||||
src/key-emitter.c
|
||||
@ -21,39 +98,51 @@ Files: eekboard/keymap.c
|
||||
Copyright: 2000 Red Hat, Inc.
|
||||
2019 Purism, SPC
|
||||
License: LGPL-2+
|
||||
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.
|
||||
Files: eekboard/eekboard-context-service.c
|
||||
Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
2010-2011 Red Hat, Inc.
|
||||
2019 Purism, SPC
|
||||
2019 David Heidelberg <david@ixit.cz>
|
||||
2019 Piotr Tworek <tworaz@tworaz.net>
|
||||
2019 Squeekboard Contributors
|
||||
License: GPL-3+
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
Files: eekboard/eekboard-context-service.h
|
||||
Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
2010-2011 Red Hat, Inc.
|
||||
License: GPL-3+
|
||||
|
||||
Files: po/POTFILES.skip
|
||||
po/LINGUAS
|
||||
po/ja.po
|
||||
po/POTFILES.in
|
||||
Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
License: LGPL-2+
|
||||
Comment:
|
||||
Only the po/ja.po file contains a license, but these are all grouped together.
|
||||
|
||||
Files: protocols/wlr-layer-shell-unstable-v1.xml
|
||||
Copytight: Copyright © 2017 Drew DeVault
|
||||
Copyright: 2017 Drew DeVault
|
||||
License: X11
|
||||
Permission to use, copy, modify, distribute, and sell this software and
|
||||
its documentation for any purpose is hereby granted without fee, provided
|
||||
that the above copyright notice appear in all copies and fthat both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation, and that the name of the copyright holders not be used in
|
||||
advertising or publicity pertaining to distribution of the software
|
||||
without specific, written prior permission. The copyright holders make
|
||||
no representations about the suitability of this software for any
|
||||
purpose. It is provided "as is" without express or implied warranty.
|
||||
.
|
||||
THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
|
||||
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
|
||||
RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
||||
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
Files: src/resources.rs
|
||||
Copyright: 2019 Andreas Rönnquist <andreas@ronnquist.net>
|
||||
2019 Mark Müller <markmueller86@gmail.com>
|
||||
2019 Purism SPC
|
||||
License: GPL-3+
|
||||
|
||||
Files: src/server-context-service.c
|
||||
Copyright: 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
2010-2011 Red Hat, Inc.
|
||||
2019 Purism SPC
|
||||
2019 Squeekboard Contributors
|
||||
License: GPL-3+
|
||||
|
||||
Files: tests/meson.build
|
||||
Copyright: 2019 Purism SPC
|
||||
2019 Mark Müller <markmueller86@gmail.com>
|
||||
License: GPL-3+
|
||||
|
||||
License: GPL-3+
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
@ -71,3 +160,36 @@ License: GPL-3+
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||
|
||||
License: LGPL-2+
|
||||
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, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
License: X11
|
||||
Permission to use, copy, modify, distribute, and sell this software and
|
||||
its documentation for any purpose is hereby granted without fee, provided
|
||||
that the above copyright notice appear in all copies and that both that
|
||||
copyright notice and this permission notice appear in supporting
|
||||
documentation, and that the name of the copyright holders not be used in
|
||||
advertising or publicity pertaining to distribution of the software
|
||||
without specific, written prior permission. The copyright holders make
|
||||
no representations about the suitability of this software for any
|
||||
purpose. It is provided "as is" without express or implied warranty.
|
||||
.
|
||||
THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
|
||||
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
|
||||
RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
||||
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
2
debian/rules
vendored
2
debian/rules
vendored
@ -8,7 +8,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
|
||||
# The Debian version of linked-hash-map doesn't provide any hash,
|
||||
# causing Cargo to refuse to build with a crates.io copy
|
||||
build:
|
||||
build-arch:
|
||||
rm Cargo.lock
|
||||
dh $@ --builddirectory=_build --buildsystem=meson
|
||||
|
||||
|
||||
2
debian/squeekboard.lintian-overrides
vendored
2
debian/squeekboard.lintian-overrides
vendored
@ -1,2 +1,2 @@
|
||||
# yaml-rust 0.4.3 shares some roots with libyaml, including the string which lintian checks, creating a false positive
|
||||
squeekboard binary: embedded-library usr/bin/squeekboard: libyaml
|
||||
squeekboard binary: embedded-library usr/bin/squeekboard-real: libyaml
|
||||
|
||||
@ -1,83 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
|
||||
[
|
||||
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
|
||||
]>
|
||||
<book id="index">
|
||||
<bookinfo>
|
||||
<title>libeek Reference Manual</title>
|
||||
<releaseinfo>
|
||||
for libeek 0.90.0.
|
||||
</releaseinfo>
|
||||
<copyright>
|
||||
<year>2010-2011</year>
|
||||
<holder>Daiki Ueno</holder>
|
||||
</copyright>
|
||||
|
||||
<copyright>
|
||||
<year>2010-2011</year>
|
||||
<holder>Red Hat, Inc.</holder>
|
||||
</copyright>
|
||||
|
||||
<legalnotice>
|
||||
<para>
|
||||
Permission is granted to copy, distribute and/or modify this
|
||||
document under the terms of the GNU Free Documentation License,
|
||||
Version 1.3 or any later version published by the Free Software
|
||||
Foundation; with no Invariant Sections, no Front-Cover Texts and
|
||||
no Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled "GNU Free Documentation License".
|
||||
</para>
|
||||
</legalnotice>
|
||||
</bookinfo>
|
||||
|
||||
<xi:include href="xml/eek-overview.xml"/>
|
||||
<part id="apireference">
|
||||
<title>API Manual</title>
|
||||
<chapter>
|
||||
<title>Base Classes, Interfaces, and Utilities</title>
|
||||
<xi:include href="xml/eek.xml"/>
|
||||
<xi:include href="xml/eek-serializable.xml"/>
|
||||
<xi:include href="xml/eek-element.xml"/>
|
||||
<xi:include href="xml/eek-container.xml"/>
|
||||
<xi:include href="xml/eek-keyboard.xml"/>
|
||||
<xi:include href="xml/eek-section.xml"/>
|
||||
<xi:include href="xml/eek-key.xml"/>
|
||||
<xi:include href="xml/eek-symbol.xml"/>
|
||||
<xi:include href="xml/eek-keysym.xml"/>
|
||||
<xi:include href="xml/eek-text.xml"/>
|
||||
<xi:include href="xml/eek-layout.xml"/>
|
||||
<xi:include href="xml/eek-types.xml"/>
|
||||
</chapter>
|
||||
<chapter>
|
||||
<title>GTK Adapter</title>
|
||||
<xi:include href="xml/eek-gtk-keyboard.xml"/>
|
||||
</chapter>
|
||||
<chapter>
|
||||
<title>Clutter Adapter</title>
|
||||
<xi:include href="xml/eek-clutter-keyboard.xml"/>
|
||||
</chapter>
|
||||
<chapter>
|
||||
<title>Libxklavier Layout Engine</title>
|
||||
<xi:include href="xml/eek-xkl-layout.xml"/>
|
||||
</chapter>
|
||||
<chapter>
|
||||
<title>XKB Layout Engine</title>
|
||||
<xi:include href="xml/eek-xkb-layout.xml"/>
|
||||
</chapter>
|
||||
<chapter>
|
||||
<title>XML Layout Engine</title>
|
||||
<xi:include href="xml/eek-xml-layout.xml"/>
|
||||
<xi:include href="xml/eek-xml.xml"/>
|
||||
</chapter>
|
||||
<chapter id="object-tree">
|
||||
<title>Object Hierarchy</title>
|
||||
<xi:include href="xml/tree_index.sgml"/>
|
||||
</chapter>
|
||||
<index id="api-index-full">
|
||||
<title>API Index</title>
|
||||
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
</part>
|
||||
</book>
|
||||
@ -1,70 +0,0 @@
|
||||
<part id="eek-overview">
|
||||
<title>Usage Overview</title>
|
||||
<partintro>
|
||||
|
||||
<para>libeek is a library to create keyboard-like user interface.
|
||||
Since it is designed as simple as possible, it provides only two
|
||||
kind of objects. One is <emphasis>keyboard element</emphasis>
|
||||
(objects derived from #EekElement) and another is
|
||||
<emphasis>keyboard layout engine</emphasis> (objects which
|
||||
implements the #EekLayout interface).</para>
|
||||
|
||||
<para>A keyboard element represents either a keyboard
|
||||
(#EekKeyboard), a section (#EekSection), or a key (#EekKey). Each
|
||||
element implements the Builder design pattern so that it can map
|
||||
itself to different UI widgets (#ClutterActor, #GtkDrawingArea,
|
||||
aso).</para>
|
||||
|
||||
<para>A layout engine arranges keyboard elements using information
|
||||
from external configuration mechanisms (libxklavier, XKB,
|
||||
matchbox-keyboard layouts in XML, aso)</para>
|
||||
|
||||
<para>Here is a sample code which demonstrates (1) keyboard
|
||||
elements are arranged with the system keyboard layout using
|
||||
libxklavier and (2) keyboard elements are mapped into
|
||||
#ClutterActor:</para>
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
EekLayout *layout;
|
||||
EekKeyboard *keyboard;
|
||||
ClutterActor *actor;
|
||||
|
||||
/* Create a layout engine based on libxklavier configuration. */
|
||||
layout = eek_xkl_layout_new ();
|
||||
|
||||
/* Create a keyboard from the given layout. */
|
||||
keyboard = eek_keyboard_new (layout, initial_width, initial_height);
|
||||
|
||||
/* Create a ClutterActor. */
|
||||
actor = eek_clutter_keyboard_new (eekboard->keyboard);
|
||||
|
||||
/* Add the actor to a stage. */
|
||||
clutter_group_add (CLUTTER_GROUP(stage), actor);
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
|
||||
<para>libeek currently supports GTK+ and Clutter as UI toolkits.
|
||||
To create a keyboard-like #GtkWidget instead of #ClutterActor,
|
||||
replace eek_clutter_keyboard_new() with eek_gtk_keyboard_new().
|
||||
Similarly, if you want to use XKB configuration directly (without
|
||||
libxklavier), you will only need to replace eek_xkl_layout_new ()
|
||||
with eek_xkb_layout_new().</para>
|
||||
|
||||
<para>In the above example, a keyboard is represented as a tree of
|
||||
#EekElement -- #EekKeyboard contains one or more #EekSection's and
|
||||
#EekSection contains one or more #EekKey's. Each element may emit
|
||||
events when user pushes the corresponding UI widget.</para>
|
||||
<para>
|
||||
Here is another sample code which demonstrates logical events on
|
||||
#EekElement:
|
||||
</para>
|
||||
<informalexample>
|
||||
<programlisting>
|
||||
/* Find a key element in the logical keyboard. */
|
||||
EekKey *key = eek_keyboard_find_key_by_keycode (keyboard, 0x38);
|
||||
g_signal_connect (key, "pressed", on_a_pressed);
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
<para>When user pushed a widget which looks like "a" key (i.e. keycode 0x38), on_a_pressed will be called.</para>
|
||||
</partintro>
|
||||
</part>
|
||||
@ -1,544 +0,0 @@
|
||||
<SECTION>
|
||||
<FILE>eek</FILE>
|
||||
eek_init
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-clutter</FILE>
|
||||
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-clutter-key</FILE>
|
||||
<TITLE>EekClutterKey</TITLE>
|
||||
EekClutterKey
|
||||
EekClutterKeyClass
|
||||
eek_clutter_key_new
|
||||
<SUBSECTION Standard>
|
||||
EEK_CLUTTER_KEY
|
||||
EEK_CLUTTER_KEY_CLASS
|
||||
EEK_CLUTTER_KEY_GET_CLASS
|
||||
EEK_IS_CLUTTER_KEY
|
||||
EEK_IS_CLUTTER_KEY_CLASS
|
||||
EEK_TYPE_CLUTTER_KEY
|
||||
EekClutterKeyPrivate
|
||||
eek_clutter_key_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-clutter-keyboard</FILE>
|
||||
<TITLE>EekClutterKeyboard</TITLE>
|
||||
EekClutterKeyboard
|
||||
EekClutterKeyboardClass
|
||||
eek_clutter_keyboard_new
|
||||
eek_clutter_keyboard_set_theme
|
||||
<SUBSECTION Standard>
|
||||
EEK_CLUTTER_KEYBOARD
|
||||
EEK_CLUTTER_KEYBOARD_CLASS
|
||||
EEK_CLUTTER_KEYBOARD_GET_CLASS
|
||||
EEK_IS_CLUTTER_KEYBOARD
|
||||
EEK_IS_CLUTTER_KEYBOARD_CLASS
|
||||
EEK_TYPE_CLUTTER_KEYBOARD
|
||||
EekClutterKeyboardPrivate
|
||||
eek_clutter_keyboard_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-clutter-renderer</FILE>
|
||||
<TITLE>EekClutterRenderer</TITLE>
|
||||
EekClutterRenderer
|
||||
EekClutterRendererClass
|
||||
eek_clutter_renderer_new
|
||||
eek_clutter_renderer_render_key
|
||||
<SUBSECTION Standard>
|
||||
EEK_CLUTTER_RENDERER
|
||||
EEK_CLUTTER_RENDERER_CLASS
|
||||
EEK_CLUTTER_RENDERER_GET_CLASS
|
||||
EEK_IS_CLUTTER_RENDERER
|
||||
EEK_IS_CLUTTER_RENDERER_CLASS
|
||||
EEK_TYPE_CLUTTER_RENDERER
|
||||
EekClutterRendererPrivate
|
||||
eek_clutter_renderer_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-clutter-section</FILE>
|
||||
<TITLE>EekClutterSection</TITLE>
|
||||
EekClutterSection
|
||||
EekClutterSectionClass
|
||||
eek_clutter_section_new
|
||||
<SUBSECTION Standard>
|
||||
EEK_CLUTTER_SECTION
|
||||
EEK_CLUTTER_SECTION_CLASS
|
||||
EEK_CLUTTER_SECTION_GET_CLASS
|
||||
EEK_IS_CLUTTER_SECTION
|
||||
EEK_IS_CLUTTER_SECTION_CLASS
|
||||
EEK_TYPE_CLUTTER_SECTION
|
||||
EekClutterSectionPrivate
|
||||
eek_clutter_section_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-container</FILE>
|
||||
<TITLE>EekContainer</TITLE>
|
||||
EekCallback
|
||||
EekCompareFunc
|
||||
EekContainer
|
||||
EekContainerClass
|
||||
eek_container_add_child
|
||||
eek_container_find
|
||||
eek_container_foreach_child
|
||||
<SUBSECTION Standard>
|
||||
EEK_CONTAINER
|
||||
EEK_CONTAINER_CLASS
|
||||
EEK_CONTAINER_GET_CLASS
|
||||
EEK_IS_CONTAINER
|
||||
EEK_IS_CONTAINER_CLASS
|
||||
EEK_TYPE_CONTAINER
|
||||
EekContainerPrivate
|
||||
eek_container_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-element</FILE>
|
||||
<TITLE>EekElement</TITLE>
|
||||
EekElement
|
||||
EekElementClass
|
||||
eek_element_get_absolute_position
|
||||
eek_element_get_bounds
|
||||
eek_element_get_group
|
||||
eek_element_get_level
|
||||
eek_element_get_name
|
||||
eek_element_get_parent
|
||||
eek_element_get_symbol_index
|
||||
eek_element_set_bounds
|
||||
eek_element_set_group
|
||||
eek_element_set_level
|
||||
eek_element_set_name
|
||||
eek_element_set_parent
|
||||
eek_element_set_position
|
||||
eek_element_set_size
|
||||
eek_element_set_symbol_index
|
||||
<SUBSECTION Standard>
|
||||
EEK_ELEMENT
|
||||
EEK_ELEMENT_CLASS
|
||||
EEK_ELEMENT_GET_CLASS
|
||||
EEK_IS_ELEMENT
|
||||
EEK_IS_ELEMENT_CLASS
|
||||
EEK_TYPE_ELEMENT
|
||||
EekElementPrivate
|
||||
eek_element_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-gtk</FILE>
|
||||
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-gtk-keyboard</FILE>
|
||||
<TITLE>EekGtkKeyboard</TITLE>
|
||||
EekGtkKeyboard
|
||||
EekGtkKeyboardClass
|
||||
eek_gtk_keyboard_new
|
||||
eek_gtk_keyboard_set_theme
|
||||
<SUBSECTION Standard>
|
||||
EEK_GTK_KEYBOARD
|
||||
EEK_GTK_KEYBOARD_CLASS
|
||||
EEK_GTK_KEYBOARD_GET_CLASS
|
||||
EEK_IS_GTK_KEYBOARD
|
||||
EEK_IS_GTK_KEYBOARD_CLASS
|
||||
EEK_TYPE_GTK_KEYBOARD
|
||||
EekGtkKeyboardPrivate
|
||||
eek_gtk_keyboard_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-key</FILE>
|
||||
<TITLE>EekKey</TITLE>
|
||||
EekKey
|
||||
EekKeyClass
|
||||
eek_key_get_index
|
||||
eek_key_get_keycode
|
||||
eek_key_get_oref
|
||||
eek_key_get_symbol
|
||||
eek_key_get_symbol_at_index
|
||||
eek_key_get_symbol_matrix
|
||||
eek_key_get_symbol_with_fallback
|
||||
eek_key_is_locked
|
||||
eek_key_is_pressed
|
||||
eek_key_set_index
|
||||
eek_key_set_keycode
|
||||
eek_key_set_oref
|
||||
eek_key_set_symbol_matrix
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_KEY
|
||||
EEK_IS_KEY_CLASS
|
||||
EEK_KEY
|
||||
EEK_KEY_CLASS
|
||||
EEK_KEY_GET_CLASS
|
||||
EEK_TYPE_KEY
|
||||
EekKeyPrivate
|
||||
eek_key_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-keyboard</FILE>
|
||||
<TITLE>EekKeyboard</TITLE>
|
||||
EekKeyboard
|
||||
EekKeyboardClass
|
||||
EekModifierKey
|
||||
eek_keyboard_add_outline
|
||||
eek_keyboard_create_section
|
||||
eek_keyboard_find_key_by_keycode
|
||||
eek_keyboard_get_alt_gr_mask
|
||||
eek_keyboard_get_group
|
||||
eek_keyboard_get_layout
|
||||
eek_keyboard_get_level
|
||||
eek_keyboard_get_locked_keys
|
||||
eek_keyboard_get_modifier_behavior
|
||||
eek_keyboard_get_modifiers
|
||||
eek_keyboard_get_num_lock_mask
|
||||
eek_keyboard_get_outline
|
||||
eek_keyboard_get_pressed_keys
|
||||
eek_keyboard_get_size
|
||||
eek_keyboard_get_symbol_index
|
||||
eek_keyboard_new
|
||||
eek_keyboard_set_alt_gr_mask
|
||||
eek_keyboard_set_group
|
||||
eek_keyboard_set_level
|
||||
eek_keyboard_set_modifier_behavior
|
||||
eek_keyboard_set_modifiers
|
||||
eek_keyboard_set_num_lock_mask
|
||||
eek_keyboard_set_size
|
||||
eek_keyboard_set_symbol_index
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_KEYBOARD
|
||||
EEK_IS_KEYBOARD_CLASS
|
||||
EEK_KEYBOARD
|
||||
EEK_KEYBOARD_CLASS
|
||||
EEK_KEYBOARD_GET_CLASS
|
||||
EEK_TYPE_KEYBOARD
|
||||
EekKeyboardPrivate
|
||||
eek_keyboard_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-keysym</FILE>
|
||||
<TITLE>EekKeysym</TITLE>
|
||||
EekKeysym
|
||||
EekKeysymClass
|
||||
eek_keysym_get_xkeysym
|
||||
eek_keysym_new
|
||||
eek_keysym_new_from_name
|
||||
eek_keysym_new_with_modifier
|
||||
<SUBSECTION Standard>
|
||||
EEK_INVALID_KEYSYM
|
||||
EEK_IS_KEYSYM
|
||||
EEK_IS_KEYSYM_CLASS
|
||||
EEK_KEYSYM
|
||||
EEK_KEYSYM_CLASS
|
||||
EEK_KEYSYM_GET_CLASS
|
||||
EEK_TYPE_KEYSYM
|
||||
EekKeysymPrivate
|
||||
eek_keysym_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-layout</FILE>
|
||||
<TITLE>EekLayout</TITLE>
|
||||
EekLayout
|
||||
EekLayoutClass
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_LAYOUT
|
||||
EEK_IS_LAYOUT_CLASS
|
||||
EEK_LAYOUT
|
||||
EEK_LAYOUT_CLASS
|
||||
EEK_LAYOUT_GET_CLASS
|
||||
EEK_TYPE_LAYOUT
|
||||
eek_layout_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-marshalers</FILE>
|
||||
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-section</FILE>
|
||||
<TITLE>EekSection</TITLE>
|
||||
EekSection
|
||||
EekSectionClass
|
||||
eek_section_add_row
|
||||
eek_section_create_key
|
||||
eek_section_find_key_by_keycode
|
||||
eek_section_get_angle
|
||||
eek_section_get_n_rows
|
||||
eek_section_get_row
|
||||
eek_section_set_angle
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_SECTION
|
||||
EEK_IS_SECTION_CLASS
|
||||
EEK_SECTION
|
||||
EEK_SECTION_CLASS
|
||||
EEK_SECTION_GET_CLASS
|
||||
EEK_TYPE_SECTION
|
||||
EekSectionPrivate
|
||||
eek_section_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-serializable</FILE>
|
||||
<TITLE>EekSerializable</TITLE>
|
||||
EekSerializableIface
|
||||
eek_serializable_deserialize
|
||||
eek_serializable_serialize
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_SERIALIZABLE
|
||||
EEK_SERIALIZABLE
|
||||
EEK_SERIALIZABLE_GET_IFACE
|
||||
EEK_TYPE_SERIALIZABLE
|
||||
eek_serializable_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-special-keysym-entries</FILE>
|
||||
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-symbol</FILE>
|
||||
<TITLE>EekSymbol</TITLE>
|
||||
EekSymbol
|
||||
EekSymbolCategory
|
||||
EekSymbolClass
|
||||
eek_symbol_category_from_name
|
||||
eek_symbol_category_get_name
|
||||
eek_symbol_get_category
|
||||
eek_symbol_get_icon_name
|
||||
eek_symbol_get_label
|
||||
eek_symbol_get_modifier_mask
|
||||
eek_symbol_get_name
|
||||
eek_symbol_is_modifier
|
||||
eek_symbol_new
|
||||
eek_symbol_set_category
|
||||
eek_symbol_set_icon_name
|
||||
eek_symbol_set_label
|
||||
eek_symbol_set_modifier_mask
|
||||
eek_symbol_set_name
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_SYMBOL
|
||||
EEK_IS_SYMBOL_CLASS
|
||||
EEK_SYMBOL
|
||||
EEK_SYMBOL_CLASS
|
||||
EEK_SYMBOL_GET_CLASS
|
||||
EEK_TYPE_SYMBOL
|
||||
EekSymbolPrivate
|
||||
eek_symbol_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-symbol-matrix</FILE>
|
||||
EekSymbolMatrix
|
||||
eek_symbol_matrix_copy
|
||||
eek_symbol_matrix_free
|
||||
eek_symbol_matrix_get_symbol
|
||||
eek_symbol_matrix_new
|
||||
eek_symbol_matrix_set_symbol
|
||||
<SUBSECTION Standard>
|
||||
EEK_TYPE_SYMBOL_MATRIX
|
||||
eek_symbol_matrix_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-text</FILE>
|
||||
<TITLE>EekText</TITLE>
|
||||
EekText
|
||||
EekTextClass
|
||||
eek_text_get_text
|
||||
eek_text_new
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_TEXT
|
||||
EEK_IS_TEXT_CLASS
|
||||
EEK_TEXT
|
||||
EEK_TEXT_CLASS
|
||||
EEK_TEXT_GET_CLASS
|
||||
EEK_TYPE_TEXT
|
||||
EekTextPrivate
|
||||
eek_text_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-theme-context</FILE>
|
||||
EekThemeContextClass
|
||||
eek_theme_context_get_font
|
||||
eek_theme_context_get_resolution
|
||||
eek_theme_context_get_root_node
|
||||
eek_theme_context_get_theme
|
||||
eek_theme_context_new
|
||||
eek_theme_context_set_default_resolution
|
||||
eek_theme_context_set_font
|
||||
eek_theme_context_set_resolution
|
||||
eek_theme_context_set_theme
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_THEME_CONTEXT
|
||||
EEK_IS_THEME_CONTEXT_CLASS
|
||||
EEK_THEME_CONTEXT
|
||||
EEK_THEME_CONTEXT_CLASS
|
||||
EEK_THEME_CONTEXT_GET_CLASS
|
||||
EEK_TYPE_THEME_CONTEXT
|
||||
eek_theme_context_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-theme-private</FILE>
|
||||
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-types</FILE>
|
||||
EEK_INVALID_KEYCODE
|
||||
EekBounds
|
||||
EekColor
|
||||
EekContainer
|
||||
EekElement
|
||||
EekGradientType
|
||||
EekKey
|
||||
EekKeyboard
|
||||
EekKeysym
|
||||
EekModifierBehavior
|
||||
EekModifierType
|
||||
EekOrientation
|
||||
EekOutline
|
||||
EekPoint
|
||||
EekSection
|
||||
EekSymbol
|
||||
EekSymbolMatrix
|
||||
EekText
|
||||
EekTheme
|
||||
EekThemeContext
|
||||
EekThemeNode
|
||||
I_
|
||||
eek_bounds_copy
|
||||
eek_bounds_free
|
||||
eek_bounds_long_side
|
||||
eek_color_copy
|
||||
eek_color_free
|
||||
eek_color_new
|
||||
eek_outline_copy
|
||||
eek_outline_free
|
||||
eek_point_copy
|
||||
eek_point_free
|
||||
eek_point_rotate
|
||||
<SUBSECTION Standard>
|
||||
EEK_TYPE_BOUNDS
|
||||
EEK_TYPE_COLOR
|
||||
EEK_TYPE_OUTLINE
|
||||
EEK_TYPE_POINT
|
||||
eek_bounds_get_type
|
||||
eek_color_get_type
|
||||
eek_outline_get_type
|
||||
eek_point_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-unicode-keysym-entries</FILE>
|
||||
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-xkb</FILE>
|
||||
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-xkb-layout</FILE>
|
||||
<TITLE>EekXkbLayout</TITLE>
|
||||
EekXkbLayout
|
||||
EekXkbLayoutClass
|
||||
eek_xkb_layout_get_geometry
|
||||
eek_xkb_layout_get_keycodes
|
||||
eek_xkb_layout_get_symbols
|
||||
eek_xkb_layout_new
|
||||
eek_xkb_layout_set_geometry
|
||||
eek_xkb_layout_set_keycodes
|
||||
eek_xkb_layout_set_names
|
||||
eek_xkb_layout_set_names_full
|
||||
eek_xkb_layout_set_names_full_valist
|
||||
eek_xkb_layout_set_symbols
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_XKB_LAYOUT
|
||||
EEK_IS_XKB_LAYOUT_CLASS
|
||||
EEK_TYPE_XKB_LAYOUT
|
||||
EEK_XKB_LAYOUT
|
||||
EEK_XKB_LAYOUT_CLASS
|
||||
EEK_XKB_LAYOUT_GET_CLASS
|
||||
EekXkbLayoutPrivate
|
||||
eek_xkb_layout_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-xkeysym-keysym-entries</FILE>
|
||||
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-xkl</FILE>
|
||||
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-xkl-layout</FILE>
|
||||
<TITLE>EekXklLayout</TITLE>
|
||||
EekXklLayout
|
||||
EekXklLayoutClass
|
||||
eek_xkl_layout_disable_option
|
||||
eek_xkl_layout_enable_option
|
||||
eek_xkl_layout_get_layouts
|
||||
eek_xkl_layout_get_model
|
||||
eek_xkl_layout_get_option
|
||||
eek_xkl_layout_get_options
|
||||
eek_xkl_layout_get_variants
|
||||
eek_xkl_layout_new
|
||||
eek_xkl_layout_set_config
|
||||
eek_xkl_layout_set_config_full
|
||||
eek_xkl_layout_set_layouts
|
||||
eek_xkl_layout_set_model
|
||||
eek_xkl_layout_set_options
|
||||
eek_xkl_layout_set_variants
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_XKL_LAYOUT
|
||||
EEK_IS_XKL_LAYOUT_CLASS
|
||||
EEK_TYPE_XKL_LAYOUT
|
||||
EEK_XKL_LAYOUT
|
||||
EEK_XKL_LAYOUT_CLASS
|
||||
EEK_XKL_LAYOUT_GET_CLASS
|
||||
EekXklLayoutPrivate
|
||||
eek_xkl_layout_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-xml</FILE>
|
||||
EEK_XML_SCHEMA_VERSION
|
||||
eek_keyboard_output
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eek-xml-layout</FILE>
|
||||
<TITLE>EekXmlLayout</TITLE>
|
||||
EekXmlLayout
|
||||
EekXmlLayoutClass
|
||||
eek_xml_layout_get_source
|
||||
eek_xml_layout_new
|
||||
eek_xml_layout_set_source
|
||||
<SUBSECTION Standard>
|
||||
EEK_IS_XML_LAYOUT
|
||||
EEK_IS_XML_LAYOUT_CLASS
|
||||
EEK_TYPE_XML_LAYOUT
|
||||
EEK_XML_LAYOUT
|
||||
EEK_XML_LAYOUT_CLASS
|
||||
EEK_XML_LAYOUT_GET_CLASS
|
||||
EekXmlLayoutPrivate
|
||||
eek_xml_layout_get_type
|
||||
</SECTION>
|
||||
|
||||
@ -1,56 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
|
||||
[
|
||||
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
|
||||
]>
|
||||
<book id="index">
|
||||
<bookinfo>
|
||||
<title>eekboard Reference Manual</title>
|
||||
<releaseinfo>
|
||||
for eekboard 0.90.0.
|
||||
</releaseinfo>
|
||||
<copyright>
|
||||
<year>2011</year>
|
||||
<holder>Daiki Ueno</holder>
|
||||
</copyright>
|
||||
|
||||
<copyright>
|
||||
<year>2011</year>
|
||||
<holder>Red Hat, Inc.</holder>
|
||||
</copyright>
|
||||
|
||||
<legalnotice>
|
||||
<para>
|
||||
Permission is granted to copy, distribute and/or modify this
|
||||
document under the terms of the GNU Free Documentation License,
|
||||
Version 1.3 or any later version published by the Free Software
|
||||
Foundation; with no Invariant Sections, no Front-Cover Texts and
|
||||
no Back-Cover Texts. A copy of the license is included in the
|
||||
section entitled "GNU Free Documentation License".
|
||||
</para>
|
||||
</legalnotice>
|
||||
</bookinfo>
|
||||
|
||||
<part id="apireference">
|
||||
<title>API Manual</title>
|
||||
<chapter>
|
||||
<title>Client interface to eekboard-server</title>
|
||||
<xi:include href="xml/eekboard-client.xml"/>
|
||||
<xi:include href="xml/eekboard-context.xml"/>
|
||||
</chapter>
|
||||
<chapter>
|
||||
<title>Server interface to implement custom eekboard-server</title>
|
||||
<xi:include href="xml/eekboard-service.xml"/>
|
||||
<xi:include href="xml/eekboard-context-service.xml"/>
|
||||
</chapter>
|
||||
<chapter id="object-tree">
|
||||
<title>Object Hierarchy</title>
|
||||
<xi:include href="xml/tree_index.sgml"/>
|
||||
</chapter>
|
||||
<index id="api-index-full">
|
||||
<title>API Index</title>
|
||||
<xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
|
||||
</index>
|
||||
</part>
|
||||
</book>
|
||||
@ -1,104 +0,0 @@
|
||||
<SECTION>
|
||||
<FILE>eekboard-client</FILE>
|
||||
<TITLE>EekboardClient</TITLE>
|
||||
EekboardClient
|
||||
EekboardClientClass
|
||||
eekboard_client_new
|
||||
eekboard_client_create_context
|
||||
eekboard_client_push_context
|
||||
eekboard_client_pop_context
|
||||
eekboard_client_destroy_context
|
||||
EekboardClientPrivate
|
||||
<SUBSECTION Standard>
|
||||
EEKBOARD_CLIENT
|
||||
EEKBOARD_IS_CLIENT
|
||||
EEKBOARD_TYPE_CLIENT
|
||||
eekboard_client_get_type
|
||||
EEKBOARD_CLIENT_CLASS
|
||||
EEKBOARD_IS_CLIENT_CLASS
|
||||
EEKBOARD_CLIENT_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eekboard-service</FILE>
|
||||
<TITLE>EekboardService</TITLE>
|
||||
EEKBOARD_SERVICE_PATH
|
||||
EEKBOARD_SERVICE_INTERFACE
|
||||
EekboardService
|
||||
EekboardServiceClass
|
||||
eekboard_service_new
|
||||
EekboardServicePrivate
|
||||
<SUBSECTION Standard>
|
||||
EEKBOARD_SERVICE
|
||||
EEKBOARD_IS_SERVICE
|
||||
EEKBOARD_TYPE_SERVICE
|
||||
eekboard_service_get_type
|
||||
EEKBOARD_SERVICE_CLASS
|
||||
EEKBOARD_IS_SERVICE_CLASS
|
||||
EEKBOARD_SERVICE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eekboard-context</FILE>
|
||||
<TITLE>EekboardContext</TITLE>
|
||||
EekboardContext
|
||||
EekboardContextClass
|
||||
eekboard_context_new
|
||||
eekboard_context_add_keyboard
|
||||
eekboard_context_remove_keyboard
|
||||
eekboard_context_set_keyboard
|
||||
eekboard_context_show_keyboard
|
||||
eekboard_context_hide_keyboard
|
||||
eekboard_context_set_group
|
||||
eekboard_context_get_group
|
||||
eekboard_context_press_keycode
|
||||
eekboard_context_release_keycode
|
||||
eekboard_context_is_keyboard_visible
|
||||
eekboard_context_set_enabled
|
||||
eekboard_context_is_enabled
|
||||
eekboard_context_set_fullscreen
|
||||
EekboardContextPrivate
|
||||
<SUBSECTION Standard>
|
||||
EEKBOARD_CONTEXT
|
||||
EEKBOARD_IS_CONTEXT
|
||||
EEKBOARD_TYPE_CONTEXT
|
||||
eekboard_context_get_type
|
||||
EEKBOARD_CONTEXT_CLASS
|
||||
EEKBOARD_IS_CONTEXT_CLASS
|
||||
EEKBOARD_CONTEXT_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eekboard-context-service</FILE>
|
||||
<TITLE>EekboardContextService</TITLE>
|
||||
EEKBOARD_CONTEXT_SERVICE_PATH
|
||||
EEKBOARD_CONTEXT_SERVICE_INTERFACE
|
||||
EekboardContextService
|
||||
EekboardContextServiceClass
|
||||
eekboard_context_service_enable
|
||||
eekboard_context_service_disable
|
||||
eekboard_context_service_get_keyboard
|
||||
eekboard_context_service_get_fullscreen
|
||||
eekboard_context_service_get_client_name
|
||||
EekboardContextServicePrivate
|
||||
<SUBSECTION Standard>
|
||||
EEKBOARD_CONTEXT_SERVICE
|
||||
EEKBOARD_IS_CONTEXT_SERVICE
|
||||
EEKBOARD_TYPE_CONTEXT_SERVICE
|
||||
eekboard_context_service_get_type
|
||||
EEKBOARD_CONTEXT_SERVICE_CLASS
|
||||
EEKBOARD_IS_CONTEXT_SERVICE_CLASS
|
||||
EEKBOARD_CONTEXT_SERVICE_GET_CLASS
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>eekboard-xklutil</FILE>
|
||||
eekboard_xkl_config_rec_from_string
|
||||
eekboard_xkl_config_rec_to_string
|
||||
eekboard_xkl_list_models
|
||||
eekboard_xkl_list_layouts
|
||||
eekboard_xkl_list_option_groups
|
||||
eekboard_xkl_list_layout_variants
|
||||
eekboard_xkl_list_options
|
||||
</SECTION>
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
eekboard_client_get_type
|
||||
eekboard_context_get_type
|
||||
eekboard_context_service_get_type
|
||||
eekboard_service_get_type
|
||||
@ -1,30 +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
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: EEK
|
||||
Description: A Library to Create Keyboard-like UI
|
||||
URL: http://fedorahosted.org/eekboard/
|
||||
Version: @VERSION@
|
||||
Requires: gobject-2.0 gio-2.0
|
||||
Libs: -L${libdir} -leek
|
||||
Cflags: -I${includedir}/eek-@EEK_API_VERSION@
|
||||
@ -1,36 +0,0 @@
|
||||
/*** BEGIN file-header ***/
|
||||
#include "eek.h"
|
||||
|
||||
/*** END file-header ***/
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
/* enumerations from "@filename@" */
|
||||
/*** END file-production ***/
|
||||
|
||||
/*** BEGIN value-header ***/
|
||||
GType
|
||||
@enum_name@_get_type (void)
|
||||
{
|
||||
static volatile gsize g_define_type_id__volatile = 0;
|
||||
|
||||
if (g_once_init_enter (&g_define_type_id__volatile))
|
||||
{
|
||||
static const G@Type@Value values[] = {
|
||||
/*** END value-header ***/
|
||||
|
||||
/*** BEGIN value-production ***/
|
||||
{ @VALUENAME@, "@VALUENAME@", "@valuenick@" },
|
||||
/*** END value-production ***/
|
||||
|
||||
/*** BEGIN value-tail ***/
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
GType g_define_type_id =
|
||||
g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
|
||||
g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
|
||||
}
|
||||
|
||||
return g_define_type_id__volatile;
|
||||
}
|
||||
|
||||
/*** END value-tail ***/
|
||||
@ -1,29 +0,0 @@
|
||||
/*** BEGIN file-header ***/
|
||||
|
||||
#if !defined(__EEK_H_INSIDE__) && !defined(EEK_COMPILATION)
|
||||
#error "Only <eek/eek.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#ifndef __EEK_ENUMTYPES_H__
|
||||
#define __EEK_ENUMTYPES_H__
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
/*** END file-header ***/
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
|
||||
/* enumerations from "@filename@" */
|
||||
/*** END file-production ***/
|
||||
|
||||
/*** BEGIN value-header ***/
|
||||
GType @enum_name@_get_type (void) G_GNUC_CONST;
|
||||
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
|
||||
/*** END value-header ***/
|
||||
|
||||
/*** BEGIN file-tail ***/
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __EEK_ENUMTYPES_H__ */
|
||||
/*** END file-tail ***/
|
||||
@ -1,30 +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
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libeek-gtk
|
||||
Description: A Library to Create Keyboard-like UI (GTK Support)
|
||||
URL: http://fedorahosted.org/eekboard/
|
||||
Version: @VERSION@
|
||||
Requires: eek-@EEK_API_VERSION@ gtk+-@GTK_API_VERSION@
|
||||
Libs: -L${libdir} -leek-gtk
|
||||
Cflags: -I${includedir}/eek-@EEK_API_VERSION@
|
||||
@ -37,6 +37,9 @@
|
||||
|
||||
#include "eek-gtk-keyboard.h"
|
||||
|
||||
#include "eekboard/eekboard-context-service.h"
|
||||
#include "src/layout.h"
|
||||
|
||||
enum {
|
||||
PROP_0,
|
||||
PROP_LAST
|
||||
@ -51,23 +54,14 @@ enum {
|
||||
typedef struct _EekGtkKeyboardPrivate
|
||||
{
|
||||
EekRenderer *renderer;
|
||||
LevelKeyboard *keyboard;
|
||||
GtkCssProvider *css_provider;
|
||||
GtkStyleContext *scontext;
|
||||
LevelKeyboard *keyboard; // unowned reference; it's kept in server-context (FIXME)
|
||||
|
||||
GdkEventSequence *sequence; // unowned reference
|
||||
} EekGtkKeyboardPrivate;
|
||||
|
||||
G_DEFINE_TYPE_WITH_PRIVATE (EekGtkKeyboard, eek_gtk_keyboard, GTK_TYPE_DRAWING_AREA)
|
||||
|
||||
static void on_button_pressed (struct squeek_button *button, struct squeek_view *view,
|
||||
EekGtkKeyboard *self);
|
||||
static void on_button_released (const struct squeek_button *button,
|
||||
struct squeek_view *view,
|
||||
EekGtkKeyboard *self);
|
||||
static void render_pressed_button (GtkWidget *widget, struct button_place *place);
|
||||
static void render_locked_button (GtkWidget *widget,
|
||||
struct button_place *place);
|
||||
static void render_released_button (GtkWidget *widget,
|
||||
const struct squeek_button *button);
|
||||
|
||||
@ -98,7 +92,7 @@ eek_gtk_keyboard_real_draw (GtkWidget *self,
|
||||
if (!priv->renderer) {
|
||||
PangoContext *pcontext = gtk_widget_get_pango_context (self);
|
||||
|
||||
priv->renderer = eek_renderer_new (priv->keyboard, pcontext, priv->scontext);
|
||||
priv->renderer = eek_renderer_new (priv->keyboard, pcontext);
|
||||
|
||||
eek_renderer_set_allocation_size (priv->renderer,
|
||||
allocation.width,
|
||||
@ -107,30 +101,10 @@ eek_gtk_keyboard_real_draw (GtkWidget *self,
|
||||
gtk_widget_get_scale_factor (self));
|
||||
}
|
||||
|
||||
// render the keyboard without any key activity (TODO: from a cached buffer)
|
||||
eek_renderer_render_keyboard (priv->renderer, cr);
|
||||
|
||||
struct squeek_view *view = squeek_layout_get_current_view(priv->keyboard->layout);
|
||||
|
||||
/* redraw pressed key */
|
||||
const GList *list = priv->keyboard->pressed_keys;
|
||||
for (const GList *head = list; head; head = g_list_next (head)) {
|
||||
struct button_place place = squeek_view_find_key(
|
||||
view, head->data
|
||||
);
|
||||
if (place.button)
|
||||
render_pressed_button (self, &place);
|
||||
}
|
||||
|
||||
/* redraw locked key */
|
||||
list = priv->keyboard->locked_keys;
|
||||
for (const GList *head = list; head; head = g_list_next (head)) {
|
||||
struct button_place place = squeek_view_find_key(
|
||||
view, ((EekModifierKey *)head->data)->key
|
||||
);
|
||||
if (place.button)
|
||||
render_locked_button (self, &place);
|
||||
}
|
||||
|
||||
// render only a few remaining changes
|
||||
squeek_layout_draw_all_changed(priv->keyboard->layout, EEK_GTK_KEYBOARD(self));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@ -154,84 +128,24 @@ static void depress(EekGtkKeyboard *self,
|
||||
gdouble x, gdouble y, guint32 time)
|
||||
{
|
||||
EekGtkKeyboardPrivate *priv = eek_gtk_keyboard_get_instance_private (self);
|
||||
struct squeek_view *view = level_keyboard_current(priv->keyboard);
|
||||
struct squeek_button *button = eek_renderer_find_button_by_position (priv->renderer, view, x, y);
|
||||
|
||||
if (button) {
|
||||
eek_keyboard_press_key(
|
||||
priv->keyboard,
|
||||
squeek_button_get_key(button),
|
||||
time
|
||||
);
|
||||
on_button_pressed(button, view, self);
|
||||
}
|
||||
squeek_layout_depress(priv->keyboard->layout, priv->keyboard->manager->virtual_keyboard,
|
||||
x, y, eek_renderer_get_transformation(priv->renderer), time, self);
|
||||
}
|
||||
|
||||
static void drag(EekGtkKeyboard *self,
|
||||
gdouble x, gdouble y, guint32 time)
|
||||
{
|
||||
EekGtkKeyboardPrivate *priv = eek_gtk_keyboard_get_instance_private (self);
|
||||
struct squeek_view *view = level_keyboard_current(priv->keyboard);
|
||||
struct squeek_button *button = eek_renderer_find_button_by_position (priv->renderer, view, x, y);
|
||||
GList *list, *head;
|
||||
|
||||
list = g_list_copy(priv->keyboard->pressed_keys);
|
||||
|
||||
if (button) {
|
||||
gboolean found = FALSE;
|
||||
|
||||
for (head = list; head; head = g_list_next (head)) {
|
||||
struct squeek_key *key = head->data;
|
||||
if (squeek_button_has_key(button, key)) {
|
||||
found = TRUE;
|
||||
} else {
|
||||
eek_keyboard_release_key(priv->keyboard, key, time);
|
||||
// The released handler proceeds to ignore this info...
|
||||
// let's do this for consistency nevertheless
|
||||
struct button_place place = squeek_view_find_key(view, key);
|
||||
on_button_released(place.button, view, self);
|
||||
}
|
||||
}
|
||||
g_list_free (list);
|
||||
|
||||
if (!found) {
|
||||
eek_keyboard_press_key(
|
||||
priv->keyboard,
|
||||
squeek_button_get_key(button),
|
||||
time
|
||||
);
|
||||
|
||||
on_button_pressed(button, view, self);
|
||||
}
|
||||
} else {
|
||||
for (head = list; head; head = g_list_next (head)) {
|
||||
struct squeek_key *key = head->data;
|
||||
eek_keyboard_release_key(priv->keyboard, key, time);
|
||||
// The released handler proceeds to ignore this info...
|
||||
// let's do this for consistency nevertheless
|
||||
struct button_place place = squeek_view_find_key(view, key);
|
||||
on_button_released(place.button, view, self);
|
||||
}
|
||||
g_list_free (list);
|
||||
}
|
||||
squeek_layout_drag(priv->keyboard->layout, priv->keyboard->manager->virtual_keyboard,
|
||||
x, y, eek_renderer_get_transformation(priv->renderer), time, self);
|
||||
}
|
||||
|
||||
static void release(EekGtkKeyboard *self, guint32 time)
|
||||
{
|
||||
EekGtkKeyboardPrivate *priv = eek_gtk_keyboard_get_instance_private (self);
|
||||
|
||||
struct squeek_view *view = level_keyboard_current(priv->keyboard);
|
||||
|
||||
GList *list = g_list_copy(priv->keyboard->pressed_keys);
|
||||
for (GList *head = list; head; head = g_list_next (head)) {
|
||||
struct squeek_key *key = head->data;
|
||||
eek_keyboard_release_key(priv->keyboard, key, time);
|
||||
// The released handler proceeds to ignore this info...
|
||||
// let's do this for consistency nevertheless
|
||||
struct button_place place = squeek_view_find_key(view, key);
|
||||
on_button_released(place.button, view, self);
|
||||
}
|
||||
g_list_free (list);
|
||||
squeek_layout_release(priv->keyboard->layout, priv->keyboard->manager->virtual_keyboard, eek_renderer_get_transformation(priv->renderer), time, self);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
@ -306,15 +220,9 @@ eek_gtk_keyboard_real_unmap (GtkWidget *self)
|
||||
eek_gtk_keyboard_get_instance_private (EEK_GTK_KEYBOARD (self));
|
||||
|
||||
if (priv->keyboard) {
|
||||
GList *head;
|
||||
|
||||
for (head = priv->keyboard->pressed_keys; head; head = g_list_next (head)) {
|
||||
/* Unlike other places where we call this, we don't call
|
||||
on_button_released afterwards since we don't want to queue a
|
||||
redraw. */
|
||||
eek_keyboard_release_key(priv->keyboard, head->data,
|
||||
gdk_event_get_time(NULL));
|
||||
}
|
||||
squeek_layout_release_all_only(
|
||||
priv->keyboard->layout, priv->keyboard->manager->virtual_keyboard,
|
||||
gdk_event_get_time(NULL));
|
||||
}
|
||||
|
||||
GTK_WIDGET_CLASS (eek_gtk_keyboard_parent_class)->unmap (self);
|
||||
@ -346,13 +254,9 @@ eek_gtk_keyboard_dispose (GObject *object)
|
||||
}
|
||||
|
||||
if (priv->keyboard) {
|
||||
GList *head;
|
||||
|
||||
for (head = priv->keyboard->pressed_keys; head; head = g_list_next (head)) {
|
||||
eek_keyboard_release_key(priv->keyboard, head->data,
|
||||
gdk_event_get_time(NULL));
|
||||
}
|
||||
|
||||
squeek_layout_release_all_only(
|
||||
priv->keyboard->layout, priv->keyboard->manager->virtual_keyboard,
|
||||
gdk_event_get_time(NULL));
|
||||
priv->keyboard = NULL;
|
||||
}
|
||||
|
||||
@ -383,22 +287,7 @@ eek_gtk_keyboard_class_init (EekGtkKeyboardClass *klass)
|
||||
|
||||
static void
|
||||
eek_gtk_keyboard_init (EekGtkKeyboard *self)
|
||||
{
|
||||
EekGtkKeyboardPrivate *priv = eek_gtk_keyboard_get_instance_private (self);
|
||||
|
||||
/* Create a default CSS provider and load a style sheet */
|
||||
priv->css_provider = gtk_css_provider_new ();
|
||||
gtk_css_provider_load_from_resource (priv->css_provider,
|
||||
"/sm/puri/squeekboard/style.css");
|
||||
|
||||
/* Apply the style to the widget */
|
||||
priv->scontext = gtk_widget_get_style_context (GTK_WIDGET(self));
|
||||
gtk_style_context_add_class (priv->scontext, "keyboard");
|
||||
gtk_style_context_add_provider (priv->scontext,
|
||||
GTK_STYLE_PROVIDER(priv->css_provider),
|
||||
GTK_STYLE_PROVIDER_PRIORITY_USER);
|
||||
gtk_style_context_set_state (priv->scontext, GTK_STATE_FLAG_NORMAL);
|
||||
}
|
||||
{}
|
||||
|
||||
/**
|
||||
* eek_gtk_keyboard_new:
|
||||
@ -437,18 +326,17 @@ render_pressed_button (GtkWidget *widget,
|
||||
cairo_region_destroy (region);
|
||||
}
|
||||
|
||||
static void
|
||||
render_locked_button (GtkWidget *widget, struct button_place *place)
|
||||
void
|
||||
eek_gtk_render_locked_button (EekGtkKeyboard *self, struct button_place place)
|
||||
{
|
||||
EekGtkKeyboard *self = EEK_GTK_KEYBOARD (widget);
|
||||
EekGtkKeyboardPrivate *priv = eek_gtk_keyboard_get_instance_private (self);
|
||||
|
||||
GdkWindow *window = gtk_widget_get_window (widget);
|
||||
GdkWindow *window = gtk_widget_get_window (GTK_WIDGET(self));
|
||||
cairo_region_t *region = gdk_window_get_clip_region (window);
|
||||
GdkDrawingContext *context = gdk_window_begin_draw_frame (window, region);
|
||||
cairo_t *cr = gdk_drawing_context_get_cairo_context (context);
|
||||
|
||||
eek_renderer_render_button (priv->renderer, cr, place, 1.0, TRUE);
|
||||
eek_renderer_render_button (priv->renderer, cr, &place, 1.0, TRUE);
|
||||
|
||||
gdk_window_end_draw_frame (window, context);
|
||||
|
||||
@ -476,9 +364,8 @@ render_released_button (GtkWidget *widget,
|
||||
cairo_region_destroy (region);
|
||||
}
|
||||
|
||||
static void
|
||||
on_button_pressed (struct squeek_button *button,
|
||||
struct squeek_view *view,
|
||||
void
|
||||
eek_gtk_on_button_pressed (struct button_place place,
|
||||
EekGtkKeyboard *self)
|
||||
{
|
||||
EekGtkKeyboardPrivate *priv = eek_gtk_keyboard_get_instance_private (self);
|
||||
@ -487,10 +374,6 @@ on_button_pressed (struct squeek_button *button,
|
||||
if (!priv->renderer)
|
||||
return;
|
||||
|
||||
struct button_place place = {
|
||||
.button = button,
|
||||
.row = squeek_view_get_row(view, button),
|
||||
};
|
||||
if (!place.row) {
|
||||
return;
|
||||
}
|
||||
@ -506,8 +389,8 @@ on_button_pressed (struct squeek_button *button,
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
on_button_released (const struct squeek_button *button,
|
||||
void
|
||||
eek_gtk_on_button_released (const struct squeek_button *button,
|
||||
struct squeek_view *view,
|
||||
EekGtkKeyboard *self)
|
||||
{
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include <glib.h>
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#include "eek-keyboard.h"
|
||||
typedef struct _LevelKeyboard LevelKeyboard; // including causes weird bugs
|
||||
|
||||
G_BEGIN_DECLS
|
||||
#define EEK_TYPE_GTK_KEYBOARD (eek_gtk_keyboard_get_type())
|
||||
|
||||
@ -1,26 +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
|
||||
*/
|
||||
#ifndef EEK_GTK_H
|
||||
#define EEK_GTK_H 1
|
||||
|
||||
#include "eek.h"
|
||||
#include "eek-gtk-keyboard.h"
|
||||
|
||||
#endif /* EEK_GTK_H */
|
||||
@ -1,217 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2006 Sergey V. Udaltsov <svu@gnome.org>
|
||||
*
|
||||
* 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., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <pango/pangocairo.h>
|
||||
|
||||
#include "eek-types.h"
|
||||
|
||||
static gdouble
|
||||
length (gdouble x, gdouble y)
|
||||
{
|
||||
return sqrt (x * x + y * y);
|
||||
}
|
||||
|
||||
static gdouble
|
||||
point_line_distance (gdouble ax, gdouble ay, gdouble nx, gdouble ny)
|
||||
{
|
||||
return ax * nx + ay * ny;
|
||||
}
|
||||
|
||||
static void
|
||||
normal_form (gdouble ax, gdouble ay,
|
||||
gdouble bx, gdouble by,
|
||||
gdouble * nx, gdouble * ny, gdouble * d)
|
||||
{
|
||||
gdouble l;
|
||||
|
||||
*nx = by - ay;
|
||||
*ny = ax - bx;
|
||||
|
||||
l = length (*nx, *ny);
|
||||
|
||||
*nx /= l;
|
||||
*ny /= l;
|
||||
|
||||
*d = point_line_distance (ax, ay, *nx, *ny);
|
||||
}
|
||||
|
||||
static void
|
||||
inverse (gdouble a, gdouble b, gdouble c, gdouble d,
|
||||
gdouble * e, gdouble * f, gdouble * g, gdouble * h)
|
||||
{
|
||||
gdouble det;
|
||||
|
||||
det = a * d - b * c;
|
||||
|
||||
*e = d / det;
|
||||
*f = -b / det;
|
||||
*g = -c / det;
|
||||
*h = a / det;
|
||||
}
|
||||
|
||||
static void
|
||||
multiply (gdouble a, gdouble b, gdouble c, gdouble d,
|
||||
gdouble e, gdouble f, gdouble * x, gdouble * y)
|
||||
{
|
||||
*x = a * e + b * f;
|
||||
*y = c * e + d * f;
|
||||
}
|
||||
|
||||
static void
|
||||
intersect (gdouble n1x, gdouble n1y, gdouble d1,
|
||||
gdouble n2x, gdouble n2y, gdouble d2, gdouble * x, gdouble * y)
|
||||
{
|
||||
gdouble e, f, g, h;
|
||||
|
||||
inverse (n1x, n1y, n2x, n2y, &e, &f, &g, &h);
|
||||
multiply (e, f, g, h, d1, d2, x, y);
|
||||
}
|
||||
|
||||
|
||||
/* draw an angle from the current point to b and then to c,
|
||||
* with a rounded corner of the given radius.
|
||||
*/
|
||||
static void
|
||||
rounded_corner (cairo_t * cr,
|
||||
gdouble bx, gdouble by,
|
||||
gdouble cx, gdouble cy, gdouble radius)
|
||||
{
|
||||
gdouble ax, ay;
|
||||
gdouble n1x, n1y, d1;
|
||||
gdouble n2x, n2y, d2;
|
||||
gdouble pd1, pd2;
|
||||
gdouble ix, iy;
|
||||
gdouble dist1, dist2;
|
||||
gdouble nx, ny, d;
|
||||
gdouble a1x, a1y, c1x, c1y;
|
||||
gdouble phi1, phi2;
|
||||
|
||||
cairo_get_current_point (cr, &ax, &ay);
|
||||
#ifdef KBDRAW_DEBUG
|
||||
printf (" current point: (%f, %f), radius %f:\n", ax, ay,
|
||||
radius);
|
||||
#endif
|
||||
|
||||
/* make sure radius is not too large */
|
||||
dist1 = length (bx - ax, by - ay);
|
||||
dist2 = length (cx - bx, cy - by);
|
||||
|
||||
radius = MIN (radius, MIN (dist1, dist2));
|
||||
|
||||
/* construct normal forms of the lines */
|
||||
normal_form (ax, ay, bx, by, &n1x, &n1y, &d1);
|
||||
normal_form (bx, by, cx, cy, &n2x, &n2y, &d2);
|
||||
|
||||
/* find which side of the line a,b the point c is on */
|
||||
if (point_line_distance (cx, cy, n1x, n1y) < d1)
|
||||
pd1 = d1 - radius;
|
||||
else
|
||||
pd1 = d1 + radius;
|
||||
|
||||
/* find which side of the line b,c the point a is on */
|
||||
if (point_line_distance (ax, ay, n2x, n2y) < d2)
|
||||
pd2 = d2 - radius;
|
||||
else
|
||||
pd2 = d2 + radius;
|
||||
|
||||
/* intersect the parallels to find the center of the arc */
|
||||
intersect (n1x, n1y, pd1, n2x, n2y, pd2, &ix, &iy);
|
||||
|
||||
nx = (bx - ax) / dist1;
|
||||
ny = (by - ay) / dist1;
|
||||
d = point_line_distance (ix, iy, nx, ny);
|
||||
|
||||
/* a1 is the point on the line a-b where the arc starts */
|
||||
intersect (n1x, n1y, d1, nx, ny, d, &a1x, &a1y);
|
||||
|
||||
nx = (cx - bx) / dist2;
|
||||
ny = (cy - by) / dist2;
|
||||
d = point_line_distance (ix, iy, nx, ny);
|
||||
|
||||
/* c1 is the point on the line b-c where the arc ends */
|
||||
intersect (n2x, n2y, d2, nx, ny, d, &c1x, &c1y);
|
||||
|
||||
/* determine the first angle */
|
||||
if (a1x - ix == 0)
|
||||
phi1 = (a1y - iy > 0) ? M_PI_2 : 3 * M_PI_2;
|
||||
else if (a1x - ix > 0)
|
||||
phi1 = atan ((a1y - iy) / (a1x - ix));
|
||||
else
|
||||
phi1 = M_PI + atan ((a1y - iy) / (a1x - ix));
|
||||
|
||||
/* determine the second angle */
|
||||
if (c1x - ix == 0)
|
||||
phi2 = (c1y - iy > 0) ? M_PI_2 : 3 * M_PI_2;
|
||||
else if (c1x - ix > 0)
|
||||
phi2 = atan ((c1y - iy) / (c1x - ix));
|
||||
else
|
||||
phi2 = M_PI + atan ((c1y - iy) / (c1x - ix));
|
||||
|
||||
/* compute the difference between phi2 and phi1 mod 2pi */
|
||||
d = phi2 - phi1;
|
||||
while (d < 0)
|
||||
d += 2 * M_PI;
|
||||
while (d > 2 * M_PI)
|
||||
d -= 2 * M_PI;
|
||||
|
||||
#ifdef KBDRAW_DEBUG
|
||||
printf (" line 1 to: (%f, %f):\n", a1x, a1y);
|
||||
#endif
|
||||
if (!(isnan (a1x) || isnan (a1y)))
|
||||
cairo_line_to (cr, a1x, a1y);
|
||||
|
||||
/* pick the short arc from phi1 to phi2 */
|
||||
if (d < M_PI)
|
||||
cairo_arc (cr, ix, iy, radius, phi1, phi2);
|
||||
else
|
||||
cairo_arc_negative (cr, ix, iy, radius, phi1, phi2);
|
||||
|
||||
#ifdef KBDRAW_DEBUG
|
||||
printf (" line 2 to: (%f, %f):\n", cx, cy);
|
||||
#endif
|
||||
cairo_line_to (cr, cx, cy);
|
||||
}
|
||||
|
||||
/* renamed from rounded_polygon, use EekPoint instead of GdkPoint not
|
||||
to depend on GTK+, and exported */
|
||||
void
|
||||
_eek_rounded_polygon (cairo_t *cr,
|
||||
gdouble radius,
|
||||
EekPoint *points,
|
||||
guint num_points)
|
||||
{
|
||||
cairo_move_to (cr,
|
||||
(gdouble) (points[num_points - 1].x +
|
||||
points[0].x) / 2,
|
||||
(gdouble) (points[num_points - 1].y +
|
||||
points[0].y) / 2);
|
||||
|
||||
for (guint i = 0; i < num_points; i++) {
|
||||
guint j = (i + 1) % num_points;
|
||||
rounded_corner (cr, (gdouble) points[i].x,
|
||||
(gdouble) points[i].y,
|
||||
(gdouble) (points[i].x + points[j].x) / 2,
|
||||
(gdouble) (points[i].y + points[j].y) / 2,
|
||||
radius);
|
||||
}
|
||||
cairo_close_path (cr);
|
||||
}
|
||||
@ -31,102 +31,16 @@
|
||||
#include <glib/gprintf.h>
|
||||
|
||||
#include "eek-enumtypes.h"
|
||||
#include "eekboard/eekboard-context-service.h"
|
||||
#include "eekboard/key-emitter.h"
|
||||
#include "keymap.h"
|
||||
#include "src/keyboard.h"
|
||||
|
||||
#include "eek-keyboard.h"
|
||||
|
||||
EekModifierKey *
|
||||
eek_modifier_key_copy (EekModifierKey *modkey)
|
||||
{
|
||||
return g_slice_dup (EekModifierKey, modkey);
|
||||
}
|
||||
|
||||
void
|
||||
eek_modifier_key_free (EekModifierKey *modkey)
|
||||
{
|
||||
g_slice_free (EekModifierKey, modkey);
|
||||
}
|
||||
|
||||
void
|
||||
eek_keyboard_set_key_locked (LevelKeyboard *keyboard,
|
||||
struct squeek_key *key)
|
||||
{
|
||||
EekModifierKey *modifier_key = g_slice_new (EekModifierKey);
|
||||
modifier_key->modifiers = 0;
|
||||
modifier_key->key = key;
|
||||
keyboard->locked_keys =
|
||||
g_list_prepend (keyboard->locked_keys, modifier_key);
|
||||
}
|
||||
|
||||
/// Unlock all locked keys.
|
||||
/// All locked keys will unlock at the next keypress (should be called "stuck")
|
||||
/// Returns the number of handled keys
|
||||
/// TODO: may need to check key type in order to chain locks
|
||||
/// before pressing an "emitting" key
|
||||
static int unlock_keys(LevelKeyboard *keyboard) {
|
||||
int handled = 0;
|
||||
for (GList *head = keyboard->locked_keys; head; ) {
|
||||
EekModifierKey *modifier_key = head->data;
|
||||
GList *next = g_list_next (head);
|
||||
keyboard->locked_keys =
|
||||
g_list_remove_link (keyboard->locked_keys, head);
|
||||
//squeek_key_set_locked(squeek_button_get_key(modifier_key->button), false);
|
||||
|
||||
squeek_layout_set_state_from_press(keyboard->layout, keyboard, modifier_key->key);
|
||||
g_list_free1 (head);
|
||||
head = next;
|
||||
handled++;
|
||||
}
|
||||
return handled;
|
||||
}
|
||||
|
||||
static void
|
||||
set_level_from_press (LevelKeyboard *keyboard, struct squeek_key *key)
|
||||
{
|
||||
// If the currently locked key was already handled in the unlock phase,
|
||||
// then skip
|
||||
if (unlock_keys(keyboard) == 0) {
|
||||
squeek_layout_set_state_from_press(keyboard->layout, keyboard, key);
|
||||
}
|
||||
}
|
||||
|
||||
void eek_keyboard_press_key(LevelKeyboard *keyboard, struct squeek_key *key, guint32 timestamp) {
|
||||
squeek_key_set_pressed(key, TRUE);
|
||||
keyboard->pressed_keys = g_list_prepend (keyboard->pressed_keys, key);
|
||||
|
||||
// Only take action about setting level *after* the key has taken effect, i.e. on release
|
||||
//set_level_from_press (keyboard, key);
|
||||
|
||||
// "Borrowed" from eek-context-service; doesn't influence the state but forwards the event
|
||||
|
||||
guint keycode = squeek_key_get_keycode (key);
|
||||
|
||||
emit_key_activated(keyboard->manager, keyboard, keycode, TRUE, timestamp);
|
||||
}
|
||||
|
||||
void eek_keyboard_release_key(LevelKeyboard *keyboard,
|
||||
struct squeek_key *key,
|
||||
guint32 timestamp) {
|
||||
for (GList *head = keyboard->pressed_keys; head; head = g_list_next (head)) {
|
||||
if (squeek_key_equal(head->data, key)) {
|
||||
keyboard->pressed_keys = g_list_remove_link (keyboard->pressed_keys, head);
|
||||
g_list_free1 (head);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
set_level_from_press (keyboard, key);
|
||||
|
||||
// "Borrowed" from eek-context-service; doesn't influence the state but forwards the event
|
||||
|
||||
guint keycode = squeek_key_get_keycode (key);
|
||||
|
||||
emit_key_activated(keyboard->manager, keyboard, keycode, FALSE, timestamp);
|
||||
}
|
||||
|
||||
void level_keyboard_deinit(LevelKeyboard *self) {
|
||||
xkb_keymap_unref(self->keymap);
|
||||
close(self->keymap_fd);
|
||||
squeek_layout_free(self->layout);
|
||||
}
|
||||
|
||||
|
||||
@ -33,43 +33,19 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
struct _EekModifierKey {
|
||||
/*< public >*/
|
||||
EekModifierType modifiers;
|
||||
struct squeek_key *key;
|
||||
};
|
||||
typedef struct _EekModifierKey EekModifierKey;
|
||||
|
||||
/// Keyboard state holder
|
||||
struct _LevelKeyboard {
|
||||
struct squeek_layout *layout;
|
||||
struct xkb_keymap *keymap;
|
||||
struct squeek_layout *layout; // owned
|
||||
struct xkb_keymap *keymap; // owned
|
||||
int keymap_fd; // keymap formatted as XKB string
|
||||
size_t keymap_len; // length of the data inside keymap_fd
|
||||
|
||||
GList *pressed_keys; // struct squeek_key*
|
||||
GList *locked_keys; // struct EekModifierKey*
|
||||
|
||||
guint id; // as a key to layout choices
|
||||
|
||||
EekboardContextService *manager; // unowned reference
|
||||
};
|
||||
typedef struct _LevelKeyboard LevelKeyboard;
|
||||
|
||||
/// Represents the path to the button within a view
|
||||
struct button_place {
|
||||
const struct squeek_row *row;
|
||||
const struct squeek_button *button;
|
||||
};
|
||||
|
||||
EekModifierKey *eek_modifier_key_copy
|
||||
(EekModifierKey *modkey);
|
||||
void eek_modifier_key_free
|
||||
(EekModifierKey *modkey);
|
||||
|
||||
void eek_keyboard_press_key(LevelKeyboard *keyboard, struct squeek_key *key, guint32 timestamp);
|
||||
void eek_keyboard_release_key(LevelKeyboard *keyboard, struct squeek_key *key, guint32 timestamp);
|
||||
|
||||
gchar * eek_keyboard_get_keymap
|
||||
(LevelKeyboard *keyboard);
|
||||
|
||||
|
||||
@ -24,25 +24,23 @@
|
||||
#include <string.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
#include "eek-keyboard.h"
|
||||
#include "eek-renderer.h"
|
||||
|
||||
enum {
|
||||
PROP_0,
|
||||
PROP_PCONTEXT,
|
||||
PROP_STYLE_CONTEXT,
|
||||
PROP_LAST
|
||||
};
|
||||
|
||||
typedef struct _EekRendererPrivate
|
||||
{
|
||||
LevelKeyboard *keyboard;
|
||||
PangoContext *pcontext;
|
||||
GtkCssProvider *css_provider;
|
||||
GtkStyleContext *scontext;
|
||||
GtkStyleContext *key_context;
|
||||
LevelKeyboard *keyboard; // unowned
|
||||
PangoContext *pcontext; // owned
|
||||
GtkCssProvider *css_provider; // owned
|
||||
GtkStyleContext *view_context; // owned
|
||||
GtkStyleContext *button_context; // TODO: maybe move a copy to each button
|
||||
|
||||
EekColor default_foreground_color;
|
||||
EekColor default_background_color;
|
||||
gdouble border_width;
|
||||
|
||||
gdouble allocation_width;
|
||||
@ -52,34 +50,21 @@ typedef struct _EekRendererPrivate
|
||||
gint origin_x;
|
||||
gint origin_y;
|
||||
|
||||
PangoFontDescription *ascii_font;
|
||||
PangoFontDescription *font;
|
||||
GHashTable *outline_surface_cache;
|
||||
GHashTable *active_outline_surface_cache;
|
||||
GHashTable *icons;
|
||||
PangoFontDescription *font; // owned reference
|
||||
cairo_surface_t *keyboard_surface;
|
||||
|
||||
} EekRendererPrivate;
|
||||
|
||||
G_DEFINE_TYPE_WITH_PRIVATE (EekRenderer, eek_renderer, G_TYPE_OBJECT)
|
||||
|
||||
static const EekColor DEFAULT_FOREGROUND_COLOR = {0.3, 0.3, 0.3, 1.0};
|
||||
static const EekColor DEFAULT_BACKGROUND_COLOR = {1.0, 1.0, 1.0, 1.0};
|
||||
|
||||
/* eek-keyboard-drawing.c */
|
||||
extern void _eek_rounded_polygon (cairo_t *cr,
|
||||
gdouble radius,
|
||||
EekPoint *points,
|
||||
guint num_points);
|
||||
|
||||
static void eek_renderer_real_render_button_label (EekRenderer *self,
|
||||
PangoLayout *layout,
|
||||
static void eek_renderer_render_button_label (EekRenderer *self, cairo_t *cr, GtkStyleContext *ctx,
|
||||
const struct squeek_button *button);
|
||||
|
||||
static void invalidate (EekRenderer *renderer);
|
||||
static void render_button (EekRenderer *self,
|
||||
cairo_t *cr, struct button_place *place,
|
||||
gboolean active);
|
||||
cairo_t *cr, EekBounds view_bounds, struct button_place *place,
|
||||
gboolean pressed, gboolean locked);
|
||||
|
||||
struct _CreateKeyboardSurfaceCallbackData {
|
||||
cairo_t *cr;
|
||||
@ -109,7 +94,7 @@ create_keyboard_surface_button_callback (struct squeek_button *button,
|
||||
.row = data->row,
|
||||
.button = button,
|
||||
};
|
||||
render_button (data->renderer, data->cr, &place, FALSE);
|
||||
render_button (data->renderer, data->cr, squeek_view_get_bounds(data->view), &place, FALSE, FALSE);
|
||||
|
||||
cairo_restore (data->cr);
|
||||
}
|
||||
@ -138,9 +123,9 @@ static void
|
||||
render_keyboard_surface (EekRenderer *renderer, struct squeek_view *view)
|
||||
{
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
EekColor foreground;
|
||||
|
||||
eek_renderer_get_foreground_color (renderer, priv->scontext, &foreground);
|
||||
GdkRGBA color = {0};
|
||||
gtk_style_context_get_color (priv->view_context, GTK_STATE_FLAG_NORMAL, &color);
|
||||
|
||||
EekBounds bounds = squeek_view_get_bounds (level_keyboard_current(priv->keyboard));
|
||||
|
||||
@ -151,11 +136,11 @@ render_keyboard_surface (EekRenderer *renderer, struct squeek_view *view)
|
||||
};
|
||||
|
||||
/* Paint the background covering the entire widget area */
|
||||
gtk_render_background (priv->scontext,
|
||||
gtk_render_background (priv->view_context,
|
||||
data.cr,
|
||||
0, 0,
|
||||
priv->allocation_width, priv->allocation_height);
|
||||
gtk_render_frame (priv->scontext,
|
||||
gtk_render_frame (priv->view_context,
|
||||
data.cr,
|
||||
0, 0,
|
||||
priv->allocation_width, priv->allocation_height);
|
||||
@ -165,75 +150,58 @@ render_keyboard_surface (EekRenderer *renderer, struct squeek_view *view)
|
||||
cairo_translate (data.cr, bounds.x, bounds.y);
|
||||
|
||||
cairo_set_source_rgba (data.cr,
|
||||
foreground.red,
|
||||
foreground.green,
|
||||
foreground.blue,
|
||||
foreground.alpha);
|
||||
color.red,
|
||||
color.green,
|
||||
color.blue,
|
||||
color.alpha);
|
||||
|
||||
/* draw rows */
|
||||
squeek_view_foreach(level_keyboard_current(priv->keyboard),
|
||||
create_keyboard_surface_row_callback,
|
||||
&data);
|
||||
|
||||
cairo_restore (data.cr);
|
||||
|
||||
cairo_destroy (data.cr);
|
||||
}
|
||||
|
||||
static void
|
||||
render_button_outline (EekRenderer *renderer,
|
||||
cairo_t *cr,
|
||||
const struct squeek_button *button,
|
||||
gboolean active)
|
||||
render_outline (cairo_t *cr,
|
||||
GtkStyleContext *ctx,
|
||||
EekBounds bounds)
|
||||
{
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
EekBounds bounds = squeek_button_get_bounds(button);
|
||||
GtkBorder margin, border;
|
||||
gtk_style_context_get_margin(ctx, GTK_STATE_FLAG_NORMAL, &margin);
|
||||
gtk_style_context_get_border(ctx, GTK_STATE_FLAG_NORMAL, &border);
|
||||
|
||||
/* Set the name of the button on the widget path, using the name obtained
|
||||
from the button's symbol. */
|
||||
g_autoptr (GtkWidgetPath) path = NULL;
|
||||
path = gtk_widget_path_copy (gtk_style_context_get_path (priv->key_context));
|
||||
const char *name = squeek_button_get_name(button);
|
||||
gtk_widget_path_iter_set_name (path, -1, name);
|
||||
|
||||
/* Update the style context with the updated widget path. */
|
||||
gtk_style_context_set_path (priv->key_context, path);
|
||||
|
||||
/* Set the state to take into account whether the button is active
|
||||
(pressed) or normal. */
|
||||
gtk_style_context_set_state(priv->key_context,
|
||||
active ? GTK_STATE_FLAG_ACTIVE : GTK_STATE_FLAG_NORMAL);
|
||||
|
||||
gtk_render_background (priv->key_context,
|
||||
cr, 0, 0, bounds.width, bounds.height);
|
||||
gtk_render_frame (priv->key_context,
|
||||
cr, 0, 0, bounds.width, bounds.height);
|
||||
|
||||
gtk_style_context_set_state(priv->key_context, GTK_STATE_FLAG_NORMAL);
|
||||
gdouble x = margin.left + border.left;
|
||||
gdouble y = margin.top + border.top;
|
||||
EekBounds position = {
|
||||
.x = x,
|
||||
.y = y,
|
||||
.width = bounds.width - x - (margin.right + border.right),
|
||||
.height = bounds.height - y - (margin.bottom + border.bottom),
|
||||
};
|
||||
gtk_render_background (ctx, cr,
|
||||
position.x, position.y, position.width, position.height);
|
||||
gtk_render_frame (ctx, cr,
|
||||
position.x, position.y, position.width, position.height);
|
||||
}
|
||||
|
||||
static void
|
||||
render_button (EekRenderer *self,
|
||||
cairo_t *cr,
|
||||
struct button_place *place,
|
||||
gboolean active)
|
||||
{
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (self);
|
||||
cairo_surface_t *outline_surface;
|
||||
GHashTable *outline_surface_cache;
|
||||
PangoLayout *layout;
|
||||
PangoRectangle extents = { 0, };
|
||||
EekColor foreground;
|
||||
static void render_button_in_context(EekRenderer *self,
|
||||
gdouble scale,
|
||||
gint scale_factor,
|
||||
cairo_t *cr,
|
||||
GtkStyleContext *ctx,
|
||||
EekBounds view_bounds,
|
||||
struct button_place *place,
|
||||
gboolean active) {
|
||||
cairo_surface_t *outline_surface = NULL;
|
||||
|
||||
/* render outline */
|
||||
EekBounds bounds = squeek_button_get_bounds(place->button);
|
||||
|
||||
if (active)
|
||||
outline_surface_cache = priv->active_outline_surface_cache;
|
||||
else
|
||||
outline_surface_cache = priv->outline_surface_cache;
|
||||
|
||||
outline_surface = g_hash_table_lookup (outline_surface_cache, place->button);
|
||||
if (!outline_surface) {
|
||||
{
|
||||
cairo_t *cr;
|
||||
|
||||
// Outline will be drawn on the outside of the button, so the
|
||||
@ -249,72 +217,88 @@ render_button (EekRenderer *self,
|
||||
cairo_paint (cr);
|
||||
|
||||
cairo_save (cr);
|
||||
eek_renderer_apply_transformation_for_button (self, cr, place, 1.0, FALSE);
|
||||
render_button_outline (self, cr, place->button, active);
|
||||
eek_renderer_apply_transformation_for_button (cr, view_bounds, place, 1.0, FALSE);
|
||||
render_outline (cr, ctx, bounds);
|
||||
cairo_restore (cr);
|
||||
|
||||
cairo_destroy (cr);
|
||||
|
||||
g_hash_table_insert (outline_surface_cache,
|
||||
(gpointer)place->button,
|
||||
outline_surface);
|
||||
}
|
||||
|
||||
cairo_set_source_surface (cr, outline_surface, 0.0, 0.0);
|
||||
cairo_surface_destroy(outline_surface);
|
||||
cairo_paint (cr);
|
||||
|
||||
eek_renderer_get_foreground_color (self, priv->key_context, &foreground);
|
||||
/* render icon (if any) */
|
||||
const char *icon_name = squeek_button_get_icon_name(place->button);
|
||||
|
||||
if (icon_name) {
|
||||
gint scale = priv->scale_factor;
|
||||
cairo_surface_t *icon_surface =
|
||||
eek_renderer_get_icon_surface (self, icon_name, 16 / priv->scale,
|
||||
scale);
|
||||
eek_renderer_get_icon_surface (icon_name, 16, scale_factor);
|
||||
if (icon_surface) {
|
||||
gint width = cairo_image_surface_get_width (icon_surface);
|
||||
gint height = cairo_image_surface_get_height (icon_surface);
|
||||
|
||||
cairo_save (cr);
|
||||
cairo_translate (cr,
|
||||
(bounds.width - (double)width / scale) / 2,
|
||||
(bounds.height - (double)height / scale) / 2);
|
||||
(bounds.width - (double)width / scale_factor) / 2,
|
||||
(bounds.height - (double)height / scale_factor) / 2);
|
||||
cairo_rectangle (cr, 0, 0, width, height);
|
||||
cairo_clip (cr);
|
||||
/* Draw the shape of the icon using the foreground color */
|
||||
cairo_set_source_rgba (cr, foreground.red,
|
||||
foreground.green,
|
||||
foreground.blue,
|
||||
foreground.alpha);
|
||||
cairo_mask_surface (cr, icon_surface, 0.0, 0.0);
|
||||
cairo_fill (cr);
|
||||
GdkRGBA color = {0};
|
||||
gtk_style_context_get_color (ctx, GTK_STATE_FLAG_NORMAL, &color);
|
||||
|
||||
cairo_set_source_rgba (cr, color.red,
|
||||
color.green,
|
||||
color.blue,
|
||||
color.alpha);
|
||||
cairo_mask_surface (cr, icon_surface, 0.0, 0.0);
|
||||
cairo_surface_destroy(icon_surface);
|
||||
cairo_fill (cr);
|
||||
cairo_restore (cr);
|
||||
return;
|
||||
}
|
||||
}
|
||||
eek_renderer_render_button_label (self, cr, ctx, place->button);
|
||||
}
|
||||
|
||||
/* render label */
|
||||
layout = pango_cairo_create_layout (cr);
|
||||
eek_renderer_real_render_button_label (self, layout, place->button);
|
||||
pango_layout_get_extents (layout, NULL, &extents);
|
||||
static void
|
||||
render_button (EekRenderer *self,
|
||||
cairo_t *cr,
|
||||
EekBounds view_bounds,
|
||||
struct button_place *place,
|
||||
gboolean pressed,
|
||||
gboolean locked)
|
||||
{
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (self);
|
||||
|
||||
cairo_save (cr);
|
||||
cairo_move_to
|
||||
(cr,
|
||||
(bounds.width - (double)extents.width / PANGO_SCALE) / 2,
|
||||
(bounds.height - (double)extents.height / PANGO_SCALE) / 2);
|
||||
GtkStyleContext *ctx = priv->button_context;
|
||||
/* Set the name of the button on the widget path, using the name obtained
|
||||
from the button's symbol. */
|
||||
g_autoptr (GtkWidgetPath) path = NULL;
|
||||
path = gtk_widget_path_copy (gtk_style_context_get_path (ctx));
|
||||
const char *name = squeek_button_get_name(place->button);
|
||||
gtk_widget_path_iter_set_name (path, -1, name);
|
||||
|
||||
cairo_set_source_rgba (cr,
|
||||
foreground.red,
|
||||
foreground.green,
|
||||
foreground.blue,
|
||||
foreground.alpha);
|
||||
/* Update the style context with the updated widget path. */
|
||||
gtk_style_context_set_path (ctx, path);
|
||||
/* Set the state to take into account whether the button is active
|
||||
(pressed) or normal. */
|
||||
gtk_style_context_set_state(ctx,
|
||||
pressed ? GTK_STATE_FLAG_ACTIVE : GTK_STATE_FLAG_NORMAL);
|
||||
const char *outline_name = squeek_button_get_outline_name(place->button);
|
||||
if (locked) {
|
||||
gtk_style_context_add_class(ctx, "locked");
|
||||
}
|
||||
gtk_style_context_add_class(ctx, outline_name);
|
||||
|
||||
pango_cairo_show_layout (cr, layout);
|
||||
cairo_restore (cr);
|
||||
g_object_unref (layout);
|
||||
render_button_in_context(self, priv->scale, priv->scale_factor, cr, ctx, view_bounds, place, pressed);
|
||||
|
||||
// Save and restore functions don't work if gtk_render_* was used in between
|
||||
gtk_style_context_set_state(ctx, GTK_STATE_FLAG_NORMAL);
|
||||
gtk_style_context_remove_class(ctx, outline_name);
|
||||
if (locked) {
|
||||
gtk_style_context_remove_class(ctx, "locked");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -333,8 +317,8 @@ render_button (EekRenderer *self,
|
||||
* normal keys for popups.
|
||||
*/
|
||||
void
|
||||
eek_renderer_apply_transformation_for_button (EekRenderer *self,
|
||||
cairo_t *cr,
|
||||
eek_renderer_apply_transformation_for_button (cairo_t *cr,
|
||||
EekBounds view_bounds,
|
||||
struct button_place *place,
|
||||
gdouble scale,
|
||||
gboolean rotate)
|
||||
@ -342,8 +326,8 @@ eek_renderer_apply_transformation_for_button (EekRenderer *self,
|
||||
EekBounds bounds, rotated_bounds;
|
||||
gdouble s;
|
||||
|
||||
eek_renderer_get_button_bounds (self, place, &bounds, FALSE);
|
||||
eek_renderer_get_button_bounds (self, place, &rotated_bounds, TRUE);
|
||||
eek_renderer_get_button_bounds (view_bounds, place, &bounds, FALSE);
|
||||
eek_renderer_get_button_bounds (view_bounds, place, &rotated_bounds, TRUE);
|
||||
|
||||
gint angle = squeek_row_get_angle (place->row);
|
||||
|
||||
@ -359,9 +343,10 @@ eek_renderer_apply_transformation_for_button (EekRenderer *self,
|
||||
}
|
||||
|
||||
static void
|
||||
eek_renderer_real_render_button_label (EekRenderer *self,
|
||||
PangoLayout *layout,
|
||||
const struct squeek_button *button)
|
||||
eek_renderer_render_button_label (EekRenderer *self,
|
||||
cairo_t *cr,
|
||||
GtkStyleContext *ctx,
|
||||
const struct squeek_button *button)
|
||||
{
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (self);
|
||||
|
||||
@ -372,22 +357,16 @@ eek_renderer_real_render_button_label (EekRenderer *self,
|
||||
}
|
||||
|
||||
PangoFontDescription *font;
|
||||
PangoLayoutLine *line;
|
||||
gdouble scale;
|
||||
|
||||
|
||||
if (!priv->font) {
|
||||
const PangoFontDescription *base_font;
|
||||
gdouble ascii_size, size;
|
||||
gdouble size;
|
||||
|
||||
base_font = pango_context_get_font_description (priv->pcontext);
|
||||
// FIXME: Base font size on the same size unit used for button sizing,
|
||||
// and make the default about 1/3 of the current row height
|
||||
ascii_size = 30000.0;
|
||||
priv->ascii_font = pango_font_description_copy (base_font);
|
||||
pango_font_description_set_size (priv->ascii_font,
|
||||
(gint)round(ascii_size));
|
||||
|
||||
size = 30000.0;
|
||||
priv->font = pango_font_description_copy (base_font);
|
||||
pango_font_description_set_size (priv->font, (gint)round(size * 0.6));
|
||||
@ -400,15 +379,39 @@ eek_renderer_real_render_button_label (EekRenderer *self,
|
||||
font = pango_font_description_copy (priv->font);
|
||||
pango_font_description_set_size (font,
|
||||
(gint)round(pango_font_description_get_size (font) * scale));
|
||||
|
||||
PangoLayout *layout = pango_cairo_create_layout (cr);
|
||||
pango_layout_set_font_description (layout, font);
|
||||
pango_font_description_free (font);
|
||||
|
||||
pango_layout_set_text (layout, label, -1);
|
||||
line = pango_layout_get_line (layout, 0);
|
||||
if (line->resolved_dir == PANGO_DIRECTION_RTL)
|
||||
PangoLayoutLine *line = pango_layout_get_line_readonly(layout, 0);
|
||||
if (line->resolved_dir == PANGO_DIRECTION_RTL) {
|
||||
pango_layout_set_alignment (layout, PANGO_ALIGN_RIGHT);
|
||||
}
|
||||
pango_layout_set_width (layout,
|
||||
PANGO_SCALE * bounds.width * scale);
|
||||
|
||||
PangoRectangle extents = { 0, };
|
||||
pango_layout_get_extents (layout, NULL, &extents);
|
||||
|
||||
cairo_save (cr);
|
||||
cairo_move_to
|
||||
(cr,
|
||||
(bounds.width - (double)extents.width / PANGO_SCALE) / 2,
|
||||
(bounds.height - (double)extents.height / PANGO_SCALE) / 2);
|
||||
|
||||
GdkRGBA color = {0};
|
||||
gtk_style_context_get_color (ctx, GTK_STATE_FLAG_NORMAL, &color);
|
||||
|
||||
cairo_set_source_rgba (cr,
|
||||
color.red,
|
||||
color.green,
|
||||
color.blue,
|
||||
color.alpha);
|
||||
pango_cairo_show_layout (cr, layout);
|
||||
cairo_restore (cr);
|
||||
g_object_unref (layout);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -432,7 +435,8 @@ eek_renderer_real_render_button (EekRenderer *self,
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (self);
|
||||
EekBounds bounds;
|
||||
|
||||
eek_renderer_get_button_bounds (self, place, &bounds, rotate);
|
||||
EekBounds view_bounds = squeek_view_get_bounds (level_keyboard_current(priv->keyboard));
|
||||
eek_renderer_get_button_bounds (view_bounds, place, &bounds, rotate);
|
||||
|
||||
cairo_save (cr);
|
||||
/* Because this function is called separately from the keyboard rendering
|
||||
@ -441,11 +445,12 @@ eek_renderer_real_render_button (EekRenderer *self,
|
||||
cairo_scale (cr, priv->scale, priv->scale);
|
||||
cairo_translate (cr, bounds.x, bounds.y);
|
||||
|
||||
eek_renderer_apply_transformation_for_button (self, cr, place, scale, rotate);
|
||||
eek_renderer_apply_transformation_for_button (cr, view_bounds, place, scale, rotate);
|
||||
struct squeek_key *key = squeek_button_get_key(place->button);
|
||||
render_button (
|
||||
self, cr, place,
|
||||
squeek_key_is_pressed(key) || squeek_key_is_locked (key)
|
||||
self, cr, view_bounds, place,
|
||||
squeek_key_is_pressed(key) != 0,
|
||||
squeek_key_is_locked (key) != 0
|
||||
);
|
||||
cairo_restore (cr);
|
||||
}
|
||||
@ -489,17 +494,13 @@ eek_renderer_set_property (GObject *object,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (
|
||||
EEK_RENDERER(object));
|
||||
EEK_RENDERER(object));
|
||||
|
||||
switch (prop_id) {
|
||||
case PROP_PCONTEXT:
|
||||
priv->pcontext = g_value_get_object (value);
|
||||
g_object_ref (priv->pcontext);
|
||||
break;
|
||||
case PROP_STYLE_CONTEXT:
|
||||
priv->scontext = g_value_get_object (value);
|
||||
g_object_ref (priv->scontext);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
@ -533,8 +534,6 @@ eek_renderer_dispose (GObject *object)
|
||||
priv->pcontext = NULL;
|
||||
}
|
||||
|
||||
g_clear_pointer (&priv->icons, g_hash_table_destroy);
|
||||
|
||||
/* this will release all allocated surfaces and font if any */
|
||||
invalidate (EEK_RENDERER(object));
|
||||
|
||||
@ -547,9 +546,9 @@ eek_renderer_finalize (GObject *object)
|
||||
EekRenderer *self = EEK_RENDERER(object);
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (self);
|
||||
|
||||
g_hash_table_destroy (priv->outline_surface_cache);
|
||||
g_hash_table_destroy (priv->active_outline_surface_cache);
|
||||
pango_font_description_free (priv->ascii_font);
|
||||
g_object_unref(priv->css_provider);
|
||||
g_object_unref(priv->view_context);
|
||||
g_object_unref(priv->button_context);
|
||||
pango_font_description_free (priv->font);
|
||||
G_OBJECT_CLASS (eek_renderer_parent_class)->finalize (object);
|
||||
}
|
||||
@ -576,15 +575,33 @@ eek_renderer_class_init (EekRendererClass *klass)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_PCONTEXT,
|
||||
pspec);
|
||||
}
|
||||
|
||||
pspec = g_param_spec_object ("style-context",
|
||||
"GTK Style Context",
|
||||
"GTK Style Context",
|
||||
GTK_TYPE_STYLE_CONTEXT,
|
||||
G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE);
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_STYLE_CONTEXT,
|
||||
pspec);
|
||||
|
||||
static GType new_type(char *name) {
|
||||
GTypeInfo info = {0};
|
||||
info.class_size = sizeof(GtkWidgetClass);
|
||||
info.instance_size = sizeof(GtkWidget);
|
||||
|
||||
return g_type_register_static(GTK_TYPE_WIDGET, name, &info,
|
||||
G_TYPE_FLAG_ABSTRACT
|
||||
);
|
||||
}
|
||||
|
||||
static GType view_type() {
|
||||
static GType type = 0;
|
||||
if (!type) {
|
||||
type = new_type("sq_view");
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
static GType button_type() {
|
||||
static GType type = 0;
|
||||
if (!type) {
|
||||
type = new_type("sq_button");
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -594,51 +611,22 @@ eek_renderer_init (EekRenderer *self)
|
||||
|
||||
priv->keyboard = NULL;
|
||||
priv->pcontext = NULL;
|
||||
priv->default_foreground_color = DEFAULT_FOREGROUND_COLOR;
|
||||
priv->default_background_color = DEFAULT_BACKGROUND_COLOR;
|
||||
priv->border_width = 1.0;
|
||||
priv->allocation_width = 0.0;
|
||||
priv->allocation_height = 0.0;
|
||||
priv->scale = 1.0;
|
||||
priv->scale_factor = 1;
|
||||
priv->font = NULL;
|
||||
priv->outline_surface_cache =
|
||||
g_hash_table_new_full (g_direct_hash,
|
||||
g_direct_equal,
|
||||
NULL,
|
||||
(GDestroyNotify)cairo_surface_destroy);
|
||||
priv->active_outline_surface_cache =
|
||||
g_hash_table_new_full (g_direct_hash,
|
||||
g_direct_equal,
|
||||
NULL,
|
||||
(GDestroyNotify)cairo_surface_destroy);
|
||||
priv->keyboard_surface = NULL;
|
||||
|
||||
GtkIconTheme *theme = gtk_icon_theme_get_default ();
|
||||
|
||||
gtk_icon_theme_add_resource_path (theme, "/sm/puri/squeekboard/icons");
|
||||
priv->icons = g_hash_table_new_full (g_str_hash,
|
||||
g_str_equal,
|
||||
g_free,
|
||||
(GDestroyNotify)cairo_surface_destroy);
|
||||
|
||||
/* Create a default CSS provider and load a style sheet */
|
||||
priv->css_provider = gtk_css_provider_new ();
|
||||
gtk_css_provider_load_from_resource (priv->css_provider,
|
||||
"/sm/puri/squeekboard/style.css");
|
||||
|
||||
/* Create a style context for keys */
|
||||
priv->key_context = gtk_style_context_new ();
|
||||
gtk_style_context_add_class (priv->key_context, "key");
|
||||
gtk_style_context_add_provider (priv->key_context,
|
||||
GTK_STYLE_PROVIDER(priv->css_provider),
|
||||
GTK_STYLE_PROVIDER_PRIORITY_USER);
|
||||
|
||||
g_autoptr (GtkWidgetPath) path = NULL;
|
||||
path = gtk_widget_path_new ();
|
||||
gtk_widget_path_append_type (path, GTK_TYPE_BUTTON);
|
||||
gtk_style_context_set_path (priv->key_context, path);
|
||||
gtk_style_context_set_state (priv->key_context, GTK_STATE_FLAG_NORMAL);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -646,12 +634,6 @@ invalidate (EekRenderer *renderer)
|
||||
{
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
|
||||
if (priv->outline_surface_cache)
|
||||
g_hash_table_remove_all (priv->outline_surface_cache);
|
||||
|
||||
if (priv->active_outline_surface_cache)
|
||||
g_hash_table_remove_all (priv->active_outline_surface_cache);
|
||||
|
||||
if (priv->keyboard_surface) {
|
||||
cairo_surface_destroy (priv->keyboard_surface);
|
||||
priv->keyboard_surface = NULL;
|
||||
@ -660,15 +642,43 @@ invalidate (EekRenderer *renderer)
|
||||
|
||||
EekRenderer *
|
||||
eek_renderer_new (LevelKeyboard *keyboard,
|
||||
PangoContext *pcontext,
|
||||
GtkStyleContext *scontext)
|
||||
PangoContext *pcontext)
|
||||
{
|
||||
EekRenderer *renderer = g_object_new (EEK_TYPE_RENDERER,
|
||||
"pango-context", pcontext,
|
||||
"style-context", scontext,
|
||||
NULL);
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
priv->keyboard = keyboard;
|
||||
|
||||
/* Create a style context for the layout */
|
||||
GtkWidgetPath *path = gtk_widget_path_new();
|
||||
gtk_widget_path_append_type(path, view_type());
|
||||
|
||||
priv->view_context = gtk_style_context_new();
|
||||
gtk_style_context_set_path(priv->view_context, path);
|
||||
gtk_widget_path_unref(path);
|
||||
if (squeek_layout_get_kind(priv->keyboard->layout) == ARRANGEMENT_KIND_WIDE) {
|
||||
gtk_style_context_add_class(priv->view_context, "wide");
|
||||
}
|
||||
gtk_style_context_add_provider (priv->view_context,
|
||||
GTK_STYLE_PROVIDER(priv->css_provider),
|
||||
GTK_STYLE_PROVIDER_PRIORITY_USER);
|
||||
|
||||
/* Create a style context for the buttons */
|
||||
path = gtk_widget_path_new();
|
||||
gtk_widget_path_append_type(path, view_type());
|
||||
if (squeek_layout_get_kind(priv->keyboard->layout) == ARRANGEMENT_KIND_WIDE) {
|
||||
gtk_widget_path_iter_add_class(path, -1, "wide");
|
||||
}
|
||||
gtk_widget_path_append_type(path, button_type());
|
||||
priv->button_context = gtk_style_context_new ();
|
||||
gtk_style_context_set_path(priv->button_context, path);
|
||||
gtk_widget_path_unref(path);
|
||||
gtk_style_context_set_parent(priv->button_context, priv->view_context);
|
||||
gtk_style_context_set_state (priv->button_context, GTK_STATE_FLAG_NORMAL);
|
||||
gtk_style_context_add_provider (priv->button_context,
|
||||
GTK_STYLE_PROVIDER(priv->css_provider),
|
||||
GTK_STYLE_PROVIDER_PRIORITY_USER);
|
||||
return renderer;
|
||||
}
|
||||
|
||||
@ -720,7 +730,7 @@ eek_renderer_get_size (EekRenderer *renderer,
|
||||
}
|
||||
|
||||
void
|
||||
eek_renderer_get_button_bounds (EekRenderer *renderer,
|
||||
eek_renderer_get_button_bounds (EekBounds view_bounds,
|
||||
struct button_place *place,
|
||||
EekBounds *bounds,
|
||||
gboolean rotate)
|
||||
@ -728,15 +738,11 @@ eek_renderer_get_button_bounds (EekRenderer *renderer,
|
||||
gint angle = 0;
|
||||
EekPoint points[4], min, max;
|
||||
|
||||
g_return_if_fail (EEK_IS_RENDERER(renderer));
|
||||
g_return_if_fail (place);
|
||||
g_return_if_fail (bounds != NULL);
|
||||
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
|
||||
EekBounds button_bounds = squeek_button_get_bounds(place->button);
|
||||
EekBounds row_bounds = squeek_row_get_bounds (place->row);
|
||||
EekBounds view_bounds = squeek_view_get_bounds (level_keyboard_current(priv->keyboard));
|
||||
|
||||
if (!rotate) {
|
||||
button_bounds.x += view_bounds.x + row_bounds.x;
|
||||
@ -759,7 +765,7 @@ eek_renderer_get_button_bounds (EekRenderer *renderer,
|
||||
|
||||
min = points[2];
|
||||
max = points[0];
|
||||
for (uint i = 0; i < G_N_ELEMENTS(points); i++) {
|
||||
for (unsigned i = 0; i < G_N_ELEMENTS(points); i++) {
|
||||
eek_point_rotate (&points[i], angle);
|
||||
if (points[i].x < min.x)
|
||||
min.x = points[i].x;
|
||||
@ -795,46 +801,26 @@ eek_renderer_set_scale_factor (EekRenderer *renderer, gint scale)
|
||||
priv->scale_factor = scale;
|
||||
}
|
||||
|
||||
PangoLayout *
|
||||
eek_renderer_create_pango_layout (EekRenderer *renderer)
|
||||
{
|
||||
g_return_val_if_fail (EEK_IS_RENDERER(renderer), NULL);
|
||||
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
|
||||
return pango_layout_new (priv->pcontext);
|
||||
}
|
||||
|
||||
cairo_surface_t *
|
||||
eek_renderer_get_icon_surface (EekRenderer *renderer,
|
||||
const gchar *icon_name,
|
||||
eek_renderer_get_icon_surface (const gchar *icon_name,
|
||||
gint size,
|
||||
gint scale)
|
||||
{
|
||||
GError *error = NULL;
|
||||
cairo_surface_t *surface;
|
||||
cairo_surface_t *surface = gtk_icon_theme_load_surface (gtk_icon_theme_get_default (),
|
||||
icon_name,
|
||||
size,
|
||||
scale,
|
||||
NULL,
|
||||
0,
|
||||
&error);
|
||||
|
||||
g_return_val_if_fail (EEK_IS_RENDERER(renderer), NULL);
|
||||
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
|
||||
surface = g_hash_table_lookup (priv->icons, icon_name);
|
||||
if (!surface) {
|
||||
surface = gtk_icon_theme_load_surface (gtk_icon_theme_get_default (),
|
||||
icon_name,
|
||||
size,
|
||||
scale,
|
||||
NULL,
|
||||
0,
|
||||
&error);
|
||||
g_hash_table_insert (priv->icons, g_strdup(icon_name), surface);
|
||||
if (surface == NULL) {
|
||||
g_warning ("can't get icon surface for %s: %s",
|
||||
icon_name,
|
||||
error->message);
|
||||
g_error_free (error);
|
||||
return NULL;
|
||||
}
|
||||
if (surface == NULL) {
|
||||
g_warning ("can't get icon surface for %s: %s",
|
||||
icon_name,
|
||||
error->message);
|
||||
g_error_free (error);
|
||||
return NULL;
|
||||
}
|
||||
return surface;
|
||||
}
|
||||
@ -862,48 +848,6 @@ eek_renderer_render_keyboard (EekRenderer *renderer,
|
||||
EEK_RENDERER_GET_CLASS(renderer)->render_keyboard (renderer, cr);
|
||||
}
|
||||
|
||||
void
|
||||
eek_renderer_set_default_foreground_color (EekRenderer *renderer,
|
||||
const EekColor *color)
|
||||
{
|
||||
g_return_if_fail (EEK_IS_RENDERER(renderer));
|
||||
g_return_if_fail (color);
|
||||
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
|
||||
memcpy (&priv->default_foreground_color, color, sizeof(EekColor));
|
||||
}
|
||||
|
||||
void
|
||||
eek_renderer_set_default_background_color (EekRenderer *renderer,
|
||||
const EekColor *color)
|
||||
{
|
||||
g_return_if_fail (EEK_IS_RENDERER(renderer));
|
||||
g_return_if_fail (color);
|
||||
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
|
||||
memcpy (&priv->default_background_color, color, sizeof(EekColor));
|
||||
}
|
||||
|
||||
void
|
||||
eek_renderer_get_foreground_color (EekRenderer *renderer,
|
||||
GtkStyleContext *context,
|
||||
EekColor *color)
|
||||
{
|
||||
g_return_if_fail (EEK_IS_RENDERER(renderer));
|
||||
g_return_if_fail (color);
|
||||
|
||||
GtkStateFlags flags = GTK_STATE_FLAG_NORMAL;
|
||||
GdkRGBA gcolor;
|
||||
|
||||
gtk_style_context_get_color (context, flags, &gcolor);
|
||||
color->red = gcolor.red;
|
||||
color->green = gcolor.green;
|
||||
color->blue = gcolor.blue;
|
||||
color->alpha = gcolor.alpha;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
sign (EekPoint *p1, EekPoint *p2, EekPoint *p3)
|
||||
{
|
||||
@ -927,7 +871,7 @@ eek_are_bounds_inside (EekBounds bounds, EekPoint point, EekPoint origin, int32_
|
||||
points[3].x = points[0].x;
|
||||
points[3].y = points[2].y;
|
||||
|
||||
for (uint i = 0; i < G_N_ELEMENTS(points); i++) {
|
||||
for (unsigned i = 0; i < G_N_ELEMENTS(points); i++) {
|
||||
eek_point_rotate (&points[i], angle);
|
||||
points[i].x += origin.x;
|
||||
points[i].y += origin.y;
|
||||
@ -951,29 +895,16 @@ eek_are_bounds_inside (EekBounds bounds, EekPoint point, EekPoint origin, int32_
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* eek_renderer_find_key_by_position:
|
||||
* @renderer: The renderer normally used to render the key
|
||||
* @x: The horizontal widget coordinate of the position to test for a key
|
||||
* @y: The vertical widget coordinate of the position to test for a key
|
||||
*
|
||||
* Return value: the key located at the position x, y in widget coordinates, or
|
||||
* NULL if no key can be found at that location
|
||||
**/
|
||||
struct squeek_button *
|
||||
eek_renderer_find_button_by_position (EekRenderer *renderer,
|
||||
struct squeek_view *view,
|
||||
gdouble x,
|
||||
gdouble y)
|
||||
{
|
||||
g_return_val_if_fail (EEK_IS_RENDERER(renderer), NULL);
|
||||
struct transformation
|
||||
eek_renderer_get_transformation (EekRenderer *renderer) {
|
||||
struct transformation failed = {0};
|
||||
g_return_val_if_fail (EEK_IS_RENDERER(renderer), failed);
|
||||
|
||||
EekRendererPrivate *priv = eek_renderer_get_instance_private (renderer);
|
||||
|
||||
/* Transform from widget coordinates to keyboard coordinates */
|
||||
EekPoint point = {
|
||||
.x = (x - priv->origin_x)/priv->scale,
|
||||
.y = (y - priv->origin_y)/priv->scale,
|
||||
struct transformation ret = {
|
||||
.origin_x = priv->origin_x,
|
||||
.origin_y = priv->origin_y,
|
||||
.scale = priv->scale,
|
||||
};
|
||||
return squeek_view_find_button_by_position(view, point);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
#include <gtk/gtk.h>
|
||||
#include <pango/pangocairo.h>
|
||||
|
||||
#include "eek-keyboard.h"
|
||||
#include "eek-types.h"
|
||||
#include "src/layout.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
@ -57,8 +57,7 @@ struct _EekRendererClass
|
||||
|
||||
GType eek_renderer_get_type (void) G_GNUC_CONST;
|
||||
EekRenderer *eek_renderer_new (LevelKeyboard *keyboard,
|
||||
PangoContext *pcontext,
|
||||
GtkStyleContext *scontext);
|
||||
PangoContext *pcontext);
|
||||
void eek_renderer_set_allocation_size
|
||||
(EekRenderer *renderer,
|
||||
gdouble width,
|
||||
@ -66,7 +65,7 @@ void eek_renderer_set_allocation_size
|
||||
void eek_renderer_get_size (EekRenderer *renderer,
|
||||
gdouble *width,
|
||||
gdouble *height);
|
||||
void eek_renderer_get_button_bounds (EekRenderer *renderer,
|
||||
void eek_renderer_get_button_bounds (EekBounds view_bounds,
|
||||
struct button_place *button,
|
||||
EekBounds *bounds,
|
||||
gboolean rotate);
|
||||
@ -75,42 +74,29 @@ gdouble eek_renderer_get_scale (EekRenderer *renderer);
|
||||
void eek_renderer_set_scale_factor (EekRenderer *renderer,
|
||||
gint scale);
|
||||
|
||||
PangoLayout *eek_renderer_create_pango_layout
|
||||
(EekRenderer *renderer);
|
||||
void eek_renderer_render_button (EekRenderer *renderer,
|
||||
cairo_t *cr,
|
||||
struct button_place *place,
|
||||
gdouble scale,
|
||||
gboolean rotate);
|
||||
|
||||
cairo_surface_t *eek_renderer_get_icon_surface (EekRenderer *renderer,
|
||||
const gchar *icon_name,
|
||||
cairo_surface_t *eek_renderer_get_icon_surface(const gchar *icon_name,
|
||||
gint size,
|
||||
gint scale);
|
||||
|
||||
void eek_renderer_render_keyboard (EekRenderer *renderer,
|
||||
cairo_t *cr);
|
||||
|
||||
void eek_renderer_set_default_foreground_color
|
||||
(EekRenderer *renderer,
|
||||
const EekColor *color);
|
||||
void eek_renderer_set_default_background_color
|
||||
(EekRenderer *renderer,
|
||||
const EekColor *color);
|
||||
void eek_renderer_get_foreground_color
|
||||
(EekRenderer *renderer,
|
||||
GtkStyleContext *context,
|
||||
EekColor *color);
|
||||
void eek_renderer_set_border_width (EekRenderer *renderer,
|
||||
gdouble border_width);
|
||||
struct squeek_button *eek_renderer_find_button_by_position(EekRenderer *renderer, struct squeek_view *view,
|
||||
gdouble x,
|
||||
gdouble y);
|
||||
void eek_renderer_apply_transformation_for_button
|
||||
(EekRenderer *renderer,
|
||||
cairo_t *cr, struct button_place *place,
|
||||
(cairo_t *cr,
|
||||
EekBounds view_bounds,
|
||||
struct button_place *place,
|
||||
gdouble scale,
|
||||
gboolean rotate);
|
||||
|
||||
struct transformation
|
||||
eek_renderer_get_transformation (EekRenderer *renderer);
|
||||
|
||||
G_END_DECLS
|
||||
#endif /* EEK_RENDERER_H */
|
||||
|
||||
113
eek/eek-symbol.c
113
eek/eek-symbol.c
@ -1,113 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2011 Daiki Ueno <ueno@unixuser.org>
|
||||
* Copyright (C) 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-symbol
|
||||
* @short_description: Base class of a symbol
|
||||
*
|
||||
* The #EekSymbolClass class represents a symbol assigned to a key.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "eek-symbol.h"
|
||||
#include "eek-enumtypes.h"
|
||||
|
||||
EekSymbol *
|
||||
eek_symbol_new (const gchar *name)
|
||||
{
|
||||
EekSymbol *self = g_new0(EekSymbol, 1);
|
||||
self->name = g_strdup (name);
|
||||
self->category = EEK_SYMBOL_CATEGORY_UNKNOWN;
|
||||
return self;
|
||||
}
|
||||
|
||||
/**
|
||||
* eek_symbol_set_label:
|
||||
* @symbol: an #EekSymbol
|
||||
* @label: label text of @symbol
|
||||
*
|
||||
* Set the label text of @symbol to @label.
|
||||
*/
|
||||
void
|
||||
eek_symbol_set_label (EekSymbol *symbol,
|
||||
const gchar *label)
|
||||
{
|
||||
g_free (symbol->label);
|
||||
symbol->label = g_strdup (label);
|
||||
}
|
||||
|
||||
/**
|
||||
* eek_symbol_set_modifier_mask:
|
||||
* @symbol: an #EekSymbol
|
||||
* @mask: an #EekModifierType
|
||||
*
|
||||
* Set modifier mask that @symbol can trigger.
|
||||
*/
|
||||
void
|
||||
eek_symbol_set_modifier_mask (EekSymbol *symbol,
|
||||
EekModifierType mask)
|
||||
{
|
||||
symbol->modifier_mask = mask;
|
||||
}
|
||||
|
||||
/**
|
||||
* eek_symbol_get_modifier_mask:
|
||||
* @symbol: an #EekSymbol
|
||||
*
|
||||
* Get modifier mask that @symbol can trigger.
|
||||
*/
|
||||
EekModifierType
|
||||
eek_symbol_get_modifier_mask (EekSymbol *symbol)
|
||||
{
|
||||
return 0;
|
||||
return symbol->modifier_mask;
|
||||
}
|
||||
|
||||
void
|
||||
eek_symbol_set_icon_name (EekSymbol *symbol,
|
||||
const gchar *icon_name)
|
||||
{
|
||||
g_free (symbol->icon_name);
|
||||
symbol->icon_name = g_strdup (icon_name);
|
||||
}
|
||||
|
||||
const gchar *
|
||||
eek_symbol_get_icon_name (EekSymbol *symbol)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void
|
||||
eek_symbol_set_tooltip (EekSymbol *symbol,
|
||||
const gchar *tooltip)
|
||||
{
|
||||
g_free (symbol->tooltip);
|
||||
symbol->tooltip = g_strdup (tooltip);
|
||||
}
|
||||
|
||||
const gchar *
|
||||
eek_symbol_get_tooltip (EekSymbol *symbol)
|
||||
{
|
||||
return NULL;
|
||||
if (symbol->tooltip == NULL || *symbol->tooltip == '\0')
|
||||
return NULL;
|
||||
return symbol->tooltip;
|
||||
}
|
||||
@ -72,63 +72,3 @@ eek_bounds_free (EekBounds *bounds)
|
||||
{
|
||||
g_slice_free (EekBounds, bounds);
|
||||
}
|
||||
|
||||
/* EekOutline */
|
||||
G_DEFINE_BOXED_TYPE(EekOutline, eek_outline,
|
||||
eek_outline_copy, eek_outline_free);
|
||||
|
||||
EekOutline *
|
||||
eek_outline_copy (const EekOutline *outline)
|
||||
{
|
||||
EekOutline *_outline = g_slice_dup (EekOutline, outline);
|
||||
_outline->corner_radius = outline->corner_radius;
|
||||
_outline->num_points = outline->num_points;
|
||||
_outline->points = g_slice_alloc0 (sizeof (EekPoint) * outline->num_points);
|
||||
memcpy (_outline->points, outline->points, sizeof (EekPoint) * outline->num_points);
|
||||
return _outline;
|
||||
}
|
||||
|
||||
void
|
||||
eek_outline_free (EekOutline *outline)
|
||||
{
|
||||
g_slice_free1 (sizeof (EekPoint) * outline->num_points, outline->points);
|
||||
g_slice_free (EekOutline, outline);
|
||||
}
|
||||
|
||||
/* EekColor */
|
||||
G_DEFINE_BOXED_TYPE(EekColor, eek_color, eek_color_copy, eek_color_free);
|
||||
|
||||
EekColor *
|
||||
eek_color_copy (const EekColor *color)
|
||||
{
|
||||
return g_slice_dup (EekColor, color);
|
||||
}
|
||||
|
||||
void
|
||||
eek_color_free (EekColor *color)
|
||||
{
|
||||
g_slice_free (EekColor, color);
|
||||
}
|
||||
|
||||
EekColor *
|
||||
eek_color_new (gdouble red,
|
||||
gdouble green,
|
||||
gdouble blue,
|
||||
gdouble alpha)
|
||||
{
|
||||
EekColor *color;
|
||||
|
||||
color = g_slice_new (EekColor);
|
||||
color->red = red;
|
||||
color->green = green;
|
||||
color->blue = blue;
|
||||
color->alpha = alpha;
|
||||
|
||||
return color;
|
||||
}
|
||||
|
||||
GQuark
|
||||
eek_error_quark (void)
|
||||
{
|
||||
return g_quark_from_static_string ("eek-error-quark");
|
||||
}
|
||||
|
||||
175
eek/eek-types.h
175
eek/eek-types.h
@ -1,6 +1,7 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
* Copyright (C) 2010-2011 Red Hat, Inc.
|
||||
* Copyright (C) 2019 Purism, SPC
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public License
|
||||
@ -33,117 +34,8 @@ G_BEGIN_DECLS
|
||||
|
||||
#define EEK_TYPE_POINT (eek_point_get_type ())
|
||||
#define EEK_TYPE_BOUNDS (eek_bounds_get_type ())
|
||||
#define EEK_TYPE_OUTLINE (eek_outline_get_type ())
|
||||
#define EEK_TYPE_COLOR (eek_color_get_type ())
|
||||
|
||||
|
||||
/**
|
||||
* EekOrientation:
|
||||
* @EEK_ORIENTATION_VERTICAL: the elements will be arranged vertically
|
||||
* @EEK_ORIENTATION_HORIZONTAL: the elements will be arranged horizontally
|
||||
* @EEK_ORIENTATION_INVALID: used for error reporting
|
||||
*
|
||||
* Orientation of rows in sections. Elements in a row will be
|
||||
* arranged with the specified orientation.
|
||||
*/
|
||||
typedef enum {
|
||||
EEK_ORIENTATION_VERTICAL,
|
||||
EEK_ORIENTATION_HORIZONTAL,
|
||||
EEK_ORIENTATION_INVALID = -1
|
||||
} EekOrientation;
|
||||
|
||||
/**
|
||||
* EekModifierBehavior:
|
||||
* @EEK_MODIFIER_BEHAVIOR_NONE: do nothing when a modifier key is pressed
|
||||
* @EEK_MODIFIER_BEHAVIOR_LOCK: toggle the modifier status each time a
|
||||
* modifier key are pressed
|
||||
* @EEK_MODIFIER_BEHAVIOR_LATCH: enable the modifier when a modifier
|
||||
* key is pressed and keep it enabled until any key is pressed.
|
||||
*
|
||||
* Modifier handling mode.
|
||||
*/
|
||||
typedef enum {
|
||||
EEK_MODIFIER_BEHAVIOR_NONE,
|
||||
EEK_MODIFIER_BEHAVIOR_LOCK,
|
||||
EEK_MODIFIER_BEHAVIOR_LATCH
|
||||
} EekModifierBehavior;
|
||||
|
||||
/**
|
||||
* EekModifierType:
|
||||
* @EEK_SHIFT_MASK: the Shift key.
|
||||
* @EEK_LOCK_MASK: a Lock key (depending on the modifier mapping of the
|
||||
* X server this may either be CapsLock or ShiftLock).
|
||||
* @EEK_CONTROL_MASK: the Control key.
|
||||
* @EEK_MOD1_MASK: the fourth modifier key (it depends on the modifier
|
||||
* mapping of the X server which key is interpreted as this modifier, but
|
||||
* normally it is the Alt key).
|
||||
* @EEK_MOD2_MASK: the fifth modifier key (it depends on the modifier
|
||||
* mapping of the X server which key is interpreted as this modifier).
|
||||
* @EEK_MOD3_MASK: the sixth modifier key (it depends on the modifier
|
||||
* mapping of the X server which key is interpreted as this modifier).
|
||||
* @EEK_MOD4_MASK: the seventh modifier key (it depends on the modifier
|
||||
* mapping of the X server which key is interpreted as this modifier).
|
||||
* @EEK_MOD5_MASK: the eighth modifier key (it depends on the modifier
|
||||
* mapping of the X server which key is interpreted as this modifier).
|
||||
* @EEK_BUTTON1_MASK: the first mouse button.
|
||||
* @EEK_BUTTON2_MASK: the second mouse button.
|
||||
* @EEK_BUTTON3_MASK: the third mouse button.
|
||||
* @EEK_BUTTON4_MASK: the fourth mouse button.
|
||||
* @EEK_BUTTON5_MASK: the fifth mouse button.
|
||||
* @EEK_SUPER_MASK: the Super modifier. Since 2.10
|
||||
* @EEK_HYPER_MASK: the Hyper modifier. Since 2.10
|
||||
* @EEK_META_MASK: the Meta modifier. Since 2.10
|
||||
* @EEK_RELEASE_MASK: not used in EEK itself. GTK+ uses it to differentiate
|
||||
* between (keyval, modifiers) pairs from key press and release events.
|
||||
* @EEK_MODIFIER_MASK: a mask covering all modifier types.
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
EEK_SHIFT_MASK = 1 << 0,
|
||||
EEK_LOCK_MASK = 1 << 1,
|
||||
EEK_CONTROL_MASK = 1 << 2,
|
||||
EEK_MOD1_MASK = 1 << 3,
|
||||
EEK_MOD2_MASK = 1 << 4,
|
||||
EEK_MOD3_MASK = 1 << 5,
|
||||
EEK_MOD4_MASK = 1 << 6,
|
||||
EEK_MOD5_MASK = 1 << 7,
|
||||
EEK_BUTTON1_MASK = 1 << 8,
|
||||
EEK_BUTTON2_MASK = 1 << 9,
|
||||
EEK_BUTTON3_MASK = 1 << 10,
|
||||
EEK_BUTTON4_MASK = 1 << 11,
|
||||
EEK_BUTTON5_MASK = 1 << 12,
|
||||
|
||||
/* The next few modifiers are used by XKB, so we skip to the end.
|
||||
* Bits 15 - 25 are currently unused. Bit 29 is used internally.
|
||||
*/
|
||||
|
||||
EEK_SUPER_MASK = 1 << 26,
|
||||
EEK_HYPER_MASK = 1 << 27,
|
||||
EEK_META_MASK = 1 << 28,
|
||||
|
||||
EEK_RELEASE_MASK = 1 << 30,
|
||||
|
||||
EEK_MODIFIER_MASK = 0x5c001fff
|
||||
} EekModifierType;
|
||||
|
||||
/**
|
||||
* EEK_INVALID_KEYCODE:
|
||||
*
|
||||
* Pseudo keycode used for error reporting.
|
||||
*/
|
||||
#define EEK_INVALID_KEYCODE (0)
|
||||
|
||||
typedef struct _EekElement EekElement;
|
||||
typedef struct _EekSymbol EekSymbol;
|
||||
typedef struct _EekText EekText;
|
||||
typedef struct _EekTheme EekTheme;
|
||||
typedef struct _EekThemeContext EekThemeContext;
|
||||
typedef struct _EekThemeNode EekThemeNode;
|
||||
|
||||
typedef struct _EekSymbolMatrix EekSymbolMatrix;
|
||||
typedef struct _EekBounds EekBounds;
|
||||
typedef struct _EekOutline EekOutline;
|
||||
typedef struct _EekColor EekColor;
|
||||
|
||||
typedef struct _EekboardContextService EekboardContextService;
|
||||
typedef struct _LevelKeyboard LevelKeyboard;
|
||||
@ -191,67 +83,10 @@ GType eek_bounds_get_type (void) G_GNUC_CONST;
|
||||
EekBounds *eek_bounds_copy (const EekBounds *bounds);
|
||||
void eek_bounds_free (EekBounds *bounds);
|
||||
|
||||
/**
|
||||
* EekOutline:
|
||||
* @corner_radius: radius of corners of rounded polygon
|
||||
* @points: an array of points represents a polygon
|
||||
* @num_points: the length of @points
|
||||
*
|
||||
* 2D rounded polygon used to draw key shape
|
||||
*/
|
||||
struct _EekOutline
|
||||
{
|
||||
/*< public >*/
|
||||
gdouble corner_radius;
|
||||
EekPoint *points;
|
||||
guint num_points;
|
||||
struct transformation {
|
||||
gdouble origin_x;
|
||||
gdouble origin_y;
|
||||
gdouble scale;
|
||||
};
|
||||
|
||||
GType eek_outline_get_type (void) G_GNUC_CONST;
|
||||
EekOutline *eek_outline_copy (const EekOutline *outline);
|
||||
void eek_outline_free (EekOutline *outline);
|
||||
|
||||
/**
|
||||
* EekColor:
|
||||
* @red: red component of color, between 0.0 and 1.0
|
||||
* @green: green component of color, between 0.0 and 1.0
|
||||
* @blue: blue component of color, between 0.0 and 1.0
|
||||
* @alpha: alpha component of color, between 0.0 and 1.0
|
||||
*
|
||||
* Color used for drawing.
|
||||
*/
|
||||
struct _EekColor
|
||||
{
|
||||
/*< public >*/
|
||||
gdouble red;
|
||||
gdouble green;
|
||||
gdouble blue;
|
||||
gdouble alpha;
|
||||
};
|
||||
|
||||
GType eek_color_get_type (void) G_GNUC_CONST;
|
||||
|
||||
EekColor *eek_color_new (gdouble red,
|
||||
gdouble green,
|
||||
gdouble blue,
|
||||
gdouble alpha);
|
||||
EekColor *eek_color_copy (const EekColor *color);
|
||||
void eek_color_free (EekColor *color);
|
||||
|
||||
typedef enum {
|
||||
EEK_GRADIENT_NONE,
|
||||
EEK_GRADIENT_VERTICAL,
|
||||
EEK_GRADIENT_HORIZONTAL,
|
||||
EEK_GRADIENT_RADIAL
|
||||
} EekGradientType;
|
||||
|
||||
GQuark eek_error_quark (void);
|
||||
|
||||
#define EEK_ERROR eek_error_quark ()
|
||||
typedef enum {
|
||||
EEK_ERROR_LAYOUT_ERROR,
|
||||
EEK_ERROR_FAILED
|
||||
} EekErrorEnum;
|
||||
|
||||
G_END_DECLS
|
||||
#endif /* EEK_TYPES_H */
|
||||
|
||||
@ -31,9 +31,10 @@
|
||||
|
||||
LevelKeyboard *
|
||||
eek_xml_layout_real_create_keyboard (const char *keyboard_type,
|
||||
EekboardContextService *manager)
|
||||
EekboardContextService *manager,
|
||||
enum squeek_arrangement_kind t)
|
||||
{
|
||||
struct squeek_layout *layout = squeek_load_layout(keyboard_type);
|
||||
struct squeek_layout *layout = squeek_load_layout(keyboard_type, t);
|
||||
squeek_layout_place_contents(layout);
|
||||
return level_keyboard_new(manager, layout);
|
||||
}
|
||||
|
||||
@ -24,10 +24,13 @@
|
||||
#define EEK_XML_LAYOUT_H 1
|
||||
|
||||
#include "eek-types.h"
|
||||
#include "src/layout.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
LevelKeyboard *
|
||||
eek_xml_layout_real_create_keyboard (const char *keyboard_type,
|
||||
EekboardContextService *manager);
|
||||
EekboardContextService *manager,
|
||||
enum squeek_arrangement_kind t);
|
||||
G_END_DECLS
|
||||
#endif /* EEK_XML_LAYOUT_H */
|
||||
|
||||
@ -3,15 +3,12 @@
|
||||
* SPDX-License-Identifier: GPL-3.0+
|
||||
* 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.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#define G_LOG_DOMAIN "phosh-layer-surface"
|
||||
|
||||
#include "config.h"
|
||||
@ -27,8 +24,14 @@ enum {
|
||||
PHOSH_LAYER_SURFACE_PROP_LAYER,
|
||||
PHOSH_LAYER_SURFACE_PROP_KBD_INTERACTIVITY,
|
||||
PHOSH_LAYER_SURFACE_PROP_EXCLUSIVE_ZONE,
|
||||
PHOSH_LAYER_SURFACE_PROP_MARGIN_TOP,
|
||||
PHOSH_LAYER_SURFACE_PROP_MARGIN_BOTTOM,
|
||||
PHOSH_LAYER_SURFACE_PROP_MARGIN_LEFT,
|
||||
PHOSH_LAYER_SURFACE_PROP_MARGIN_RIGHT,
|
||||
PHOSH_LAYER_SURFACE_PROP_LAYER_WIDTH,
|
||||
PHOSH_LAYER_SURFACE_PROP_LAYER_HEIGHT,
|
||||
PHOSH_LAYER_SURFACE_PROP_CONFIGURED_WIDTH,
|
||||
PHOSH_LAYER_SURFACE_PROP_CONFIGURED_HEIGHT,
|
||||
PHOSH_LAYER_SURFACE_PROP_NAMESPACE,
|
||||
PHOSH_LAYER_SURFACE_PROP_LAST_PROP
|
||||
};
|
||||
@ -50,7 +53,10 @@ typedef struct {
|
||||
guint layer;
|
||||
gboolean kbd_interactivity;
|
||||
gint exclusive_zone;
|
||||
gint margin_top, margin_bottom;
|
||||
gint margin_left, margin_right;
|
||||
gint width, height;
|
||||
gint configured_width, configured_height;
|
||||
gchar *namespace;
|
||||
struct zwlr_layer_shell_v1 *layer_shell;
|
||||
struct wl_output *wl_output;
|
||||
@ -65,10 +71,24 @@ static void layer_surface_configure(void *data,
|
||||
uint32_t height)
|
||||
{
|
||||
PhoshLayerSurface *self = data;
|
||||
PhoshLayerSurfacePrivate *priv;
|
||||
|
||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||
priv = phosh_layer_surface_get_instance_private (self);
|
||||
gtk_window_resize (GTK_WINDOW (self), width, height);
|
||||
zwlr_layer_surface_v1_ack_configure(surface, serial);
|
||||
|
||||
if (priv->configured_height != height) {
|
||||
priv->configured_height = height;
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_CONFIGURED_HEIGHT]);
|
||||
}
|
||||
|
||||
if (priv->configured_width != width) {
|
||||
priv->configured_width = width;
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_CONFIGURED_WIDTH]);
|
||||
}
|
||||
|
||||
g_debug("Configured %p", self);
|
||||
g_signal_emit (self, signals[CONFIGURED], 0);
|
||||
}
|
||||
|
||||
@ -86,8 +106,8 @@ static void layer_surface_closed (void *data,
|
||||
}
|
||||
|
||||
static struct zwlr_layer_surface_v1_listener layer_surface_listener = {
|
||||
.configure = layer_surface_configure,
|
||||
.closed = layer_surface_closed,
|
||||
.configure = layer_surface_configure,
|
||||
.closed = layer_surface_closed,
|
||||
};
|
||||
|
||||
static void
|
||||
@ -98,6 +118,7 @@ phosh_layer_surface_set_property (GObject *object,
|
||||
{
|
||||
PhoshLayerSurface *self = PHOSH_LAYER_SURFACE (object);
|
||||
PhoshLayerSurfacePrivate *priv = phosh_layer_surface_get_instance_private (self);
|
||||
gint width, height;
|
||||
|
||||
switch (property_id) {
|
||||
case PHOSH_LAYER_SURFACE_PROP_LAYER_SHELL:
|
||||
@ -113,16 +134,46 @@ phosh_layer_surface_set_property (GObject *object,
|
||||
priv->layer = g_value_get_uint (value);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_KBD_INTERACTIVITY:
|
||||
priv->kbd_interactivity = g_value_get_boolean (value);
|
||||
phosh_layer_surface_set_kbd_interactivity (self, g_value_get_boolean (value));
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_EXCLUSIVE_ZONE:
|
||||
priv->exclusive_zone = g_value_get_int (value);
|
||||
phosh_layer_surface_set_exclusive_zone (self, g_value_get_int (value));
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_MARGIN_TOP:
|
||||
phosh_layer_surface_set_margins (self,
|
||||
g_value_get_int (value),
|
||||
priv->margin_right,
|
||||
priv->margin_bottom,
|
||||
priv->margin_left);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_MARGIN_BOTTOM:
|
||||
phosh_layer_surface_set_margins (self,
|
||||
priv->margin_top,
|
||||
priv->margin_right,
|
||||
g_value_get_int (value),
|
||||
priv->margin_left);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_MARGIN_LEFT:
|
||||
phosh_layer_surface_set_margins (self,
|
||||
priv->margin_top,
|
||||
priv->margin_right,
|
||||
priv->margin_bottom,
|
||||
g_value_get_int (value));
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_MARGIN_RIGHT:
|
||||
phosh_layer_surface_set_margins (self,
|
||||
priv->margin_top,
|
||||
g_value_get_int (value),
|
||||
priv->margin_bottom,
|
||||
priv->margin_left);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_LAYER_WIDTH:
|
||||
priv->width = g_value_get_uint (value);
|
||||
width = g_value_get_uint (value);
|
||||
phosh_layer_surface_set_size(self, width, priv->height);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_LAYER_HEIGHT:
|
||||
priv->height = g_value_get_uint (value);
|
||||
height = g_value_get_uint (value);
|
||||
phosh_layer_surface_set_size(self, priv->width, height);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_NAMESPACE:
|
||||
g_free (priv->namespace);
|
||||
@ -161,7 +212,19 @@ phosh_layer_surface_get_property (GObject *object,
|
||||
g_value_set_boolean (value, priv->kbd_interactivity);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_EXCLUSIVE_ZONE:
|
||||
g_value_set_boolean (value, priv->exclusive_zone);
|
||||
g_value_set_int (value, priv->exclusive_zone);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_MARGIN_TOP:
|
||||
g_value_set_int (value, priv->margin_top);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_MARGIN_BOTTOM:
|
||||
g_value_set_int (value, priv->margin_bottom);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_MARGIN_LEFT:
|
||||
g_value_set_int (value, priv->margin_left);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_MARGIN_RIGHT:
|
||||
g_value_set_int (value, priv->margin_right);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_LAYER_WIDTH:
|
||||
g_value_set_uint (value, priv->width);
|
||||
@ -169,6 +232,12 @@ phosh_layer_surface_get_property (GObject *object,
|
||||
case PHOSH_LAYER_SURFACE_PROP_LAYER_HEIGHT:
|
||||
g_value_set_uint (value, priv->height);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_CONFIGURED_WIDTH:
|
||||
g_value_set_uint (value, priv->configured_width);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_CONFIGURED_HEIGHT:
|
||||
g_value_set_uint (value, priv->configured_height);
|
||||
break;
|
||||
case PHOSH_LAYER_SURFACE_PROP_NAMESPACE:
|
||||
g_value_set_string (value, priv->namespace);
|
||||
break;
|
||||
@ -221,6 +290,11 @@ on_phosh_layer_surface_mapped (PhoshLayerSurface *self, gpointer unused)
|
||||
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_anchor(priv->layer_surface, priv->anchor);
|
||||
zwlr_layer_surface_v1_set_margin(priv->layer_surface,
|
||||
priv->margin_top,
|
||||
priv->margin_right,
|
||||
priv->margin_bottom,
|
||||
priv->margin_left);
|
||||
zwlr_layer_surface_v1_set_keyboard_interactivity(priv->layer_surface, priv->kbd_interactivity);
|
||||
zwlr_layer_surface_v1_add_listener(priv->layer_surface,
|
||||
&layer_surface_listener,
|
||||
@ -262,6 +336,8 @@ phosh_layer_surface_constructed (GObject *object)
|
||||
g_signal_connect (self, "unmap",
|
||||
G_CALLBACK (on_phosh_layer_surface_unmapped),
|
||||
NULL);
|
||||
|
||||
G_OBJECT_CLASS (phosh_layer_surface_parent_class)->constructed (object);
|
||||
}
|
||||
|
||||
|
||||
@ -332,7 +408,7 @@ phosh_layer_surface_class_init (PhoshLayerSurfaceClass *klass)
|
||||
"Keyboard interactivity",
|
||||
"Whether the surface interacts with the keyboard",
|
||||
FALSE,
|
||||
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_EXCLUSIVE_ZONE] =
|
||||
g_param_spec_int (
|
||||
@ -342,7 +418,47 @@ phosh_layer_surface_class_init (PhoshLayerSurfaceClass *klass)
|
||||
-1,
|
||||
G_MAXINT,
|
||||
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_MARGIN_LEFT] =
|
||||
g_param_spec_int (
|
||||
"margin-left",
|
||||
"Left margin",
|
||||
"Distance away from the left anchor point",
|
||||
G_MININT,
|
||||
G_MAXINT,
|
||||
0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
props[PHOSH_LAYER_SURFACE_PROP_MARGIN_RIGHT] =
|
||||
g_param_spec_int (
|
||||
"margin-right",
|
||||
"Right margin",
|
||||
"Distance away from the right anchor point",
|
||||
G_MININT,
|
||||
G_MAXINT,
|
||||
0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
props[PHOSH_LAYER_SURFACE_PROP_MARGIN_TOP] =
|
||||
g_param_spec_int (
|
||||
"margin-top",
|
||||
"Top margin",
|
||||
"Distance away from the top anchor point",
|
||||
G_MININT,
|
||||
G_MAXINT,
|
||||
0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
props[PHOSH_LAYER_SURFACE_PROP_MARGIN_BOTTOM] =
|
||||
g_param_spec_int (
|
||||
"margin-bottom",
|
||||
"Bottom margin",
|
||||
"Distance away from the bottom anchor point",
|
||||
G_MININT,
|
||||
G_MAXINT,
|
||||
0,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
props[PHOSH_LAYER_SURFACE_PROP_LAYER_WIDTH] =
|
||||
g_param_spec_uint (
|
||||
@ -352,7 +468,7 @@ phosh_layer_surface_class_init (PhoshLayerSurfaceClass *klass)
|
||||
0,
|
||||
G_MAXUINT,
|
||||
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_LAYER_HEIGHT] =
|
||||
g_param_spec_uint (
|
||||
@ -362,7 +478,28 @@ phosh_layer_surface_class_init (PhoshLayerSurfaceClass *klass)
|
||||
0,
|
||||
G_MAXUINT,
|
||||
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_CONFIGURED_WIDTH] =
|
||||
g_param_spec_uint (
|
||||
"configured-width",
|
||||
"Configured width",
|
||||
"The width of the layer surface set by the compositor",
|
||||
0,
|
||||
G_MAXUINT,
|
||||
0,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
props[PHOSH_LAYER_SURFACE_PROP_CONFIGURED_HEIGHT] =
|
||||
g_param_spec_uint (
|
||||
"configured-height",
|
||||
"Configured height",
|
||||
"The height of the layer surface set by the compositor",
|
||||
0,
|
||||
G_MAXUINT,
|
||||
0,
|
||||
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
|
||||
|
||||
props[PHOSH_LAYER_SURFACE_PROP_NAMESPACE] =
|
||||
g_param_spec_string (
|
||||
@ -438,3 +575,148 @@ phosh_layer_surface_get_wl_surface(PhoshLayerSurface *self)
|
||||
priv = phosh_layer_surface_get_instance_private (self);
|
||||
return priv->wl_surface;
|
||||
}
|
||||
|
||||
/**
|
||||
* phosh_layer_surface_set_size:
|
||||
*
|
||||
* Set the size of a layer surface. A value of '-1' indicates 'use old value'
|
||||
*/
|
||||
void
|
||||
phosh_layer_surface_set_size(PhoshLayerSurface *self, gint width, gint height)
|
||||
{
|
||||
PhoshLayerSurfacePrivate *priv;
|
||||
gint old_width, old_height;
|
||||
|
||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||
priv = phosh_layer_surface_get_instance_private (self);
|
||||
|
||||
if (priv->height == height && priv->width == width)
|
||||
return;
|
||||
|
||||
old_width = priv->width;
|
||||
old_height = priv->height;
|
||||
|
||||
if (width != -1)
|
||||
priv->width = width;
|
||||
|
||||
if (height != -1)
|
||||
priv->height = height;
|
||||
|
||||
if (gtk_widget_get_mapped (GTK_WIDGET (self))) {
|
||||
zwlr_layer_surface_v1_set_size(priv->layer_surface, priv->width, priv->height);
|
||||
}
|
||||
|
||||
if (priv->height != old_height)
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_LAYER_HEIGHT]);
|
||||
|
||||
if (priv->width != old_width)
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_LAYER_WIDTH]);
|
||||
}
|
||||
|
||||
/**
|
||||
* phosh_layer_surface_set_margins:
|
||||
*
|
||||
* Set anchor margins of a layer surface.
|
||||
*/
|
||||
void
|
||||
phosh_layer_surface_set_margins(PhoshLayerSurface *self, gint top, gint right, gint bottom, gint left)
|
||||
{
|
||||
PhoshLayerSurfacePrivate *priv;
|
||||
gint old_top, old_bottom, old_left, old_right;
|
||||
|
||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||
priv = phosh_layer_surface_get_instance_private (self);
|
||||
|
||||
old_top = priv->margin_top;
|
||||
old_left = priv->margin_left;
|
||||
old_right = priv->margin_right;
|
||||
old_bottom = priv->margin_bottom;
|
||||
|
||||
if (old_top == top && old_left == left && old_right == right && old_bottom == bottom)
|
||||
return;
|
||||
|
||||
priv->margin_top = top;
|
||||
priv->margin_left = left;
|
||||
priv->margin_right = right;
|
||||
priv->margin_bottom = bottom;
|
||||
|
||||
if (priv->layer_surface)
|
||||
zwlr_layer_surface_v1_set_margin(priv->layer_surface, top, right, bottom, left);
|
||||
|
||||
if (old_top != top)
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_MARGIN_TOP]);
|
||||
if (old_bottom != bottom)
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_MARGIN_BOTTOM]);
|
||||
if (old_left != left)
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_MARGIN_LEFT]);
|
||||
if (old_right != right)
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_MARGIN_RIGHT]);
|
||||
}
|
||||
|
||||
/**
|
||||
* phosh_layer_surface_set_exclusive_zone:
|
||||
*
|
||||
* Set exclusive zone of a layer surface.
|
||||
*/
|
||||
void
|
||||
phosh_layer_surface_set_exclusive_zone(PhoshLayerSurface *self, gint zone)
|
||||
{
|
||||
PhoshLayerSurfacePrivate *priv;
|
||||
gint old_zone;
|
||||
|
||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||
priv = phosh_layer_surface_get_instance_private (self);
|
||||
|
||||
old_zone = priv->exclusive_zone;
|
||||
|
||||
if (old_zone == zone)
|
||||
return;
|
||||
|
||||
priv->exclusive_zone = zone;
|
||||
|
||||
if (priv->layer_surface)
|
||||
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]);
|
||||
}
|
||||
|
||||
/**
|
||||
* phosh_layer_surface_set_keyboard_interactivity:
|
||||
*
|
||||
* Set keyboard ineractivity a layer surface.
|
||||
*/
|
||||
void
|
||||
phosh_layer_surface_set_kbd_interactivity (PhoshLayerSurface *self, gboolean interactivity)
|
||||
{
|
||||
PhoshLayerSurfacePrivate *priv;
|
||||
|
||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||
priv = phosh_layer_surface_get_instance_private (self);
|
||||
|
||||
if (priv->kbd_interactivity == interactivity)
|
||||
return;
|
||||
|
||||
priv->kbd_interactivity = interactivity;
|
||||
|
||||
if (priv->layer_surface)
|
||||
zwlr_layer_surface_v1_set_keyboard_interactivity (priv->layer_surface, interactivity);
|
||||
|
||||
g_object_notify_by_pspec (G_OBJECT (self), props[PHOSH_LAYER_SURFACE_PROP_KBD_INTERACTIVITY]);
|
||||
}
|
||||
|
||||
/**
|
||||
* phosh_layer_surface_wl_surface_commit:
|
||||
*
|
||||
* Forces a commit of layer surface's state.
|
||||
*/
|
||||
void
|
||||
phosh_layer_surface_wl_surface_commit (PhoshLayerSurface *self)
|
||||
{
|
||||
PhoshLayerSurfacePrivate *priv;
|
||||
|
||||
g_return_if_fail (PHOSH_IS_LAYER_SURFACE (self));
|
||||
priv = phosh_layer_surface_get_instance_private (self);
|
||||
|
||||
if (priv->wl_surface)
|
||||
wl_surface_commit (priv->wl_surface);
|
||||
}
|
||||
|
||||
@ -11,7 +11,6 @@ WARNING: this file is taken directly from phosh, with no modificaions apart from
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
@ -39,3 +38,16 @@ GtkWidget *phosh_layer_surface_new (gpointer layer_shell,
|
||||
gpointer wl_output);
|
||||
struct zwlr_layer_surface_v1 *phosh_layer_surface_get_layer_surface(PhoshLayerSurface *self);
|
||||
struct wl_surface *phosh_layer_surface_get_wl_surface(PhoshLayerSurface *self);
|
||||
void phosh_layer_surface_set_size(PhoshLayerSurface *self,
|
||||
gint width,
|
||||
gint height);
|
||||
void phosh_layer_surface_set_margins(PhoshLayerSurface *self,
|
||||
gint top,
|
||||
gint right,
|
||||
gint bottom,
|
||||
gint left);
|
||||
void phosh_layer_surface_set_exclusive_zone(PhoshLayerSurface *self,
|
||||
gint zone);
|
||||
void phosh_layer_surface_set_kbd_interactivity(PhoshLayerSurface *self,
|
||||
gboolean interactivity);
|
||||
void phosh_layer_surface_wl_surface_commit (PhoshLayerSurface *self);
|
||||
|
||||
@ -1,30 +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
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: Eekboard
|
||||
Description: A Library to Create Keyboard-like UI
|
||||
URL: http://ueno.github.com/eekboard/
|
||||
Version: @VERSION@
|
||||
Requires: eek-@EEK_API_VERSION@
|
||||
Libs: -L${libdir} -leekboard
|
||||
Cflags: -I${includedir}/eekboard-@EEK_API_VERSION@
|
||||
@ -41,17 +41,14 @@
|
||||
#include "wayland.h"
|
||||
|
||||
#include "eek/eek-xml-layout.h"
|
||||
#include "src/server-context-service.h"
|
||||
|
||||
#include "eekboard/eekboard-context-service.h"
|
||||
|
||||
#define CSW 640
|
||||
#define CSH 480
|
||||
|
||||
enum {
|
||||
PROP_0, // Magic: without this, keyboard is not useable in g_object_notify
|
||||
PROP_KEYBOARD,
|
||||
PROP_VISIBLE,
|
||||
PROP_FULLSCREEN,
|
||||
PROP_LAST
|
||||
};
|
||||
|
||||
@ -70,15 +67,10 @@ static guint signals[LAST_SIGNAL] = { 0, };
|
||||
struct _EekboardContextServicePrivate {
|
||||
gboolean enabled;
|
||||
gboolean visible;
|
||||
gboolean fullscreen;
|
||||
|
||||
LevelKeyboard *keyboard; // currently used keyboard
|
||||
GHashTable *keyboard_hash; // a table of available keyboards, per layout
|
||||
|
||||
// TODO: make use of repeating buttons
|
||||
guint repeat_timeout_id;
|
||||
gboolean repeat_triggered;
|
||||
|
||||
GSettings *settings;
|
||||
uint32_t hint;
|
||||
uint32_t purpose;
|
||||
@ -88,9 +80,10 @@ G_DEFINE_TYPE_WITH_PRIVATE (EekboardContextService, eekboard_context_service, G_
|
||||
|
||||
static LevelKeyboard *
|
||||
eekboard_context_service_real_create_keyboard (EekboardContextService *self,
|
||||
const gchar *keyboard_type)
|
||||
const gchar *keyboard_type,
|
||||
enum squeek_arrangement_kind t)
|
||||
{
|
||||
LevelKeyboard *keyboard = eek_xml_layout_real_create_keyboard(keyboard_type, self);
|
||||
LevelKeyboard *keyboard = eek_xml_layout_real_create_keyboard(keyboard_type, self, t);
|
||||
if (!keyboard) {
|
||||
g_error("Failed to create a keyboard");
|
||||
}
|
||||
@ -137,7 +130,6 @@ eekboard_context_service_real_create_keyboard (EekboardContextService *self,
|
||||
}
|
||||
strncpy(ptr, keymap_str, keyboard->keymap_len);
|
||||
munmap(ptr, keyboard->keymap_len);
|
||||
|
||||
return keyboard;
|
||||
}
|
||||
|
||||
@ -170,9 +162,6 @@ eekboard_context_service_set_property (GObject *object,
|
||||
case PROP_VISIBLE:
|
||||
context->priv->visible = g_value_get_boolean (value);
|
||||
break;
|
||||
case PROP_FULLSCREEN:
|
||||
context->priv->fullscreen = g_value_get_boolean (value);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
@ -194,9 +183,6 @@ eekboard_context_service_get_property (GObject *object,
|
||||
case PROP_VISIBLE:
|
||||
g_value_set_boolean (value, context->priv->visible);
|
||||
break;
|
||||
case PROP_FULLSCREEN:
|
||||
g_value_set_boolean (value, context->priv->fullscreen);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
@ -239,8 +225,8 @@ settings_get_layout(GSettings *settings, char **type, char **layout)
|
||||
g_variant_unref(inputs);
|
||||
}
|
||||
|
||||
static void
|
||||
settings_update_layout(EekboardContextService *context)
|
||||
void
|
||||
eekboard_context_service_update_layout(EekboardContextService *context, enum squeek_arrangement_kind t)
|
||||
{
|
||||
g_autofree gchar *keyboard_type = NULL;
|
||||
g_autofree gchar *keyboard_layout = NULL;
|
||||
@ -265,24 +251,21 @@ settings_update_layout(EekboardContextService *context)
|
||||
}
|
||||
|
||||
// generic part follows
|
||||
static guint keyboard_id = 0;
|
||||
LevelKeyboard *keyboard = g_hash_table_lookup(context->priv->keyboard_hash,
|
||||
GUINT_TO_POINTER(keyboard_id));
|
||||
// create a keyboard
|
||||
if (!keyboard) {
|
||||
keyboard = eekboard_context_service_real_create_keyboard(context, keyboard_layout);
|
||||
|
||||
g_hash_table_insert (context->priv->keyboard_hash,
|
||||
GUINT_TO_POINTER(keyboard_id),
|
||||
keyboard);
|
||||
keyboard->id = keyboard_id;
|
||||
keyboard_id++;
|
||||
}
|
||||
LevelKeyboard *keyboard = eekboard_context_service_real_create_keyboard(context, keyboard_layout, t);
|
||||
// set as current
|
||||
LevelKeyboard *previous_keyboard = context->priv->keyboard;
|
||||
context->priv->keyboard = keyboard;
|
||||
// TODO: this used to save the group, why?
|
||||
//group = eek_element_get_group (EEK_ELEMENT(context->priv->keyboard));
|
||||
|
||||
g_object_notify (G_OBJECT(context), "keyboard");
|
||||
|
||||
// replacing the keyboard above will cause the previous keyboard to get destroyed from the UI side (eek_gtk_keyboard_dispose)
|
||||
if (previous_keyboard) {
|
||||
level_keyboard_free(previous_keyboard);
|
||||
}
|
||||
}
|
||||
|
||||
static void update_layout_and_type(EekboardContextService *context) {
|
||||
eekboard_context_service_update_layout(context, server_context_service_get_layout_type(context));
|
||||
}
|
||||
|
||||
static gboolean
|
||||
@ -293,7 +276,7 @@ settings_handle_layout_changed(GSettings *s,
|
||||
(void)keys;
|
||||
(void)n_keys;
|
||||
EekboardContextService *context = user_data;
|
||||
settings_update_layout(context);
|
||||
update_layout_and_type(context);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
@ -307,7 +290,7 @@ eekboard_context_service_constructed (GObject *object)
|
||||
if (!context->virtual_keyboard) {
|
||||
g_error("Programmer error: Failed to receive a virtual keyboard instance");
|
||||
}
|
||||
settings_update_layout(context);
|
||||
update_layout_and_type(context);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -401,20 +384,6 @@ eekboard_context_service_class_init (EekboardContextServiceClass *klass)
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_VISIBLE,
|
||||
pspec);
|
||||
|
||||
/**
|
||||
* EekboardContextService:fullscreen:
|
||||
*
|
||||
* Flag to indicate if keyboard is rendered in fullscreen mode.
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("fullscreen",
|
||||
"Fullscreen",
|
||||
"Fullscreen",
|
||||
FALSE,
|
||||
G_PARAM_READWRITE);
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_FULLSCREEN,
|
||||
pspec);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -524,19 +493,6 @@ eekboard_context_service_get_keyboard (EekboardContextService *context)
|
||||
return context->priv->keyboard;
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_service_get_fullscreen:
|
||||
* @context: an #EekboardContextService
|
||||
*
|
||||
* Check if keyboard is rendered in fullscreen mode in @context.
|
||||
* Returns: %TRUE or %FALSE
|
||||
*/
|
||||
gboolean
|
||||
eekboard_context_service_get_fullscreen (EekboardContextService *context)
|
||||
{
|
||||
return context->priv->fullscreen;
|
||||
}
|
||||
|
||||
void eekboard_context_service_set_keymap(EekboardContextService *context,
|
||||
const LevelKeyboard *keyboard)
|
||||
{
|
||||
@ -553,6 +509,6 @@ void eekboard_context_service_set_hint_purpose(EekboardContextService *context,
|
||||
if (priv->hint != hint || priv->purpose != purpose) {
|
||||
priv->hint = hint;
|
||||
priv->purpose = purpose;
|
||||
settings_update_layout(context);
|
||||
update_layout_and_type(context);
|
||||
}
|
||||
}
|
||||
|
||||
@ -98,8 +98,6 @@ void eekboard_context_service_hide_keyboard
|
||||
(EekboardContextService *context);
|
||||
void eekboard_context_service_destroy (EekboardContextService *context);
|
||||
LevelKeyboard *eekboard_context_service_get_keyboard(EekboardContextService *context);
|
||||
gboolean eekboard_context_service_get_fullscreen
|
||||
(EekboardContextService *context);
|
||||
|
||||
void eekboard_context_service_set_keymap(EekboardContextService *context,
|
||||
const LevelKeyboard *keyboard);
|
||||
@ -107,6 +105,7 @@ void eekboard_context_service_set_keymap(EekboardContextService *context,
|
||||
void eekboard_context_service_set_hint_purpose(EekboardContextService *context,
|
||||
uint32_t hint,
|
||||
uint32_t purpose);
|
||||
|
||||
void
|
||||
eekboard_context_service_update_layout(EekboardContextService *context, enum squeek_arrangement_kind t);
|
||||
G_END_DECLS
|
||||
#endif /* EEKBOARD_CONTEXT_SERVICE_H */
|
||||
|
||||
@ -1,654 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
* Copyright (C) 2010-2011 Red Hat, Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program 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 General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
/**
|
||||
* SECTION:eekboard-context
|
||||
* @short_description: client interface of eekboard input context service
|
||||
*
|
||||
* The #EekboardContext class provides a client access to remote input
|
||||
* context.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "eekboard/eekboard-context.h"
|
||||
//#include "eekboard/eekboard-marshalers.h"
|
||||
|
||||
#define I_(string) g_intern_static_string (string)
|
||||
|
||||
enum {
|
||||
ENABLED,
|
||||
DISABLED,
|
||||
DESTROYED,
|
||||
LAST_SIGNAL
|
||||
};
|
||||
|
||||
static guint signals[LAST_SIGNAL] = { 0, };
|
||||
|
||||
enum {
|
||||
PROP_0,
|
||||
PROP_VISIBLE,
|
||||
PROP_LAST
|
||||
};
|
||||
|
||||
typedef struct _EekboardContextPrivate
|
||||
{
|
||||
gboolean visible;
|
||||
gboolean enabled;
|
||||
gboolean fullscreen;
|
||||
gint group;
|
||||
} EekboardContextPrivate;
|
||||
|
||||
G_DEFINE_TYPE_WITH_PRIVATE (EekboardContext, eekboard_context, G_TYPE_DBUS_PROXY)
|
||||
|
||||
static void
|
||||
eekboard_context_real_g_signal (GDBusProxy *self,
|
||||
const gchar *sender_name,
|
||||
const gchar *signal_name,
|
||||
GVariant *parameters)
|
||||
{
|
||||
EekboardContext *context = EEKBOARD_CONTEXT (self);
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
if (g_strcmp0 (signal_name, "Enabled") == 0) {
|
||||
g_signal_emit (context, signals[ENABLED], 0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (g_strcmp0 (signal_name, "Disabled") == 0) {
|
||||
g_signal_emit (context, signals[DISABLED], 0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (g_strcmp0 (signal_name, "Destroyed") == 0) {
|
||||
g_signal_emit (context, signals[DESTROYED], 0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (g_strcmp0 (signal_name, "VisibilityChanged") == 0) {
|
||||
gboolean visible = FALSE;
|
||||
|
||||
g_variant_get (parameters, "(b)", &visible);
|
||||
if (visible != priv->visible) {
|
||||
priv->visible = visible;
|
||||
g_object_notify (G_OBJECT(context), "visible");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (g_strcmp0 (signal_name, "GroupChanged") == 0) {
|
||||
gint group = 0;
|
||||
|
||||
g_variant_get (parameters, "(i)", &group);
|
||||
if (group != priv->group) {
|
||||
priv->group = group;
|
||||
/* g_object_notify (G_OBJECT(context), "group"); */
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
g_return_if_reached ();
|
||||
}
|
||||
|
||||
static void
|
||||
eekboard_context_real_enabled (EekboardContext *self)
|
||||
{
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (self);
|
||||
|
||||
priv->enabled = TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
eekboard_context_real_disabled (EekboardContext *self)
|
||||
{
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (self);
|
||||
|
||||
priv->enabled = FALSE;
|
||||
}
|
||||
|
||||
static void
|
||||
eekboard_context_real_destroyed (EekboardContext *self)
|
||||
{
|
||||
}
|
||||
|
||||
static void
|
||||
eekboard_context_get_property (GObject *object,
|
||||
guint prop_id,
|
||||
GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
EekboardContext *context = EEKBOARD_CONTEXT(object);
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
switch (prop_id) {
|
||||
case PROP_VISIBLE:
|
||||
g_value_set_boolean (value, priv->visible);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
eekboard_context_class_init (EekboardContextClass *klass)
|
||||
{
|
||||
GDBusProxyClass *proxy_class = G_DBUS_PROXY_CLASS (klass);
|
||||
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
|
||||
GParamSpec *pspec;
|
||||
|
||||
klass->enabled = eekboard_context_real_enabled;
|
||||
klass->disabled = eekboard_context_real_disabled;
|
||||
klass->destroyed = eekboard_context_real_destroyed;
|
||||
|
||||
proxy_class->g_signal = eekboard_context_real_g_signal;
|
||||
|
||||
gobject_class->get_property = eekboard_context_get_property;
|
||||
|
||||
/**
|
||||
* EekboardContext:visible:
|
||||
*
|
||||
* Flag to indicate if keyboard is visible or not.
|
||||
*/
|
||||
pspec = g_param_spec_boolean ("visible",
|
||||
"visible",
|
||||
"Flag that indicates if keyboard is visible",
|
||||
FALSE,
|
||||
G_PARAM_READABLE);
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_VISIBLE,
|
||||
pspec);
|
||||
|
||||
/**
|
||||
* EekboardContext::enabled:
|
||||
* @context: an #EekboardContext
|
||||
*
|
||||
* Emitted when @context is enabled.
|
||||
*/
|
||||
signals[ENABLED] =
|
||||
g_signal_new (I_("enabled"),
|
||||
G_TYPE_FROM_CLASS(gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET(EekboardContextClass, enabled),
|
||||
NULL,
|
||||
NULL,
|
||||
g_cclosure_marshal_VOID__VOID,
|
||||
G_TYPE_NONE,
|
||||
0);
|
||||
|
||||
/**
|
||||
* EekboardContext::disabled:
|
||||
* @context: an #EekboardContext
|
||||
*
|
||||
* The ::disabled signal is emitted each time @context is disabled.
|
||||
*/
|
||||
signals[DISABLED] =
|
||||
g_signal_new (I_("disabled"),
|
||||
G_TYPE_FROM_CLASS(gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET(EekboardContextClass, disabled),
|
||||
NULL,
|
||||
NULL,
|
||||
g_cclosure_marshal_VOID__VOID,
|
||||
G_TYPE_NONE,
|
||||
0);
|
||||
|
||||
/**
|
||||
* EekboardContext::destroyed:
|
||||
* @context: an #EekboardContext
|
||||
*
|
||||
* The ::destroyed signal is emitted each time the name of remote
|
||||
* end is vanished.
|
||||
*/
|
||||
signals[DESTROYED] =
|
||||
g_signal_new (I_("destroyed"),
|
||||
G_TYPE_FROM_CLASS(gobject_class),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET(EekboardContextClass, destroyed),
|
||||
NULL,
|
||||
NULL,
|
||||
g_cclosure_marshal_VOID__VOID,
|
||||
G_TYPE_NONE,
|
||||
0);
|
||||
}
|
||||
|
||||
static void
|
||||
eekboard_context_init (EekboardContext *self)
|
||||
{
|
||||
/* void */
|
||||
}
|
||||
|
||||
static void
|
||||
context_name_vanished_callback (GDBusConnection *connection,
|
||||
const gchar *name,
|
||||
gpointer user_data)
|
||||
{
|
||||
EekboardContext *context = user_data;
|
||||
g_signal_emit (context, signals[DESTROYED], 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_new:
|
||||
* @connection: a #GDBusConnection
|
||||
* @object_path: object path
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Create a D-Bus proxy of an input context maintained by
|
||||
* eekboard-server. This function is seldom called from applications
|
||||
* since eekboard_server_create_context() calls it implicitly.
|
||||
*/
|
||||
EekboardContext *
|
||||
eekboard_context_new (GDBusConnection *connection,
|
||||
const gchar *object_path,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
GInitable *initable;
|
||||
GError *error;
|
||||
|
||||
g_return_val_if_fail (object_path != NULL, NULL);
|
||||
g_return_val_if_fail (G_IS_DBUS_CONNECTION(connection), NULL);
|
||||
|
||||
error = NULL;
|
||||
initable =
|
||||
g_initable_new (EEKBOARD_TYPE_CONTEXT,
|
||||
cancellable,
|
||||
&error,
|
||||
"g-name", "org.fedorahosted.Eekboard",
|
||||
"g-connection", connection,
|
||||
"g-interface-name", "org.fedorahosted.Eekboard.Context",
|
||||
"g-object-path", object_path,
|
||||
NULL);
|
||||
if (initable != NULL) {
|
||||
EekboardContext *context = EEKBOARD_CONTEXT (initable);
|
||||
gchar *name_owner = g_dbus_proxy_get_name_owner (G_DBUS_PROXY(context));
|
||||
|
||||
if (name_owner == NULL) {
|
||||
g_object_unref (context);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* the vanished callback is called when the server is disconnected */
|
||||
g_bus_watch_name_on_connection (connection,
|
||||
name_owner,
|
||||
G_BUS_NAME_WATCHER_FLAGS_NONE,
|
||||
NULL,
|
||||
context_name_vanished_callback,
|
||||
context,
|
||||
NULL);
|
||||
g_free (name_owner);
|
||||
|
||||
return context;
|
||||
}
|
||||
|
||||
g_warning ("can't create context client: %s", error->message);
|
||||
g_error_free (error);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
context_async_ready_callback (GObject *source_object,
|
||||
GAsyncResult *res,
|
||||
gpointer user_data)
|
||||
{
|
||||
GError *error = NULL;
|
||||
GVariant *result;
|
||||
|
||||
result = g_dbus_proxy_call_finish (G_DBUS_PROXY(source_object),
|
||||
res,
|
||||
&error);
|
||||
if (result)
|
||||
g_variant_unref (result);
|
||||
else {
|
||||
g_warning ("error in D-Bus proxy call: %s", error->message);
|
||||
g_error_free (error);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_add_keyboard:
|
||||
* @context: an #EekboardContext
|
||||
* @keyboard: a string representing keyboard
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Register @keyboard in @context.
|
||||
*/
|
||||
guint
|
||||
eekboard_context_add_keyboard (EekboardContext *context,
|
||||
const gchar *keyboard,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
GVariant *result;
|
||||
GError *error;
|
||||
|
||||
g_return_val_if_fail (EEKBOARD_IS_CONTEXT(context), 0);
|
||||
|
||||
error = NULL;
|
||||
result = g_dbus_proxy_call_sync (G_DBUS_PROXY(context),
|
||||
"AddKeyboard",
|
||||
g_variant_new ("(s)", keyboard),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
cancellable,
|
||||
&error);
|
||||
|
||||
if (result) {
|
||||
guint keyboard_id;
|
||||
|
||||
g_variant_get (result, "(u)", &keyboard_id);
|
||||
g_variant_unref (result);
|
||||
|
||||
return keyboard_id;
|
||||
}
|
||||
|
||||
g_warning ("error in AddKeyboard call: %s", error->message);
|
||||
g_error_free (error);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_remove_keyboard:
|
||||
* @context: an #EekboardContext
|
||||
* @keyboard_id: keyboard ID
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Unregister the keyboard with @keyboard_id in @context.
|
||||
*/
|
||||
void
|
||||
eekboard_context_remove_keyboard (EekboardContext *context,
|
||||
guint keyboard_id,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
g_return_if_fail (EEKBOARD_IS_CONTEXT(context));
|
||||
|
||||
g_dbus_proxy_call (G_DBUS_PROXY(context),
|
||||
"RemoveKeyboard",
|
||||
g_variant_new ("(u)", keyboard_id),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
cancellable,
|
||||
context_async_ready_callback,
|
||||
NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_set_keyboard:
|
||||
* @context: an #EekboardContext
|
||||
* @keyboard_id: keyboard ID
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Select a keyboard with ID @keyboard_id in @context.
|
||||
*/
|
||||
void
|
||||
eekboard_context_set_keyboard (EekboardContext *context,
|
||||
guint keyboard_id,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
g_return_if_fail (EEKBOARD_IS_CONTEXT(context));
|
||||
|
||||
g_dbus_proxy_call (G_DBUS_PROXY(context),
|
||||
"SetKeyboard",
|
||||
g_variant_new ("(u)", keyboard_id),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
cancellable,
|
||||
context_async_ready_callback,
|
||||
NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_set_group:
|
||||
* @context: an #EekboardContext
|
||||
* @group: group number
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Set the keyboard group of @context.
|
||||
*/
|
||||
void
|
||||
eekboard_context_set_group (EekboardContext *context,
|
||||
gint group,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
g_return_if_fail (EEKBOARD_IS_CONTEXT(context));
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
if (priv->group != group) {
|
||||
g_dbus_proxy_call (G_DBUS_PROXY(context),
|
||||
"SetGroup",
|
||||
g_variant_new ("(i)", group),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
cancellable,
|
||||
context_async_ready_callback,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_get_group:
|
||||
* @context: an #EekboardContext
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Get the keyboard group of @context.
|
||||
*/
|
||||
gint
|
||||
eekboard_context_get_group (EekboardContext *context,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
g_return_val_if_fail (EEKBOARD_IS_CONTEXT(context), 0);
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
return priv->group;
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_show_keyboard:
|
||||
* @context: an #EekboardContext
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Request eekboard-server to show a keyboard set by
|
||||
* eekboard_context_set_keyboard().
|
||||
*/
|
||||
void
|
||||
eekboard_context_show_keyboard (EekboardContext *context,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
g_return_if_fail (EEKBOARD_IS_CONTEXT(context));
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
if (priv->enabled) {
|
||||
g_dbus_proxy_call (G_DBUS_PROXY(context),
|
||||
"ShowKeyboard",
|
||||
NULL,
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
cancellable,
|
||||
context_async_ready_callback,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_hide_keyboard:
|
||||
* @context: an #EekboardContext
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Request eekboard-server to hide a keyboard.
|
||||
*/
|
||||
void
|
||||
eekboard_context_hide_keyboard (EekboardContext *context,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
g_return_if_fail (EEKBOARD_IS_CONTEXT(context));
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
if (priv->enabled) {
|
||||
g_dbus_proxy_call (G_DBUS_PROXY(context),
|
||||
"HideKeyboard",
|
||||
NULL,
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
cancellable,
|
||||
context_async_ready_callback,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_press_keycode:
|
||||
* @context: an #EekboardContext
|
||||
* @keycode: keycode number
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Tell eekboard-server that a key identified by @keycode is pressed.
|
||||
*/
|
||||
void
|
||||
eekboard_context_press_keycode (EekboardContext *context,
|
||||
guint keycode,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
g_return_if_fail (EEKBOARD_IS_CONTEXT(context));
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
if (priv->enabled) {
|
||||
g_dbus_proxy_call (G_DBUS_PROXY(context),
|
||||
"PressKeycode",
|
||||
g_variant_new ("(u)", keycode),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
cancellable,
|
||||
context_async_ready_callback,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_release_keycode:
|
||||
* @context: an #EekboardContext
|
||||
* @keycode: keycode number
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Tell eekboard-server that a key identified by @keycode is released.
|
||||
*/
|
||||
void
|
||||
eekboard_context_release_keycode (EekboardContext *context,
|
||||
guint keycode,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
g_return_if_fail (EEKBOARD_IS_CONTEXT(context));
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
if (priv->enabled) {
|
||||
g_dbus_proxy_call (G_DBUS_PROXY(context),
|
||||
"ReleaseKeycode",
|
||||
g_variant_new ("(u)", keycode),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
cancellable,
|
||||
context_async_ready_callback,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_is_visible:
|
||||
* @context: an #EekboardContext
|
||||
*
|
||||
* Check if keyboard is visible.
|
||||
*/
|
||||
gboolean
|
||||
eekboard_context_is_visible (EekboardContext *context)
|
||||
{
|
||||
g_return_val_if_fail (EEKBOARD_IS_CONTEXT(context), FALSE);
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
return priv->enabled && priv->visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_set_enabled:
|
||||
* @context: an #EekboardContext
|
||||
* @enabled: flag to indicate if @context is enabled
|
||||
*
|
||||
* Set @context enabled or disabled. This function is seldom called
|
||||
* since the flag is set via D-Bus signal #EekboardContext::enabled
|
||||
* and #EekboardContext::disabled.
|
||||
*/
|
||||
void
|
||||
eekboard_context_set_enabled (EekboardContext *context,
|
||||
gboolean enabled)
|
||||
{
|
||||
g_return_if_fail (EEKBOARD_IS_CONTEXT(context));
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
priv->enabled = enabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_is_enabled:
|
||||
* @context: an #EekboardContext
|
||||
*
|
||||
* Check if @context is enabled.
|
||||
*/
|
||||
gboolean
|
||||
eekboard_context_is_enabled (EekboardContext *context)
|
||||
{
|
||||
g_return_val_if_fail (EEKBOARD_IS_CONTEXT(context), FALSE);
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
return priv->enabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* eekboard_context_set_fullscreen:
|
||||
* @context: an #EekboardContext
|
||||
* @fullscreen: a flag to indicate fullscreen mode
|
||||
* @cancellable: a #GCancellable
|
||||
*
|
||||
* Set the fullscreen mode of @context.
|
||||
*/
|
||||
void
|
||||
eekboard_context_set_fullscreen (EekboardContext *context,
|
||||
gboolean fullscreen,
|
||||
GCancellable *cancellable)
|
||||
{
|
||||
g_return_if_fail (EEKBOARD_IS_CONTEXT(context));
|
||||
|
||||
EekboardContextPrivate *priv = eekboard_context_get_instance_private (context);
|
||||
|
||||
if (priv->fullscreen != fullscreen) {
|
||||
g_dbus_proxy_call (G_DBUS_PROXY(context),
|
||||
"SetFullscreen",
|
||||
g_variant_new ("(b)", fullscreen),
|
||||
G_DBUS_CALL_FLAGS_NONE,
|
||||
-1,
|
||||
cancellable,
|
||||
context_async_ready_callback,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
@ -1,94 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
* Copyright (C) 2010-2011 Red Hat, Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program 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 General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#if !defined(__EEKBOARD_CLIENT_H_INSIDE__) && !defined(EEKBOARD_COMPILATION)
|
||||
#error "Only <eekboard/eekboard-client.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#ifndef EEKBOARD_CONTEXT_H
|
||||
#define EEKBOARD_CONTEXT_H 1
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include "eek/eek.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define EEKBOARD_TYPE_CONTEXT (eekboard_context_get_type())
|
||||
G_DECLARE_DERIVABLE_TYPE (EekboardContext, eekboard_context, EEKBOARD, CONTEXT, GDBusProxy)
|
||||
|
||||
/**
|
||||
* EekboardContextClass:
|
||||
* @enabled: class handler for #EekboardContext::enabled signal
|
||||
* @disabled: class handler for #EekboardContext::disabled signal
|
||||
* @key_pressed: class handler for #EekboardContext::key-pressed signal
|
||||
* @destroyed: class handler for #EekboardContext::destroyed signal
|
||||
*/
|
||||
struct _EekboardContextClass {
|
||||
/*< private >*/
|
||||
GDBusProxyClass parent_class;
|
||||
|
||||
/*< public >*/
|
||||
/* signals */
|
||||
void (*enabled) (EekboardContext *self);
|
||||
void (*disabled) (EekboardContext *self);
|
||||
void (*destroyed) (EekboardContext *self);
|
||||
|
||||
/*< private >*/
|
||||
/* padding */
|
||||
gpointer pdummy[24];
|
||||
};
|
||||
|
||||
GType eekboard_context_get_type (void) G_GNUC_CONST;
|
||||
|
||||
EekboardContext *eekboard_context_new (GDBusConnection *connection,
|
||||
const gchar *object_path,
|
||||
GCancellable *cancellable);
|
||||
guint eekboard_context_add_keyboard (EekboardContext *context,
|
||||
const gchar *keyboard,
|
||||
GCancellable *cancellable);
|
||||
void eekboard_context_remove_keyboard (EekboardContext *context,
|
||||
guint keyboard_id,
|
||||
GCancellable *cancellable);
|
||||
void eekboard_context_set_keyboard (EekboardContext *context,
|
||||
guint keyboard_id,
|
||||
GCancellable *cancellable);
|
||||
void eekboard_context_show_keyboard (EekboardContext *context,
|
||||
GCancellable *cancellable);
|
||||
void eekboard_context_hide_keyboard (EekboardContext *context,
|
||||
GCancellable *cancellable);
|
||||
void eekboard_context_set_group (EekboardContext *context,
|
||||
gint group,
|
||||
GCancellable *cancellable);
|
||||
gint eekboard_context_get_group (EekboardContext *context,
|
||||
GCancellable *cancellable);
|
||||
void eekboard_context_press_keycode (EekboardContext *context,
|
||||
guint keycode,
|
||||
GCancellable *cancellable);
|
||||
void eekboard_context_release_keycode (EekboardContext *context,
|
||||
guint keycode,
|
||||
GCancellable *cancellable);
|
||||
gboolean eekboard_context_is_visible
|
||||
(EekboardContext *context);
|
||||
void eekboard_context_set_enabled (EekboardContext *context,
|
||||
gboolean enabled);
|
||||
gboolean eekboard_context_is_enabled (EekboardContext *context);
|
||||
void eekboard_context_set_fullscreen (EekboardContext *context,
|
||||
gboolean fullscreen,
|
||||
GCancellable *cancellable);
|
||||
|
||||
G_END_DECLS
|
||||
#endif /* EEKBOARD_CONTEXT_H */
|
||||
@ -131,7 +131,6 @@ emit_key_activated (EekboardContextService *manager,
|
||||
*/
|
||||
SeatEmitter emitter = {0};
|
||||
emitter.virtual_keyboard = manager->virtual_keyboard;
|
||||
emitter.keymap = keyboard->keymap;
|
||||
update_modifier_info (&emitter);
|
||||
send_fake_key (&emitter, keyboard, keycode, pressed, timestamp);
|
||||
}
|
||||
|
||||
@ -1,47 +0,0 @@
|
||||
#!/usr/bin/python
|
||||
# Copyright (C) 2011 Daiki Ueno <ueno@unixuser.org>
|
||||
# Copyright (C) 2011 Red Hat, Inc.
|
||||
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
|
||||
# This program 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
|
||||
# General Public License for more details.
|
||||
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see
|
||||
# <http://www.gnu.org/licenses/>.
|
||||
|
||||
import eekboard
|
||||
import glib
|
||||
|
||||
class SimpleClient(object):
|
||||
def __init__(self):
|
||||
client = eekboard.Client()
|
||||
self.__context = client.create_context('simple-client')
|
||||
client.push_context(self.__context)
|
||||
keyboard_id = self.__context.add_keyboard('us')
|
||||
self.__context.set_keyboard(keyboard_id)
|
||||
|
||||
def __key_pressed_cb(self, c, keyname, symbol, modifiers):
|
||||
print (keyname, symbol, modifiers)
|
||||
|
||||
def __notify_visible_cb(self, c, p, mainloop):
|
||||
if not c.props.visible:
|
||||
mainloop.quit()
|
||||
|
||||
def run(self):
|
||||
mainloop = glib.MainLoop()
|
||||
self.__context.connect('key-pressed', self.__key_pressed_cb)
|
||||
self.__context.connect('notify::visible', self.__notify_visible_cb,
|
||||
mainloop)
|
||||
self.__context.show_keyboard();
|
||||
mainloop.run()
|
||||
|
||||
if __name__ == '__main__':
|
||||
client = SimpleClient()
|
||||
client.run()
|
||||
@ -3,25 +3,48 @@ extern crate xkbcommon;
|
||||
|
||||
use std::env;
|
||||
|
||||
use rs::data::{ load_layout_from_resource, LoadError };
|
||||
use rs::data::{ Layout, LoadError };
|
||||
|
||||
use xkbcommon::xkb;
|
||||
|
||||
|
||||
fn check_layout(name: &str) {
|
||||
let layout = load_layout_from_resource(name)
|
||||
let layout = Layout::from_resource(name)
|
||||
.and_then(|layout| layout.build().map_err(LoadError::BadKeyMap))
|
||||
.expect("layout broken");
|
||||
|
||||
let context = xkb::Context::new(xkb::CONTEXT_NO_FLAGS);
|
||||
xkb::Keymap::new_from_string(
|
||||
|
||||
let keymap_str = layout.keymap_str
|
||||
.clone()
|
||||
.into_string().expect("Failed to decode keymap string");
|
||||
|
||||
let keymap = xkb::Keymap::new_from_string(
|
||||
&context,
|
||||
layout.keymap_str
|
||||
.clone()
|
||||
.into_string().expect("Failed to decode keymap string"),
|
||||
keymap_str.clone(),
|
||||
xkb::KEYMAP_FORMAT_TEXT_V1,
|
||||
xkb::KEYMAP_COMPILE_NO_FLAGS,
|
||||
).expect("Failed to create keymap");
|
||||
|
||||
let state = xkb::State::new(&keymap);
|
||||
|
||||
// "Press" each button with keysyms
|
||||
for view in layout.views.values() {
|
||||
for row in &view.rows {
|
||||
for button in &row.buttons {
|
||||
let keystate = button.state.borrow();
|
||||
for keycode in &keystate.keycodes {
|
||||
match state.key_get_one_sym(*keycode) {
|
||||
xkb::KEY_NoSymbol => {
|
||||
eprintln!("{}", keymap_str);
|
||||
panic!("Keysym {} on key {:?} can't be resolved", keycode, button.name);
|
||||
},
|
||||
_ => {},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn main() -> () {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
project(
|
||||
'squeekboard',
|
||||
'c', 'rust',
|
||||
version: '1.2.0',
|
||||
version: '1.3.0',
|
||||
license: 'GPLv3',
|
||||
meson_version: '>=0.51.0',
|
||||
default_options: [
|
||||
@ -18,6 +18,7 @@ add_project_arguments(
|
||||
'-Werror=maybe-uninitialized',
|
||||
'-Werror=missing-field-initializers',
|
||||
'-Werror=incompatible-pointer-types',
|
||||
'-Werror=int-conversion',
|
||||
],
|
||||
language: 'c'
|
||||
)
|
||||
@ -60,5 +61,4 @@ subdir('data')
|
||||
subdir('protocols')
|
||||
subdir('eek')
|
||||
subdir('src')
|
||||
subdir('po')
|
||||
subdir('tests')
|
||||
|
||||
@ -1,2 +0,0 @@
|
||||
ja
|
||||
|
||||
@ -1,8 +0,0 @@
|
||||
eekboard/eekboard-context-service.c
|
||||
eekboard/eekboard-service.c
|
||||
src/server-service.c
|
||||
src/server-context-service.c
|
||||
src/server-main.c
|
||||
src/client.c
|
||||
src/client-main.c
|
||||
[type: gettext/glade]src/preferences-dialog.ui
|
||||
@ -1,7 +0,0 @@
|
||||
eek/eek-element.c
|
||||
eek/eek-container.c
|
||||
eek/eek-key.c
|
||||
eek/eek-keyboard.c
|
||||
eek/eek-section.c
|
||||
eekboard/eekboard-client.c
|
||||
eekboard/eekboard-context.c
|
||||
95
po/ja.po
95
po/ja.po
@ -1,95 +0,0 @@
|
||||
# Japanese translations for eekboard package
|
||||
# eekboard パッケージに対する英訳.
|
||||
# Copyright (C) 2010-2011 Daiki Ueno <ueno@unixuser.org>
|
||||
# This file is distributed under the same license as the eekboard package.
|
||||
# Daiki Ueno <ueno@unixuser.org>, 2010.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: eekboard 0.90.2\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-02-25 13:13+0900\n"
|
||||
"PO-Revision-Date: 2011-02-25 13:14+0900\n"
|
||||
"Last-Translator: Daiki Ueno <ueno@unixuser.org>\n"
|
||||
"Language-Team: Japanese\n"
|
||||
"Language: \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"
|
||||
|
||||
#: ../src/server-context.c:216
|
||||
msgid "Keyboard"
|
||||
msgstr "キーボード"
|
||||
|
||||
#: ../src/client-main.c:41 ../src/desktop-client-main.c:41
|
||||
msgid "Connect to the system bus"
|
||||
msgstr "システムバスに接続"
|
||||
|
||||
#: ../src/client-main.c:43 ../src/desktop-client-main.c:43
|
||||
msgid "Connect to the session bus"
|
||||
msgstr "セッションバスに接続"
|
||||
|
||||
#: ../src/client-main.c:45 ../src/desktop-client-main.c:45
|
||||
msgid "Connect to the given D-Bus address"
|
||||
msgstr "与えられた D-Bus アドレスに接続"
|
||||
|
||||
#: ../src/client-main.c:47
|
||||
msgid "Upload keyboard description from an XML file"
|
||||
msgstr "XML ファイルから読み込んだキーボード記述をアップロード"
|
||||
|
||||
#: ../src/client-main.c:49
|
||||
msgid "Set group of the keyboard"
|
||||
msgstr "キーボードのグループを設定"
|
||||
|
||||
#: ../src/client-main.c:51
|
||||
msgid "Show keyboard"
|
||||
msgstr "キーボードを表示"
|
||||
|
||||
#: ../src/client-main.c:53
|
||||
msgid "Hide keyboard"
|
||||
msgstr "キーボードを隠す"
|
||||
|
||||
#: ../src/client-main.c:55
|
||||
msgid "Press key"
|
||||
msgstr "キーを押す"
|
||||
|
||||
#: ../src/client-main.c:57
|
||||
msgid "Release key"
|
||||
msgstr "キーを離す"
|
||||
|
||||
#: ../src/client-main.c:59
|
||||
msgid "Listen events"
|
||||
msgstr "イベントの通知を受ける"
|
||||
|
||||
#: ../src/desktop-client-main.c:48
|
||||
msgid "Listen focus change events with AT-SPI"
|
||||
msgstr "AT-SPI によるフォーカス変更イベントの通知を受ける"
|
||||
|
||||
#: ../src/desktop-client-main.c:50
|
||||
msgid "Listen keystroke events with AT-SPI"
|
||||
msgstr "AT-SPI による打鍵イベントの通知を受ける"
|
||||
|
||||
#: ../src/xml-main.c:46
|
||||
msgid "Show the keyboard loaded from an XML file"
|
||||
msgstr "XML ファイルから読み込んだキーボードを表示"
|
||||
|
||||
#: ../src/xml-main.c:48
|
||||
msgid "Output the current layout into an XML file"
|
||||
msgstr "現在のレイアウトを XML ファイルに出力"
|
||||
|
||||
#: ../src/xml-main.c:50
|
||||
msgid "List configuration items for given spec"
|
||||
msgstr "与えられたスペックのための設定項目を一覧"
|
||||
|
||||
#: ../src/xml-main.c:52
|
||||
msgid "Specify model"
|
||||
msgstr "モデルを指定"
|
||||
|
||||
#: ../src/xml-main.c:54
|
||||
msgid "Specify layouts"
|
||||
msgstr "レイアウトを指定"
|
||||
|
||||
#: ../src/xml-main.c:56
|
||||
msgid "Specify options"
|
||||
msgstr "オプションを指定"
|
||||
@ -1,9 +0,0 @@
|
||||
i18n.gettext('squeekboard',
|
||||
preset: 'glib',
|
||||
args: [
|
||||
'--copyright-holder=Purism SPC',
|
||||
'--package-name=Squeekboard',
|
||||
'--package-version=' + meson.project_version(),
|
||||
'--msgid-bugs-address=dorota.czaplejewicz@puri.sm'
|
||||
]
|
||||
)
|
||||
@ -36,11 +36,5 @@ pub enum Action {
|
||||
/// The key events this symbol submits when submitting text is not possible
|
||||
keys: Vec<KeySym>,
|
||||
},
|
||||
}
|
||||
|
||||
/// Contains a static description of a particular key's actions
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub struct Symbol {
|
||||
/// The action that this key performs
|
||||
pub action: Action,
|
||||
ShowPreferences,
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user