Custom action mapping might be in order:
Sometimes one is to make his own mouse work for himself:
I would recommend to configure the mouse so it works elsewhere as its supposed to, then force the game "behave" properly?
Whatever is required for the buttons to be properly assigned, and then post the zipped file here.
Posting the actual file text could end up finding out that there are more lines than allowed by the forum software.
And just state clearly what it does, like properly mapping buttons <that and that> to mouse <exact model> so others might help them selves as well?
FWIW I had mine files edited "by hand", the structure isn't too human, but it isn't too cryptic either?
Also, most players have their own custom configs they drag over releases fora while now.