From: David <ab...@so...> - 2005-12-27 21:42:19
|
Hello, I'm still working on the rubygl bindings and I have a question about multiple keys. I have used all functions glutKeyboardFunc, glutSpecialFunc, glutSpecialUpFunc and glutKeyboardUpFunc in combination with glutIgnoreKeyRepeat and glutSetKeyRepeat but multiple keys doesn't work ok. This is what I get: Up key down -> event Left key down -> _no_ event Left key up -> event Left key down -> event Left key up > event Up key up -> event Do you know why this behaviour occurs? And how I can use multiple keys at the same time with or without key repeat? Thanks, David ps, I asked the devs of my distribution (Archlinux) and with the new xorg they will have freeglut as default instead of glut |