Bluetooth Controller device connects but does not respond to button clicks

Hi! I have a Bluetooth controller, which I managed to connect, but it sometimes does not get picked up by the udev I think. When the Bluetooth controller works correctly, I see the device on /dev/input/js0 but when it doesn’t I can’t find the js0 device node. I tried udevadm trigger command but nothing changes. Can you help me make it work?