Imported Debian patch 2:1.15.1-0ubuntu2.6
[deb_xorg-server.git] / debian / local / 64-xorg-xkb.rules
diff --git a/debian/local/64-xorg-xkb.rules b/debian/local/64-xorg-xkb.rules
new file mode 100644 (file)
index 0000000..5a3c5b8
--- /dev/null
@@ -0,0 +1,8 @@
+ACTION!="add|change", GOTO="xorg_xkb_end"
+SUBSYSTEM!="input", GOTO="xorg_xkb_end"
+KERNEL!="event*", GOTO="xorg_xkb_end"
+
+# import keyboard layout from /etc/default/keyboard
+ENV{ID_INPUT_KEY}=="?*", IMPORT{file}="/etc/default/keyboard"
+
+LABEL="xorg_xkb_end"