Re: [Plib-users] Keyboard events - KEYUP / KEYDOWN
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2003-08-26 03:49:27
|
Adia wrote: > I=92m converting a program from Win32 interface to PLIB and glut has=20 > terrible keyboard message handling. I would like to know your suggestio= n=20 > on how to get a correct way to get it work because I actually spend som= e=20 > hours and well the Keyup events does not really work so therefore the=20 > value of Keydown go as long as you press another key and not has its=20 > unpress=85 First, this is not a PLIB problem. PLIB never reads the keyboard - you do that - and pass the resulting commands to PLIB if you want to. Second, I'm not 100% sure your problem is GLUT related either. You are most likely facing a fundamental hardware issue with PC keyboards. I wrote a FAQ about it here: http://www.sjbaker.org/steve/omniv/keyboards_are_evil.html I hope this is of some help. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++= -----END GEEK CODE BLOCK----- |