Glut work with repeat, so the key is not pressed, but is repeating. Glut have two functions that disable repeat, glutSetKeyRepeat and glutIgnoreKeyRepeat, but both turn the controls bad-responsible. Postpone this task to after change the controls library.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Glut work with repeat, so the key is not pressed, but is repeating. Glut have two functions that disable repeat, glutSetKeyRepeat and glutIgnoreKeyRepeat, but both turn the controls bad-responsible. Postpone this task to after change the controls library.