Under OpenGL/GLUT, the functions KeyboardFunc & SpecialFunc should return the value of the last pressed key.
When I check GLUT sample source code over the net, I see the value 27 for the EscapeKey. Same for MorphOS/GLUT samples. But under MorphOS, when I press "escape" ... no value is returned in the KeyboardFunc nor SpecialFunc ... The same source code run perfectly under AmigaOS 4.x ... Escape key return 27 ...