Demonstration of input elements handling in OpenGL window