summaryrefslogtreecommitdiff
path: root/src/SW/xf86-input-evdev/document.en.rest.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/SW/xf86-input-evdev/document.en.rest.txt')
-rw-r--r--src/SW/xf86-input-evdev/document.en.rest.txt39
1 files changed, 22 insertions, 17 deletions
diff --git a/src/SW/xf86-input-evdev/document.en.rest.txt b/src/SW/xf86-input-evdev/document.en.rest.txt
index a1ce1be..04dafaa 100644
--- a/src/SW/xf86-input-evdev/document.en.rest.txt
+++ b/src/SW/xf86-input-evdev/document.en.rest.txt
@@ -37,22 +37,27 @@ only the pages needed. This way, devices with no remapping use only
one more pointer in their structures, and devices with very few codes
to remap use only 256 bytes.
-Of course, the configuration can be set either in the ``xorg.conf``
-file, or via `HAL`. My ``/etc/hal/fdi/policy/10-x11-input.fdi`` file
-contains::
-
- <?xml version="1.0" encoding="utf-8"?>
- <deviceinfo version="0.2">
- <match key="info.capabilities" contains="input.keyboard">
- <append key="input.x11_options.XkbOptions" type="strlist">compose:ralt</append>
- <append key="input.x11_options.XkbOptions" type="strlist">altwin:meta_win</append>
- </match>
- <match key="input.product" string="Apple, Inc Apple Keyboard">
- <merge key="input.x11_options.XkbLayout" type="string">dakkar</merge>
- <merge key="input.x11_options.XkbModel" type="string">evdev</merge>
- <merge key="input.x11_options.XkbVariant" type="string">dvorak-apple-al</merge>
- <merge key="input.x11_options.event_key_remap" type="string">464=118 120=210 204=211</merge>
- </match>
- </deviceinfo>
+Of course, the configuration can be set in the ``xorg.conf``
+file. Mine contains::
+
+ Section "InputClass"
+ Identifier "keyboard-generic"
+ Driver "evdev"
+ Option "XkbOptions" "compose:ralt,altwin:meta_win,terminate:ctrl_alt_bksp"
+
+ MatchIsKeyboard "on"
+ EndSection
+
+ Section "InputClass"
+ Identifier "keyboard-apple-alu"
+ Driver "evdev"
+ Option "XkbLayout" "dakkar"
+ Option "XkbModel" "applealu_iso"
+ Option "XkbVariant" "dvorak-apple-al"
+ Option "event_key_remap" "464=118 120=210 204=211"
+
+ MatchIsKeyboard "on"
+ MatchProduct "Apple, Inc Apple Keyboard"
+ EndSection
(Details about my keyboard layout are `elsewhere <../my-layout/>`_.