summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/Makefile.am2
-rw-r--r--compat/ledcompose16
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;
+ };
+};