I'm making a cheap midi controller from an old mouse. (Mac. Making it a footswitch for ableton live).

I'm using the hid object and it recognises my modded mouse.
But while writing the patch for the modded mouse behaves as a mouse (right clicks, left clicks, ...). Pretty normal, but is it possible to ignore the original behaviour?
Is it possible to make Pd the only program accepting the hid inpulses while all other software ignores the device?

I found an application called junxion that does this kind of stuff, but it's expensive and I don't know if it's able to ignore the original behaviour of the device.