diff options
author | Sergey Udaltsov <sergey.udaltsov@gmail.com> | 2019-10-30 23:22:22 +0000 |
---|---|---|
committer | Sergey Udaltsov <sergey.udaltsov@gmail.com> | 2019-10-30 23:22:22 +0000 |
commit | 50c8c0ffd159d92f9039490410e88e33d3384041 (patch) | |
tree | 3731837b27fc0c2efce0b0a351b7bc2678444d85 /compat | |
parent | 91ea2d369b06ce5ed1a414cc940bd4a99523a198 (diff) | |
download | xkeyboard-config-50c8c0ffd159d92f9039490410e88e33d3384041.tar.gz |
added ledcompose
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/114
Diffstat (limited to 'compat')
-rw-r--r-- | compat/Makefile.am | 2 | ||||
-rw-r--r-- | compat/ledcompose | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/compat/Makefile.am b/compat/Makefile.am index e2026af..1dd851a 100644 --- a/compat/Makefile.am +++ b/compat/Makefile.am @@ -3,7 +3,7 @@ compatdir = $(xkb_base)/compat compat_DATA = \ accessx basic caps complete \ iso9995 \ -japan ledcaps \ +japan ledcaps ledcompose \ lednum ledscroll level5 \ misc mousekeys \ olpc pc pc98 xfree86 \ diff --git a/compat/ledcompose b/compat/ledcompose new file mode 100644 index 0000000..6213501 --- /dev/null +++ b/compat/ledcompose @@ -0,0 +1,16 @@ + +default partial xkb_compatibility "compose" { + + virtual_modifiers Compose; + + interpret Multi_key+Any { + virtualModifier= Compose; + action = LatchMods(modifiers=modMapMods); + }; + + indicator "Compose" { + allowExplicit; + whichModState= Latched; + modifiers= Compose; + }; +}; |