Apply Triggers for Specific Devices

Hi,

Is it possible to apply specific mouse triggers for specific devices only?

I have my mouse button 3 and 4 set to some complex actions but I only want those to run on my logitech lift. I would rather use some other actions on my other mice.

Thanks