Bluetooth mouse rapidly reconnecting and disconnecting.

My Razer Basilisk X Hyperspeed mouse rapidly connects and disconnects. Looking at the log it seems that it is being misidentified as a keyboard though I do not know if that is the cause.

There were issues with bluetooth with the 5.15.x kernels. The bug report is here:

For me the 5.15.10 kernel fixed the issues. Which kernel are you using?