Abstracted keyboard (threaded) events example

An example on how to put OpenGL rendering in a child thread and have main thread only poll for keys.