aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library_glut.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library_glut.js b/src/library_glut.js
index 363f417f..13163c23 100644
--- a/src/library_glut.js
+++ b/src/library_glut.js
@@ -74,11 +74,11 @@ var LibraryGLUT = {
/* The exact list is soooo hard to find in a canonical place! */
if (48 <= keycode && keycode <= 57)
- return keycode; // numeric
+ return keycode; // numeric TODO handle shift?
if (65 <= keycode && keycode <= 90)
return event['shiftKey'] ? keycode : keycode + 32;
if (106 <= keycode && keycode <= 111)
- return keycode - 106 + 42; // *,+-./
+ return keycode - 106 + 42; // *,+-./ TODO handle shift?
switch (keycode) {
case 27: // escape