From 58dbbb36ecda80af6056c203f9249b3d754a76d8 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Mon, 11 May 2026 20:07:15 -0700 Subject: [PATCH] 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 --- roles/desktop/gaming.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/desktop/gaming.nix b/roles/desktop/gaming.nix index 57b81d7..65595af 100644 --- a/roles/desktop/gaming.nix +++ b/roles/desktop/gaming.nix @@ -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" ''; }) ];