Showing mouse event in blender info panel
Finally i could find that there is an option in blender called "debug_wm" which can be enabled by typing 

bpy.app.debug_wm=True


in the python console which lets you see the those function calls linked to the mouse. Make sure that you launch blender from the terminal as the logs are written to the terminal on which blender is opened.