aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'hal-config-examples/use-multiple-layouts.fdi')
-rw-r--r--hal-config-examples/use-multiple-layouts.fdi20
1 files changed, 20 insertions, 0 deletions
diff --git a/hal-config-examples/use-multiple-layouts.fdi b/hal-config-examples/use-multiple-layouts.fdi
new file mode 100644
index 00000000..e9f289e4
--- /dev/null
+++ b/hal-config-examples/use-multiple-layouts.fdi
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Section "InputDevice"
+ Driver "evdev"
+
+ Option "XkbModel" "evdev"
+ Option "XkbLayout" "gb,pl"
+ Option "XkbVariant" "oss,winkeys"
+ Option "XkbOptions" "grp:caps_toggle,grp_led:caps,compose:ralt"
+EndSection
+-->
+<deviceinfo version="0.2">
+ <match key="info.capabilities" contains="input.keyboard">
+ <merge key="input.xkb.layout" type="string">gb,pl</merge>
+ <merge key="input.xkb.variant" type="string">,winkeys</merge>
+ <merge key="input.xkb.options" type="strlist">grp:caps_toggle</merge>
+ <append key="input.xkb.options" type="strlist">grp_led:caps</append>
+ <append key="input.xkb.options" type="strlist">compose:ralt</append>
+ </match>
+</deviceinfo>