glutKeyboardFunc man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

UNTITLED			     LOCAL			      UNTITLED

NAME
     glutKeyboardFunc — Sets the Keyboard callback for the current window.

LIBRARY
     OpenGLUT - input

SYNOPSIS
     #include <openglut.h>

     void
     glutKeyboardFunc(void( * callback )( unsigned char key, int x, int y ));

PARAMETERS
      callback	   Client function for keyboard event.

DESCRIPTION
     This callback registration allows you to handle traditional ASCII key‐
     board input.  A general rule of thumb is that if a key has a common ASCII
     code, then OpenGLUT assigns that code to the key and calls the Keyboard
     callback  with the ASCII code in the  key	parameter.  For other keys,
     you must use glutSpecialFunc().  Not all keys can be reported by OpenG‐
     LUT.

     As a convenience, the mouse coordinates, relative to your window, are
     also returned.

     This callback is bound to the  current window  .

CAVEATS
     This function is not very international-friendly.

     Windows created via glutCreateMenuWindow() always cascade keyboard and
     mouse events to their parent.

SEE ALSO
     glutKeyboardUpFunc(3) glutSpecialFunc(3)

				     Epoch
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net