1
0
Fork 0

- update comment: the '*'-key is no longer hard-coded

- add commented out key log command, which helps with finding keycodes
This commit is contained in:
mfranz 2008-04-20 19:03:16 +00:00
parent 88d8169764
commit 367d68ca9b

View file

@ -2,8 +2,6 @@
<!-- <!--
Key binding definitions. Key binding definitions.
The *-key in fg/osg/osgviewer is handled in the C++ code.
Regular keycodes go up to 255; special keys start at 256, and can be Regular keycodes go up to 255; special keys start at 256, and can be
calculated by adding 256 to the GLUT key value in glut.h. calculated by adding 256 to the GLUT key value in glut.h.
@ -34,6 +32,9 @@ top down before the key bindings are parsed.
space_release = func { controls.ptt(0) } space_release = func { controls.ptt(0) }
} }
} }
## uncomment this line to get keycode reports to the terminal window
setlistener("devices/status/keyboard/event", func(n) debug.dump(n.getValues()));
</script> </script>
</nasal> </nasal>