I can't seem to grab numpad keys with glutKeyboardFunc or glutSpecialFunc ..
Note, if I have numlock enabled or shift is held down before doing so, then they trigger glutKeyboardFunc with the ascii value for the number being pressed..
Also note, keys 1,3,7, and 9 are triggered because they are respectively correspond to End,PgDn,Home,PgUp.
Is there any way to grab 2,4,5,6,8,./Del,and the numlock key itself?
If not .. could you possibly patch freeglut to do so? :)
And as a temporary alternative .. is it somehow possible to force numlock?
And as a related note ... how about keyboard layout compatibilities? I think this is especially important as I use Dvorak and freeglut behaves as if i've entered the qwerty values. :|
Log in to post a comment.