Having trouble getting Dualshock 4 gyro to work

Just came over here from OpenSUSE Tumbleweed and am already excited by what I have experienced so far.

The only issue I have thus far is that my PS4 controller’s gyro does not seem to be getting read. This was working perfectly fine under OpenSUSE Tumbleweed.

The only clue I can think of is that under Tumbleweed my PS4 controller was being read under /dev/hidraw[n], while under CachyOS it is being read under /dev/input/event[n].

This probably involves some sort of udev rule.

Installing Steam caused the issue to fix itself, but I would like to know in the future what specific udev rule I would need to add.