Are you trying to remap buttons to keyboard presses? If that's the case, and the mouse driver software isn't doing the job, I would complain to the support dept that it's not working properly.
I've had a similar experience with my mouse software recently (Asus ROG Spatha), Asus's mouse software is awful to the point where I considered taking it back, but I found a workaround at some point, even though the software is still pretty terrible.
In any case, I don't see why X-Mouse would cause you to get banned in games with two exceptions:
1. X-Mouse is patching windows DLL's in order to facilitate the functionality.
2. X-Mouse has functionality that would create some sort of advantage in multiplayer competitive gaming.