Did you try interaction tag? It seems as you just need values from cursor drag?
EDIT: Here is what I mean. You simply rotate as usual and use object delta to calculate degrees (didn't do that part, object delta is in radians) via Xpresso if that is what you are looking for. The object with tag stays unaffected. Interaction tag is a real hidden gem...
Interaction_tag.c4d