Roll,yaw and pithc sphere rotation

My purpose is to create a shere rotation in roll pith yaw direction using mouse dragging.I’d like to create a sphere that works as a mouse ball ; dragging the pointer on it it has to rotate.

Any idea?



Asking twice won’t bring more answers.