switching between wacom and mouse It get crazy while switching between wacom and mouse as they need different kind of button actions or say "user preferences"


  For Example in wacom i can zoom using side touch strip. So free the midlle button click for special menu like "w". But to do this i need to change preference every time i switch.


Is there any quick or automatic way to blender can find whether i am using mouse or wacom pen and change between "user preferences"

Or any other work around?
On Windows and Mac, the Control Panel for wacom in the operating system allows you to set the behavior for different applications, both for the pen buttons and the touch strip. Create a setting for blender and just remap your buttons to do what you need. 



Other trick I use is enable Emulate 3 Button Mouse That way clicking and dragging the pen while holding Alt key I can rotate the view.
CtrlAlt to zoom in and out. ShiftAlt to move sideways and up down. I've never used the mouse in blender at all...



For linux it is also possible to remap the buttons settings, but the changes are system-wide, not for specific applications.