Detect mouse move without touch

im write game like luxor , and i need to move desk wich must shoot a balls, how i can detect mouse move without touch or how i can implement move of desk and shoot ?

You should hack the engine.