Re: [Plib-users] Keyboard control
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-11-28 06:15:03
|
Kevin Glass wrote: > Is there a cool a way to handle keyboard input under plib? No - I steer clear of keyboard/mouse bindings because they would prevent you from choosing between GLUT/GTK/FLTK/whatever. > The glut > callback just gives you when a key has been pressed and not when its > been released. Aha! Not so! Gotcha! > I'd like to be able to handle both events. In GLUT 3.7, there is a key-release callback - same syntax as the key-down callback. Check out: glutKeyboardUpFunc -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |