Ok after reading your OP several times to understand it, do i map most of the keys to a KB and then map them to my mouse i.e for my super or the different subs
You just have to map the buttons to a KB that XIM4 doesn't recognize otherwise. I'm not sure which buttons that would be with your mouse, but typically this would include every button other then LC, RC, Forward, Back, Scroll up/Down and the Scroll button. So all the other buttons, you probably want to assign to a keyboard. Then the XIM4 should recognize them.
how do i get it so i can keep hold of a particular mouse button then ADS and it will lower the dpi, this would be like a sniping button to help me aim
There should be two ways of accomplishing this.
1. You should be able to use two different DPI settings with your mouse software. So just assign a lower DPI to which ever button you chose for sniping.
2. If you look back a couple of pages on this thread you'll see the settings I used for Long Range sniping (page 5, I believe). You can set this up as another sub config.
However...
I would suggest option ONE, going with a secondary DPI setting for sniping if you want slower movement. The way Sub configs currently work my Long Range Sub config creates more problems than it's worth. When OBsIV gets around to addressing the way Configs work, I will update this thread if it's still relevant.