summaryrefslogtreecommitdiff
path: root/src/grp-udev/rules/70-touchpad.rules
blob: 7bede02dec3849d77ceb4268ba1a415e0b09cd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="touchpad_end"
ENV{ID_INPUT}=="", GOTO="touchpad_end"
ENV{ID_INPUT_TOUCHPAD}=="", GOTO="touchpad_end"
KERNEL!="event*", GOTO="touchpad_end"

# touchpad:<subsystem>:v<vid>p<pid>:name:<name>:*
KERNELS=="input*", ENV{ID_BUS}!="", \
        IMPORT{builtin}="hwdb 'touchpad:$env{ID_BUS}:v$attr{id/vendor}p$attr{id/product}:name:$attr{name}:'", \
        GOTO="touchpad_end"

LABEL="touchpad_end"