Check out this repo for udev rules: https://codeberg.org/fabiscafe/game-devices-udev
Instructions copied from repo:
- Download the archive.
- Extract the archive.
- Copy all the rule files to /etc/udev/rules.d.
- Create another file: /etc/modules-load.d/uinput.conf.
- Put uinput into that file.
- Reboot.