Created
October 15, 2025 18:58
-
-
Save xeechou/d0913d4366c4dfc4b78f752b41794a9d to your computer and use it in GitHub Desktop.
flydigi apex 5 xpad enable rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#flydigi Apex 5 | |
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="37d7", ATTRS{idProduct}=="2501", RUN+="/sbin/modprobe xpad" | |
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="37d7", ATTRS{idProduct}=="2501", RUN+="/bin/sh -c 'echo 37d7 2501 > /sys/bus/usb/drivers/xpad/new_id'" | |
#ACTION!="remove", KERNEL=="hidraw*", KERNELS=="*37d7:2501*", MODE="0660", TAG+="uaccess" | |
#ACTION!="remove", SUBSYSTEM=="input", ATTRS{id/product}=="2501", ATTRS{id/vendor}=="37d7", MODE="0660", TAG+="uaccess" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment