diff options
author | floooh <floooh@gmail.com> | 2014-01-06 19:31:47 +0100 |
---|---|---|
committer | floooh <floooh@gmail.com> | 2014-01-06 19:31:47 +0100 |
commit | 06e28a9693fed453d57ecf77bcc4a08a163c9de2 (patch) | |
tree | da8ad645e748f3e6f53a59091ded893730a78c5e /src/library_glut.js | |
parent | f0ce3c4f0cbe94da9a82531b189d26717b645527 (diff) |
Added support for Return and Backspace key to glut
Diffstat (limited to 'src/library_glut.js')
-rw-r--r-- | src/library_glut.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library_glut.js b/src/library_glut.js index ba4d75ab..76a52b73 100644 --- a/src/library_glut.js +++ b/src/library_glut.js @@ -126,6 +126,8 @@ var LibraryGLUT = { return keycode - 106 + 42; // *,+-./ TODO handle shift? switch (keycode) { + case 9: // tab key + case 13: // return key case 27: // escape case 32: // space case 61: // equal |