diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/95-keyboard-force-release.rules | 8 | ||||
-rw-r--r-- | rules/95-keymap.rules | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/rules/95-keyboard-force-release.rules b/rules/95-keyboard-force-release.rules index 39f01a4d3e..3e87ed791a 100644 --- a/rules/95-keyboard-force-release.rules +++ b/rules/95-keyboard-force-release.rules @@ -5,11 +5,15 @@ # The atkbd driver has a quirk handler for generating synthetic # release events, which can be configured via sysfs since 2.6.32. # Simply add a file with a list of scancodes for your laptop model -# in /usr/lib/udev/keymaps, and add a rule here. +# in ${rootlibdir}/udev/keymaps, and add a rule here. # If the hotkeys also need a keymap assignment you can copy the # scancodes from the keymap file, otherwise you can run -# /usr/lib/udev/keymap -i /dev/input/eventX +# ${rootlibdir}/udev/keymap -i /dev/input/eventX # on a Linux vt to find out. +# +# Note also that system-specific keymaps and rules can be added +# into the /etc/udev/rules.d/ and /etc/udev/keymaps/ directories +# instead of modifying or adding to the system-installed files. ACTION=="remove", GOTO="force_release_end" SUBSYSTEM!="serio", GOTO="force_release_end" diff --git a/rules/95-keymap.rules b/rules/95-keymap.rules index 0ae8522657..1a208492ae 100644 --- a/rules/95-keymap.rules +++ b/rules/95-keymap.rules @@ -2,8 +2,12 @@ # # Key map overrides can be specified by either giving scancode/keyname pairs # directly as keymap arguments (if there are just one or two to change), or as -# a file name (in /usr/lib/udev/keymaps), which has to contain scancode/keyname +# a file name (in ${rootlibdir}/udev/keymaps), which has to contain scancode/keyname # pairs. +# +# Note also that system-specific keymaps and rules can be added +# into /etc/udev/keymaps/ instead of modifying or adding to the system-installed +# files. ACTION=="remove", GOTO="keyboard_end" KERNEL!="event*", GOTO="keyboard_end" |