GameSir-X2 Type-C not fully recognised by Realme 8 PRO

The game controller only gets recognised when the power is plugged. Android 11 is fully updated on this phone. Also, the latest firmware has been updated.