diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-06 10:58:38 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-06 10:58:38 -0800 |
commit | dd8b36bd9640522a597bc6aeebdfd7966e87cfa1 (patch) | |
tree | b0b57922eea38f90b31a3113e0b0f6356019b12b | |
parent | 4f62d35360010a756f8a10e04e9b2a2525a7a2b8 (diff) | |
parent | a885107df7e24ba2819da0e1198382a2ab7365ae (diff) |
Merge pull request #1982 from floooh/incoming
Added missing Return and Tab keycode support to library_glut.js
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | src/library_glut.js | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -114,3 +114,4 @@ a license to everyone to use it as detailed in LICENSE.) * Vasilis Kalintiris <ehostunreach@gmail.com> * Adam C. Clifton <adam@hulkamaniac.com> * Volo Zyko <volo.zyko@gmail.com> +* Andre Weissflog <floooh@gmail.com> 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 |