Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > eee00533ac83fd7ebbf9846dc6d3b77b > files > 302

Io-language-graphics-and-sound-20080330-6.fc15.i686.rpm


<HTML><HEAD><TITLE>Manpage of glutSpecialUpFunc</TITLE>
</HEAD><BODY>
<H1>glutSpecialUpFunc</H1>
Section: GLUT (3GLUT)<BR>Updated: 3.7<BR><A HREF="#index">Index</A>
<A HREF="">Return to Main Contents</A><HR>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

glutSpecialUpFunc - sets the special keyboard up (key release) callback for the current window. 
<A NAME="lbAC">&nbsp;</A>
<H2>SYNTAX</H2>

<PRE>

void glutSpecialUpFunc(void (*func)(int key, int x, int y));
</PRE>

<A NAME="lbAD">&nbsp;</A>
<H2>ARGUMENTS</H2>

<DL COMPACT>
<DT><I>func</I><DD>
The new special callback function. 
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>DESCRIPTION</H2>

glutSpecialUpFunc sets the special keyboard up (key release) callback for the current
window. The special keyboard up callback is triggered when keyboard
function or directional keys are released. The key callback parameter is a
GLUT_KEY_* constant for the special key pressed. The x and y callback
parameters indicate the mouse in window relative coordinates when the
key was pressed. When a new window is created, no special up callback is
initially registered and special key releases in the window are ignored.
Passing NULL to glutSpecialUpFunc disables the generation of special up
callbacks. 

During a special up callback, glutGetModifiers may be called to
determine the state of modifier keys when the key release generating the
callback occurred. 

To avoid the reporting of key release/press pairs due to auto
repeat, use glutIgnoreKeyRepeat to ignore auto repeated keystrokes.

An implementation should do its best to provide ways to generate all the
GLUT_KEY_* special keys. The available GLUT_KEY_* values are: 
<DL COMPACT>
<DT><B>GLUT_KEY_F1 </B>

<DD>
F1 function key. 
<DT><B>GLUT_KEY_F2 </B>

<DD>
F2 function key. 
<DT><B>GLUT_KEY_F3 </B>

<DD>
F3 function key. 
<DT><B>GLUT_KEY_F4 </B>

<DD>
F4 function key. 
<DT><B>GLUT_KEY_F5 </B>

<DD>
F5 function key. 
<DT><B>GLUT_KEY_F6 </B>

<DD>
F6 function key. 
<DT><B>GLUT_KEY_F7 </B>

<DD>
F7 function key. 
<DT><B>GLUT_KEY_F8 </B>

<DD>
F8 function key. 
<DT><B>GLUT_KEY_F9 </B>

<DD>
F9 function key. 
<DT><B>GLUT_KEY_F10 </B>

<DD>
F10 function key. 
<DT><B>GLUT_KEY_F11 </B>

<DD>
F11 function key. 
<DT><B>GLUT_KEY_F12 </B>

<DD>
F12 function key. 
<DT><B>GLUT_KEY_LEFT </B>

<DD>
Left directional key. 
<DT><B>GLUT_KEY_UP </B>

<DD>
Up directional key. 
<DT><B>GLUT_KEY_RIGHT </B>

<DD>
Right directional key. 
<DT><B>GLUT_KEY_DOWN </B>

<DD>
Down directional key. 
<DT><B>GLUT_KEY_PAGE_UP </B>

<DD>
Page up directional key. 
<DT><B>GLUT_KEY_PAGE_DOWN </B>

<DD>
Page down directional key. 
<DT><B>GLUT_KEY_HOME </B>

<DD>
Home directional key. 
<DT><B>GLUT_KEY_END </B>

<DD>
End directional key. 
<DT><B>GLUT_KEY_INSERT </B>

<DD>
Inset directional key. 
</DL>
<P>

Note that the escape, backspace, and delete keys are generated as an ASCII
character. 
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>

glutSpecialFunc,
glutKeyboardFunc, glutKeyboardUpFunc, glutMouseFunc, glutSpaceballButtonFunc, glutButtonBoxFunc, glutTabletButtonFunc, glutGetModifiers, glutIgnoreKeyRepeat
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>

Mark J. Kilgard (<A HREF="mailto:mjk@nvidia.com">mjk@nvidia.com</A>)
<P>

<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNTAX</A><DD>
<DT><A HREF="#lbAD">ARGUMENTS</A><DD>
<DT><A HREF="#lbAE">DESCRIPTION</A><DD>
<DT><A HREF="#lbAF">SEE ALSO</A><DD>
<DT><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="">man2html</A>,
using the manual pages.<BR>
Time: 19:05:09 GMT, September 15, 2003
</BODY>
</HTML>