summaryrefslogtreecommitdiffstats
path: root/rules/60-input-id.rules
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2017-06-12 13:43:05 +0200
committerMichal Suchanek <msuchanek@suse.de>2017-06-27 13:28:10 +0200
commit38887d1bd5eb037a532279b2b75d6a87ce381419 (patch)
tree37ae5788cabdae5f3e52be63e837920ed5f6caa6 /rules/60-input-id.rules
parenthwdb: fix help text in 60-keyboard.hwdb (diff)
downloadsystemd-38887d1bd5eb037a532279b2b75d6a87ce381419.tar.xz
systemd-38887d1bd5eb037a532279b2b75d6a87ce381419.zip
rules: move input_id rule to a separate file
This places the input_id call after the evdev hwdb calls. With this the hwdb fixups in evdev can affect the device capabilities assigned in input_id. Remove the ID_INPUT_KEY dependency in atkbd rule because it is now not assigned at this point.
Diffstat (limited to '')
-rw-r--r--rules/60-input-id.rules7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/60-input-id.rules b/rules/60-input-id.rules
new file mode 100644
index 0000000000..dee42199b6
--- /dev/null
+++ b/rules/60-input-id.rules
@@ -0,0 +1,7 @@
+# do not edit this file, it will be overwritten on update
+
+ACTION=="remove", GOTO="id_input_end"
+
+SUBSYSTEM=="input", ENV{ID_INPUT}=="", IMPORT{builtin}="input_id"
+
+LABEL="id_input_end"