About a year or so ago back before I discovered detours I wrote a wrapper DLL for direct input for use in a beta game I was testing. It was trivial to inject a mouse click or any other key press for that matter. Where the cursor is, is another matter.