I'm working on an application that is reading an XBox controller connected via bluetooth. After configuring it (see https://pimylifeup.com/xbox-controllers-raspberry-pi/), I noticed that only root has read/write access to
/dev/input/js0. Reading another answer (How do I change the default permissions for device files (e.g. a gamepad)?), it leverages
lsusb to identify the device and set
/etc/udev/rules.d/69-gamepad.rules; this doesn't identify devices connected to the bluetooth adapter on the Raspberry Pi 3B+.
How should I search differently, or is there a better way to configure this for user/group reads?