60-keyboard.rules revision b26e4ced91d0ac0eabdce1c505228ccafc65a23f
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay Sievers# do not edit this file, it will be overwritten on update
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay SieversACTION=="remove", GOTO="keyboard_end"
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay SieversKERNEL!="event*", GOTO="keyboard_end"
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay SieversENV{ID_INPUT_KEY}=="", GOTO="keyboard_end"
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay Sievers# ignore all bluetooth devices
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay SieversSUBSYSTEMS=="bluetooth", GOTO="keyboard_end"
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay Sievers# import key mapping for input device
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay SieversIMPORT{builtin}="hwdb --lookup-prefix=keyboard:", \
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay Sievers RUN{builtin}+="keyboard", GOTO="keyboard_end"
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay Sievers# import key mapping for AT keyboard from DMI data
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay SieversDRIVERS=="atkbd", IMPORT{builtin}="hwdb 'keyboard:$attr{[dmi/id]modalias}'", \
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay Sievers RUN{builtin}+="keyboard", GOTO="keyboard_end"
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay Sievers# import key mapping for platform input device
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay SieversKERNELS=="input*", IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay Sievers RUN{builtin}+="keyboard", GOTO="keyboard_end"
0c959b39175b126fdb70ae00de37ca6d9c8ca3a1Kay SieversLABEL="keyboard_end"