Generic controller not working

So I bought this cheap controller (2563:0526 ShenZhen ShanWan Technology Co., Ltd. Android GamePad) and I really want to be able to use it. On Windows, it works nicely both via Bluetooth and via the dongle, but neither works on Bazzite.

Since I want to use it with the dongle, let’s focus on that.

For some reason, the dongle isn’t picked up by xpad and is instead handled by hid-generic. On Steam, it appears under controllers, but none of the buttons do anything. I’ve tried getting ChatGPT to help me bind it to xpad (I’m a complete Linux novice) with no luck.

What can I do? I really appreciate the help!

Hey, I just bought the abxylute C5P, which has the same identifier. The ultimate solution I came up with was to give up on the dongle and put it in Nintendo Switch Mode, where it spoofs a Switch Pro Controller. This worked in Bazzite for my setup. On my controller, this was done by holding Y and Home when you turn it on. The PS4 controller emulation mode also worked (RB and home), but Steam used the Sony symbols to navigate menus instead of ABXY.