Found in 1 comment on Hacker News
The guys behind MouseDriver (http://www.amazon.com/MouseDriver-Chronicles-John-Lusk/dp/07...) did this.

I don't remember the details (and unfortunately I freecycled the book so I can't look it up now) but you might want to read that for yourself.

Fresh book recommendations delivered straight to your inbox every Thursday.