1 # do not edit this file, it will be overwritten on update
3 ACTION=="remove", GOTO="keyboard_end"
4 KERNEL!="event*", GOTO="keyboard_end"
5 ENV{ID_INPUT_KEY}=="", GOTO="keyboard_end"
7 # ignore all bluetooth devices
8 SUBSYSTEMS=="bluetooth", GOTO="keyboard_end"
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"
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"
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"