use mouse to rotate object

Right click pick up and drop the object. Wheel rotate(x,y,z), left click select rotation(x,y,z) how to do that only with the mouse?
thanks
Martin

for pickup use two sensors (hover over and right click mouse button) for the rotation I am not sure that would need python I believe. May I suggest that you use the keyboard keys xyz to chose instad?

Thanks! That was my initial idea but i would be better all controller with mouse