Skip to content

Commit 06e28a9

Browse files
committed
Added support for Return and Backspace key to glut
1 parent f0ce3c4 commit 06e28a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/library_glut.js

+2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ var LibraryGLUT = {
126126
return keycode - 106 + 42; // *,+-./ TODO handle shift?
127127

128128
switch (keycode) {
129+
case 9: // tab key
130+
case 13: // return key
129131
case 27: // escape
130132
case 32: // space
131133
case 61: // equal

0 commit comments

Comments
 (0)