summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2009-06-13 21:52:46 (GMT)
committer Don Pellegrino <don@drexel.edu>2009-06-13 21:52:46 (GMT)
commitf92c084a62a5aedf9197187ae5195321ad0c2838 (patch) (side-by-side diff)
tree0b81e72f8c336e1c3c4c2c15e8d8bb1db58afcc6
parente5c98bc7e3d8ff5831864c19e3bcc8e0d9cb8f53 (diff)
downloadexp005-f92c084a62a5aedf9197187ae5195321ad0c2838.zip
exp005-f92c084a62a5aedf9197187ae5195321ad0c2838.tar.gz
exp005-f92c084a62a5aedf9197187ae5195321ad0c2838.tar.bz2
Added keyboard handler.
-rw-r--r--src/view/exp004view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/exp004view.c b/src/view/exp004view.c
index 5e3b8ab..b25173e 100644
--- a/src/view/exp004view.c
+++ b/src/view/exp004view.c
@@ -1,6 +1,7 @@
#include "../controller/exp004display.h"
#include "../controller/exp004mouse.h"
#include "../controller/exp004reshape.h"
+#include "../controller/keyboard.h"
#include "../model/exp004base.h"
#include "exp004view.h"
#include <GL/glut.h>
@@ -37,6 +38,7 @@ exp004view (void)
// Callbacks (Controllers)
glutDisplayFunc (exp004display);
+ glutKeyboardFunc (keyboard);
glutMouseFunc (exp004mouse);
glutReshapeFunc (exp004reshape);

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.