I just have two buttons mapped
Button 1:
Make m1 a toggle modifier (when m1=0 make 1, when m1=1 make 0)
When m1=0 internal playback
When m1=1 absolute mode or what ever it is.

Button 2: same thing except on deck b and with m2