I am looking for non windows specific way to get keys and use them to move the camera. I also want a way to use the mouse for movement like in a FPS style game (non windows specific).


If you mean what I think you mean then you want to use the glutKeyboardFunc(void function(unsigned char, int x, int y); in your main function. If you look in your glut.h file you can find a bunch of keyboard and mouse functions that you can search to find how to use them.

Thanks, I cant believe I didn’t think to look in there :stuck_out_tongue: