OpenGl, GLUT, KeyboardFunc & SpecialFunc
  • Caterpillar
    Caterpillar
    AmiDARK
    Posts: 38 from 2011/10/29
    From: South France
    Hi :)

    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 ...

    Does anyone have any clue about this ... bug ?

    Bye,
    AmiDARK
  • »24.01.12 - 15:59
    Profile Visit Website