How can I make a Macbook Pro to recognise a connected mouse as a mouse?
Have you tried resetting the NVRAM?

Source:  How can I disable the trackpad when my mouse is plugged in on Lion?  

How to rest NVRAM:  https://support.apple.com/en-us/HT204063