diff --git a/anda/games/wooting-udev-rules/70-wooting.rules b/anda/games/wooting-udev-rules/70-wooting.rules new file mode 100644 index 0000000000..8c9617e136 --- /dev/null +++ b/anda/games/wooting-udev-rules/70-wooting.rules @@ -0,0 +1,7 @@ +# Legacy Wootings +SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", MODE:="0660", TAG+="uaccess" +SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", MODE:="0660", TAG+="uaccess" + +# Generic Wootings +SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", MODE:="0660", TAG+="uaccess" +SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", MODE:="0660", TAG+="uaccess" diff --git a/anda/games/wooting-udev-rules/anda.hcl b/anda/games/wooting-udev-rules/anda.hcl new file mode 100644 index 0000000000..955d43a034 --- /dev/null +++ b/anda/games/wooting-udev-rules/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + rpm { + spec = "wooting-udev-rules.spec" + } + arches = ["x86_64"] +} diff --git a/anda/games/wooting-udev-rules/wooting-udev-rules.spec b/anda/games/wooting-udev-rules/wooting-udev-rules.spec new file mode 100644 index 0000000000..27f7706c27 --- /dev/null +++ b/anda/games/wooting-udev-rules/wooting-udev-rules.spec @@ -0,0 +1,40 @@ +%global appid io.wooting.Udev + + +Name: wooting-udev-rules +Version: 1 +Release: 1%{?dist} +Summary: Udev rules for wooting keyboards +Provides: wooting-udev = %{version}-%{release} +License: Unlicense +Source0: 70-wooting.rules +BuildArch: noarch +BuildRequires: systemd +BuildRequires: anda-srpm-macros +Requires: systemd-udev + +%global udev_order 70 + +%description +Udev rules for Wooting keyboards to enable device access for use with the Wootility AppImage on Linux systems. + +%prep + +%build + +%install +install -D -p -m 644 %SOURCE0 %{buildroot}%{_udevrulesdir}/%{udev_order}-wooting.rules +# +%post +%udev_rules_update + +%postun +%udev_rules_update + +%files +%_udevrulesdir/%{udev_order}-wooting.rules + + +%changelog +* Mon Jan 05 2026 Roice Young +- Initial release