how does Open GL listen for events?, and generally, it seems that working with it is different in comparison to console
OpenGL does not listen for events. Your window manager listen for events, a simple portable window manager for OpenGL is Glut.
Types of events Glut is able to detect:
mouse click
keyboard input
mouse over
.....
GO