From: Eero Pajarre <epajarre@ko...> - 2003-04-21 17:39:37
Freeglut on Windows (XP)
I press the 'a' key, my keyboard func gets called with parameter 'a'.
I release the key, my keyboardUp func gets called with parameter 'A'.
On "original Glut" 'a' gets passed to both functions. (And if I
rememember correctly some keys, like the numerical keyboard get
mismatches even with "original Glut")
The immediate reason for this behaviour seems to be that the two windows
messages which are used (WM_KEYUP and WM_CHAR) are sort of different
level, the other is raw and the other happens after keyboard translations
I will try to find some kind of fix and send it here, but if somebody has
done anything with windows mesaging before, help/comments would be
Get latest updates about Open Source Projects, Conferences and News.