feat(gaming): add udev symlinks for PDP RiffMaster guitars by serial
Create /dev/input/yarg-ladybug and /dev/input/yarg-fly symlinks based on each guitar's unique USB serial number, so YARG can distinguish the two identical controllers regardless of connection order. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -49,6 +49,12 @@ in
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="0291", MODE="0666"
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="02a9", MODE="0666"
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="045e", ATTR{idProduct}=="0719", MODE="0666"
|
||||
|
||||
# PDP RiffMaster Xbox - named symlinks by serial number
|
||||
# Ladybug
|
||||
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{serial}=="0000765A5937FF9B", SYMLINK+="input/yarg-ladybug"
|
||||
# Fly
|
||||
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{serial}=="0000C8733EB92FC5", SYMLINK+="input/yarg-fly"
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user