Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


glut keycodes


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Crispy   Members   -  Reputation: 556

Like
Likes
Like

Posted 07 April 2002 - 09:32 AM

glutKeyboardFunc() doesn''t seem to recognize neither the standard Windows keycodes (which is normal) nor some of the standard ASCII character set keycodes. in particular, what i''m looking for are the PgUp and PgDown keys (codes 11 and ??). similarly, any calls to GLUT_KEY_LEFT or the like don''t seem to be working. i''m a glut first-timer, so maybe it''s something I did/didn''t do. anyway - can anyone shed some light on the problem? thanks in advance, crispy

Sponsor:

#2 Anonymous Poster_Anonymous Poster_*   Guests   -  Reputation:

Likes

Posted 07 April 2002 - 11:51 AM

You need to use the glutSpecialFunc. Check for GLUT_KEY_PAGE_UP or GLUT_KEY_PAGE_DOWN. To learn more about GLUT I would recommend http://www.lighthouse3d.com/opengl/glut . There are some real good tuts there.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS