From 0448d8146f30083414cfc9df0b15ca49ace0f166 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Fri, 21 Mar 2025 17:13:06 +1000 Subject: [PATCH] Update controller udev rules with consistent vendor ID formatting - Add copyright notice for citron Emulator Project - Standardize Nintendo vendor ID format to uppercase (057E) in Bluetooth controller rules - Maintain same permissions and access settings for all controllers REF: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/commit/6ead429195ef12f35a5818eba6d76f54d5421cec Reviewed-on: http://vub63vv26q6v27xzv2dtcd25xumubshogm67yrpaz2rculqxs7jlfqad.onion/torzu-emu/torzu/pulls/106 Co-authored-by: deftdawg Co-committed-by: deftdawg Signed-off-by: Zephyron --- dist/72-citron-input.rules | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dist/72-citron-input.rules b/dist/72-citron-input.rules index f90122f0f..df051ca28 100644 --- a/dist/72-citron-input.rules +++ b/dist/72-citron-input.rules @@ -1,4 +1,5 @@ # SPDX-FileCopyrightText: 2023 yuzu Emulator Project +# SPDX-FileCopyrightText: 2025 citron Emulator Project # SPDX-License-Identifier: GPL-2.0-or-later # Allow systemd-logind to manage user access to hidraw with this file @@ -7,13 +8,13 @@ # Switch Pro Controller (USB/Bluetooth) KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="2009", MODE="0660", TAG+="uaccess" -KERNEL=="hidraw*", KERNELS=="*057e:2009*", MODE="0660", TAG+="uaccess" +KERNEL=="hidraw*", KERNELS=="*057E:2009*", MODE="0660", TAG+="uaccess" # Joy-Con L (Bluetooth) -KERNEL=="hidraw*", KERNELS=="*057e:2006*", MODE="0660", TAG+="uaccess" +KERNEL=="hidraw*", KERNELS=="*057E:2006*", MODE="0660", TAG+="uaccess" # Joy-Con R (Bluetooth) -KERNEL=="hidraw*", KERNELS=="*057e:2007*", MODE="0660", TAG+="uaccess" +KERNEL=="hidraw*", KERNELS=="*057E:2007*", MODE="0660", TAG+="uaccess" # Joy-Con Charging Grip (USB) KERNEL=="hidraw*", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="200e", MODE="0660", TAG+="uaccess"