Skip to content

Commit 468d16d

Browse files
committed
fix the controller hiding bug
1 parent 38cd967 commit 468d16d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hhd/controller/lib/hide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def hide_gamepad(devpath: str, vid: int, pid: int):
6262
SUBSYSTEMS=="input", KERNELS=="{input_dev}", ATTRS{{id/vendor}}=="{vid:04x}", ATTRS{{id/product}}=="{pid:04x}", GOTO="hhd_valid"
6363
GOTO="hhd_end"
6464
LABEL="hhd_valid"
65-
KERNEL=="js[0-9]*|event[0-9]*", SUBSYSTEM=="input", MODE="000", GROUP="root", RUN+="/bin/chmod 000 /dev/input/%k"
65+
KERNEL=="js[0-9]*|event[0-9]*", SUBSYSTEM=="input", MODE="000", GROUP="root", TAG="", RUN+="/bin/chmod 000 /dev/input/%k"
6666
LABEL="hhd_end"
6767
""" # , RUN+="/bin/chmod 000 /sys/%p"
6868
try:

0 commit comments

Comments
 (0)