Would something like this work?

 

http://tweaklibrary.com/Hardware/Input_Output-Device/20/Enable-Active-Window-Tracking-to-Mouse-Movements/11079/