im a few month into opengl now and im working on a small 2 player game. the first player moves with awsd, the 2nd with ijkl
and im using the glutkeyboardfunc().
my problem is now that it isnt possible to press 2 buttons simultaneous. so at the moment, if you move, and the other player presses a button you get interrupted.
how can i make it possible that both players have full controll and dont get interuppted by the other?
any ideas to solve that problem?
big thx for your help!