chiark / gitweb /
mount: add new SloppyOptions= setting for mount units, mapping to mount(8)'s "-s...
[elogind.git] / rules / 60-keyboard.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION=="remove", GOTO="keyboard_end"
4 KERNEL!="event*", GOTO="keyboard_end"
5 ENV{ID_INPUT_KEY}=="", GOTO="keyboard_end"
6
7 # ignore all bluetooth devices
8 SUBSYSTEMS=="bluetooth", GOTO="keyboard_end"
9
10 # import key mapping for USB device
11 SUBSYSTEMS=="usb", IMPORT{builtin}="hwdb --subsystem=usb --lookup-prefix=keyboard:", \
12   RUN{builtin}+="keyboard", GOTO="keyboard_end"
13
14 # import key mapping for AT keyboard from DMI data
15 DRIVERS=="atkbd", IMPORT{builtin}="hwdb 'keyboard:$attr{[dmi/id]modalias}'", \
16   RUN{builtin}+="keyboard", GOTO="keyboard_end"
17
18 # import key mapping for platform input device
19 KERNELS=="input*", IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \
20   RUN{builtin}+="keyboard", GOTO="keyboard_end"
21
22 LABEL="keyboard_end"