<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
<font face="serif">Guys and Gals -- I have created a modified
version of the mousekeys repository that does all of the window
mapping that we have been talking about in in class. To look at
it you need to clone the repository...</font></p>
<p><font face="serif"><br>
</font></p>
<p><font face="serif">git clone
<a class="moz-txt-link-freetext" href="https://github.com/drlbs/mousekeys.git">https://github.com/drlbs/mousekeys.git</a></font></p>
<p><font face="serif"><br>
</font></p>
<p><font face="serif">And then after you cd to the mousekeys
directory checkout the coordshift branch</font></p>
<p><font face="serif"><br>
</font></p>
<p><font face="serif">cd mousekeys</font></p>
<p><font face="serif">git checkout coordshift</font></p>
<p><font face="serif"><br>
</font></p>
<p><font face="serif">Then look at the interact.c code. All of the
meaningful stuff is in the drawBox method (lines 95 to 130).
To explicitly show how the mapping is working I print out out
both the window and world coordinates in the console. Let me
know if you have any questions. </font><br>
</p>
<br>
<pre class="moz-signature" cols="72">--
Andrew J. Pounds, Ph.D. (<a class="moz-txt-link-abbreviated" href="mailto:pounds_aj@mercer.edu">pounds_aj@mercer.edu</a>)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
<a class="moz-txt-link-freetext" href="http://faculty.mercer.edu/pounds_aj">http://faculty.mercer.edu/pounds_aj</a>
</pre>
</body>
</html>