moai/moai-dev — pull request #728 by atis-- (2013-07-18 10:17:34+00:00)
Title: A necessary switch to freeglut (multi-touch feature)

Moai uses GLUT which, according to the *freeglut* web page http://freeglut.sourceforge.net/, has not been updated in over a decade. That, by itself, may not be reason enough to switch to freeglut. However, I believe there is a **real and immediate benefit** to doing so!

Not only is freeglut a drop-in replacement for GLUT, in its later releases it adds Windows **multi touch support** (WM_TOUCH). This is great news for those who happen to have a touch sensitive monitor under Windows (and possibly other desktop systems as well). One can then develop touch-enabled applications directly on the desktop (faster prototyping).

This pull request adds code to src/host-glut that employs freeglut's new multi-touch functionality. Switching all the project files properly from GLUT over to freeglut is beyond my competence, but code-wise nothing else needs to change: **freeglut just works**.

Regards,
Atis