If it were me, the first thing I would try is plugging in a wired mouse and seeing whether it is sensed and whether it works properly.
I think the kernel manages the connection to the mouse.
Also, I found this article. It might help:
https://github.com/sriemer/fix-linux-mouse